Reliability & DR
High availability, disaster recovery, and failover strategies
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 have a set of Cloud Run services. You want to control access so that only specific authorized users can invoke them. You want to use a centralized policy. What do you use?
- ✓ Identity-Aware Proxy (IAP) with an External Load Balancer.
- ○ VPC Service Controls.
- ○ Cloud Armor.
- ○ Allow unauthenticated, use internal logic.
You're paying for Cloud Interconnect capacity that's underutilized. Traffic uses only 20% of provisioned bandwidth. What optimization reduces costs?
- ✓ Downsize the Interconnect capacity or consider Partner Interconnect for lower bandwidth needs.
- ○ Increase Interconnect capacity.
- ○ Add more Interconnect attachments.
- ○ Interconnect capacity cannot be changed.
Your Spark job on Dataproc spills to disk frequently, slowing execution. What optimization helps?
- ✓ Increase executor memory or optimize partitioning to reduce shuffle size.
- ○ Reduce memory further.
- ○ Disk spill is optimal.
- ○ Use smaller datasets only.
Mountkirk Games wants to minimize latency for their First Person Shooter. They found that traversing the public internet to reach the GCP region is adding jitter. They want to use Google's backbone. What load balancer / network tier is default and recommended?
- ✓ Premium Tier (passes traffic to Google edge PoP).
- ○ Standard Tier.
- ○ Carrier Peering.
- ○ Direct Peering.
A company processes sensitive financial transactions and wants to ensure developers can test code in dev/test environments without accessing production data. What data management strategy should you implement?
- ○ Copy production database to dev/test weekly.
- ✓ Use Sensitive Data Protection (DLP) to de-identify production data before copying to dev/test.
- ○ Use the same database with different schemas.
- ○ Generate synthetic test data only.
You have a legacy monolithic application that cannot be containerized yet. You want to maximize reliability on Compute Engine. Which TWO features should you use?
- ✓ Managed Instance Group (MIG) with Autohealing.
- ✓ Regional Persistent Disks.
- ○ Preemptible instances.
- ○ Sole-tenant nodes.
- ○ Global Load Balancer.