Managing & Provisioning

Infrastructure management, deployment, and operations

1

Set 1

20 questions • ~25 min

Start Set 1
2

Set 2

20 questions • ~25 min

Start Set 2
3

Set 3

20 questions • ~25 min

Start Set 3
4

Set 4

20 questions • ~25 min

Start Set 4
5

Set 5

20 questions • ~25 min

Start Set 5
6

Set 6

20 questions • ~25 min

Start Set 6
7

Set 7

20 questions • ~25 min

Start Set 7
8

Set 8

20 questions • ~25 min

Start Set 8
9

Set 9

20 questions • ~25 min

Start Set 9
10

Set 10

20 questions • ~25 min

Start Set 10

All Questions

200 questions • Flexible time

Start All

Quick Drill

15 questions • ~15 min

Quick Drill
Choose Different Domain

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.

Question 1 General Choose 3

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.
Answer: A. Cloud Build for building container images. | B. Artifact Registry for storing and scanning images. | C. Binary Authorization for enforcing deployment policies.
Cloud Build builds the images, Artifact Registry stores and scans images, and Binary Authorization enforces attestation policies ensuring only signed/approved images are deployed to GKE.
Question 2 General

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.
Answer: A. Cloud Scheduler to trigger a Cloud Run job or Cloud Function.
Cloud Scheduler triggers serverless executions on a schedule. Cloud Run Jobs or Cloud Functions scale to zero, avoiding costs when not running.
Question 3 General

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.
Answer: B. Vertex AI Workbench managed notebooks.
Vertex AI Workbench provides managed Jupyter notebook instances with pre-installed ML frameworks, easy GPU attachment, and integration with other Vertex AI services.
Question 4 General

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.
Answer: B. Compute Engine with Spot VMs.
Spot VMs offer 60-91% discounts and are ideal for batch, fault-tolerant workloads that can handle interruptions. Video transcoding fits perfectly as jobs can be checkpointed and resumed.
Question 5 General

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.
Answer: A. PriorityClasses to assign higher priority to critical pods.
PriorityClasses allow marking critical pods with higher priority, ensuring they're scheduled first and can trigger eviction of lower-priority pods if needed.
Question 6 General

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.
Answer: A. Use JSON functions (JSON_EXTRACT, JSON_VALUE) or UNNEST for repeated fields.
BigQuery's JSON functions extract data from JSON columns. UNNEST handles repeated/nested fields, enabling querying of complex JSON structures.

Open the full GCP PCA question-and-answer guide