Practice Cloud-Native Apps Questions Now
Start a timed practice session focusing on Designing Scalable, Available, and Reliable Cloud-Native Applications topics from the PCD question bank.
Start PCD Practice Quiz →PCD Cloud-Native Apps Question Bank (5 Questions)
Browse all 5 practice questions covering Designing Scalable, Available, and Reliable Cloud-Native Applications for the PCD certification exam. Each question includes the full answer and a detailed explanation to help you understand the concepts.
- Question 1Designing Scalable, Available, and Reliable Cloud-Native Applications
According to twelve-factor app methodology, how should a Cloud Run service access its database connection string?
Show Answer & Explanation
Correct Answer: BExplanation:Factor III (Config): store config in environment, not code. Cloud Run: --set-env-vars or --set-secrets (Secret Manager). Different environments (dev/staging/prod) use different config without code changes. Secret Manager for sensitive values (credentials), env vars for non-sensitive config (URLs, feature flags).
- Question 2Designing Scalable, Available, and Reliable Cloud-Native Applications
How should you design a Cloud Run service to process events from multiple Google Cloud sources?
Show Answer & Explanation
Correct Answer: BExplanation:Eventarc: unified event routing to Cloud Run. Sources: direct events (Cloud Storage, BigQuery, etc.), Pub/Sub topics, and 130+ sources via Audit Logs. CloudEvents format (standard). Create trigger: gcloud eventarc triggers create TRIGGER --destination-run-service=SERVICE --event-filters=type=EVENT_TYPE. One service handles multiple event types.
- Question 3Managing Application Performance
What observability stack should you implement for a microservices application on Cloud Run?
Show Answer & Explanation
Correct Answer: BExplanation:Observability three pillars: Logs (Cloud Logging — structured JSON, severity, trace correlation), Metrics (Cloud Monitoring — latency, error rate, throughput, custom metrics), Traces (Cloud Trace — distributed latency breakdown across services). Correlate: same trace ID across all three. Dashboards: golden signals. Alerts: SLO burn rate. Error Reporting: exception grouping.
- Question 4Designing Scalable, Available, and Reliable Cloud-Native Applications
When should you implement a service mesh (Anthos Service Mesh) for your microservices on GKE?
Show Answer & Explanation
Correct Answer: BExplanation:Service mesh benefits: mTLS (automatic encryption + identity between all services), traffic management (canary routing, retries, timeouts, circuit breaking — configured declaratively, no code changes), observability (automatic distributed tracing, per-service metrics, access logs). Trade-off: complexity, resource overhead. Use when: >5 services, security requirements, complex traffic patterns, need observability.
- Question 5Building and Testing Applications
How should you implement chaos engineering for your Cloud Run and GKE services?
Show Answer & Explanation
Correct Answer: BExplanation:Chaos engineering: controlled experiments to verify resilience. GKE: Chaos Mesh or Litmus (inject pod failures, network delays, CPU stress). Service mesh: Istio fault injection (add latency, return errors for a percentage of requests). Verify: circuit breakers trip, retries work, fallbacks activate, alerts fire. Start in staging, graduate to production with blast radius limits.
Key Cloud-Native Apps Concepts for PCD
PCD Cloud-Native Apps Exam Tips
Designing Scalable, Available, and Reliable Cloud-Native Applications questions in PCD are typically scenario-based. Focus on service-level decision making aligned to official exam objectives. Priority concepts: microservices, event-driven, scalable, cloud-native, twelve-factor, cloud run.
What PCD Expects
- Anchor your answer in select the most practical, secure, and scalable answer for the stated scenario.
- Cloud-Native Apps scenarios for PCD are frequently mapped to Domain 1 (~25%), so read the objective carefully before picking controls or architecture.
- Expect multi-service scenarios where Cloud-Native Apps interacts with IAM, networking, storage, or observability patterns rather than appearing as an isolated service question.
- When two options are both technically valid, prefer the choice that best aligns with the exam's operational scope (Professional) and managed-service best practices.
High-Value Cloud-Native Apps Concepts
- Know the core Cloud-Native Apps building blocks cold: microservices, event-driven, scalable, cloud-native.
- Review the edge-case features and limits for twelve-factor, cloud run; these details are commonly used to differentiate answer choices.
- Practice service-integration reasoning: how Cloud-Native Apps pairs with Building & Testing, Deploying in real deployment patterns.
- For PCD, explain why the chosen Cloud-Native Apps design meets reliability, security, and cost expectations better than the alternatives.
Common PCD Traps
- Watch for answers that partially solve the requirement but miss operational constraints.
- Questions in Designing Cloud-Native Applications often include distractors that look correct for Cloud-Native Apps but violate least-privilege, durability, or availability requirements.
- Avoid picking options purely by feature name; validate data path, failure handling, and governance impact before answering.
- If the prompt hints at automation or repeatability, eliminate manual-only operational answers first.
Fast Review Checklist
- Can you compare at least two Cloud-Native Apps implementation paths and justify which one best fits the scenario?
- Can you map the chosen answer back to Designing Cloud-Native Applications (~25%) outcomes for PCD?
- Can you explain security and access boundaries for Cloud-Native Apps without relying on default-open assumptions?
- Can you describe how Cloud-Native Apps integrates with Building & Testing and Deploying during failure, scaling, and monitoring events?