Case Studies
Real-world scenario-based questions like EHR Healthcare & Mountkirk Games
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 are using Transfer Appliance to migrate data. You have received the appliance, copied data, and shipped it back. Where does the data end up?
- ✓ A Cloud Storage Bucket you specified.
- ○ Flexible Compute Engine Disk.
- ○ Google Drive.
- ○ A new Bucket created by Google.
You notice that a Dataflow job is running slowly. The pipeline has many stages, and you want to identify which stage is the bottleneck. What should you check?
- ✓ View the Dataflow job graph in the Cloud Console to see per-stage processing time and throughput.
- ○ Check Cloud Logging for Dataflow logs.
- ○ Use Cloud Trace.
- ○ Increase worker count without investigation.
Your company wants to migrate a legacy monolithic application to Google Cloud. The application has tight coupling between components and uses file-based configuration. The migration timeline is 3 months. What migration strategy should you recommend?
- ○ Refactor the application into microservices before migration.
- ✓ Lift and shift to Compute Engine, then gradually refactor.
- ○ Rewrite the entire application using Cloud Run.
- ○ Migrate to App Engine Standard immediately.
You have a Terraform module that provisions a Cloud Storage bucket. You want to prevent accidental deletion of the bucket even if terraform destroy is run. What should you add to the resource?
- ✓ Add lifecycle { prevent_destroy = true } to the bucket resource.
- ○ Terraform cannot prevent resource deletion.
- ○ Use Cloud Console deletion protection only.
- ○ Manually backup everything before each terraform run.
Your data pipeline uses Dataflow jobs that run daily for 2 hours. Which TWO optimizations reduce costs?
- ✓ Use Spot VMs (formerly Preemptible VMs) for Dataflow workers.
- ✓ Right-size worker machine types based on job requirements.
- ○ Run jobs continuously 24/7.
- ○ Use the largest machine types available.
- ○ Disable autoscaling.
Your Cloud Run service is consuming excessive memory and crashing. You need to identify which functions are allocating the most memory. What tool should you use?
- ✓ Cloud Profiler to analyze memory allocation.
- ○ Cloud Trace for memory tracking.
- ○ Cloud Logging to read crash logs.
- ○ Cloud Monitoring for memory metrics.