Managing & Provisioning
Infrastructure management, deployment, and operations
Sample GCP PCA questions with explanations
These six general GCP PCA questions come from the full practice bank; they are not filtered to the selected domain. Review the answers and explanations for cross-domain practice, then choose a focused set above.
You're designing a CI/CD pipeline for containerized applications. The pipeline must build images, scan for vulnerabilities, and deploy only signed images to production GKE. Which THREE services should you use?
- ✓ Cloud Build for building container images.
- ✓ Artifact Registry for storing and scanning images.
- ✓ Binary Authorization for enforcing deployment policies.
- ○ Container Registry (deprecated) for image storage.
- ○ Cloud Deploy for manual deployment approvals.
You need to run a cron job that executes daily at 3 AM to clean up old data. The job should run serverless and scale to zero when not executing. What should you use?
- ✓ Cloud Scheduler to trigger a Cloud Run job or Cloud Function.
- ○ Compute Engine instance running cron.
- ○ GKE CronJob with always-on cluster.
- ○ Manual execution daily.
A data science team needs a collaborative environment with Jupyter notebooks, pre-installed ML libraries, and access to GPUs for experimentation. The environment should require minimal setup. What should you provision?
- ○ Compute Engine instances with manual setup.
- ✓ Vertex AI Workbench managed notebooks.
- ○ Cloud Shell with persistent disk.
- ○ GKE cluster with JupyterHub.
A media company needs to transcode thousands of video files uploaded daily. The processing can take 10 minutes to 2 hours per video. The workload is fault-tolerant and can be interrupted. What compute solution minimizes cost?
- ○ Cloud Run with max instances set to 100.
- ✓ Compute Engine with Spot VMs.
- ○ GKE Autopilot with standard nodes.
- ○ App Engine Flexible with automatic scaling.
You need to ensure that a specific critical workload always has available resources on your GKE cluster, even during high utilization. What Kubernetes feature should you use?
- ✓ PriorityClasses to assign higher priority to critical pods.
- ○ Use DaemonSets for critical workloads.
- ○ Don't set any resource requests.
- ○ Deploy to a separate namespace.
You need to transform semi-structured JSON data in BigQuery. Some fields are nested multiple levels deep. What approach works?
- ✓ Use JSON functions (JSON_EXTRACT, JSON_VALUE) or UNNEST for repeated fields.
- ○ JSON cannot be queried.
- ○ Flatten all JSON manually before loading.
- ○ Use only STRING operations.