Designing & Planning
Architecture design, solution planning, and requirements analysis
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 building a RAG (Retrieval-Augmented Generation) system. What component stores and retrieves relevant document chunks based on semantic similarity?
- ✓ Vector database (like Vertex AI Vector Search or AlloyDB with pgvector).
- ○ Cloud SQL relational tables.
- ○ Cloud Storage buckets.
- ○ Pub/Sub topics.
Your Cloud Run service connects to Firestore. You are seeing high latency on the 'Cold Start'. Which TWO GenAI/App optimizations can reduce perceived latency for the user?
- ○ Turn on 'CPU Boost' in Cloud Run.
- ✓ Use Min-Instances > 0.
- ✓ Streaming responses (stream=True) for LLM output.
- ○ Use a larger container image.
- ○ Increase the timeout.
You are archiving regulatory data. It must be kept for 7 years. It will likely never be accessed again unless there is an audit. Which storage class offers the lowest price for this use case?
- ✓ Archive Storage.
- ○ Coldline Storage.
- ○ Nearline Storage.
- ○ Standard Storage.
You're designing a microservices architecture for an e-commerce platform. Services need to communicate asynchronously, handle traffic spikes during sales events, and ensure messages are not lost. Which TWO services should be part of your design?
- ✓ Pub/Sub for asynchronous messaging.
- ○ HTTP REST APIs with Cloud Run.
- ✓ Cloud Tasks for guaranteed task execution.
- ○ Cloud Storage for message passing.
- ○ Memorystore for temporary message storage.
You're optimizing inference costs for a deployed model. Which TWO techniques help reduce costs?
- ✓ Model quantization to reduce memory and compute requirements.
- ✓ Batch prediction for non-real-time workloads.
- ○ Use largest GPU available regardless of need.
- ○ Disable autoscaling.
- ○ Increase replica count permanently.
Finance wants a detailed breakdown of costs by service, project, and SKU for the past year. What's the best data source for custom cost analysis?
- ✓ Export billing data to BigQuery and write SQL queries for custom reports.
- ○ Use the Cloud Console billing page only.
- ○ Request invoices from Google.
- ○ Estimate costs manually.