




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Question 1. Which design pattern is most appropriate for ensuring high availability of a stateful web application across multiple regions? A) Active‑Passive failover with DNS routing B) Single‑region autoscaling group C) Multi‑zone load balancer with health checks D) Global load balancer with session‑affinity Answer: C Explanation: A multi‑zone load balancer distributes traffic among healthy instances in different zones, providing HA within a region; combined with global load balancing it spans regions.
Question 2. When evaluating a cloud‑native solution versus a hybrid approach, which factor most directly influences the total cost of ownership (TCO) for a data‑intensive workload? A) Number of API calls B) Data egress charges C) Number of IAM roles D) Frequency of code deployments Answer: B Explanation: Data egress (transfer out of the cloud) can become a major cost driver for large datasets, affecting TCO more than the other listed factors.
Question 3. In a microservices architecture, which service discovery method minimizes latency and reduces dependency on external DNS? A) Client‑side load balancing with a service mesh B) Static IP address configuration C) Centralized DNS server per VPC D) Round‑robin DNS entries Answer: A Explanation: A service mesh enables client‑side discovery and load balancing, keeping traffic within the mesh and avoiding DNS round trips.
Question 4. Which disaster‑recovery (DR) metric defines the maximum acceptable amount of data loss? A) RTO B) RPO C) SLA D) MTTR Answer: B Explanation: Recovery Point Objective (RPO) specifies the oldest data that can be recovered, i.e., permissible data loss.
Question 7. When choosing a database for a globally distributed, low‑latency user profile store, which type is most appropriate? A) Relational (SQL) with strong ACID guarantees B) NoSQL key‑value store with multi‑region replication C) On‑premises Oracle database D) Data warehouse for analytical queries Answer: B Explanation: A globally replicated NoSQL key‑value store provides low‑latency reads/writes and eventual consistency suitable for profile data.
Question 8. Which storage class is optimal for infrequently accessed archival data that must comply with regulatory retention periods? A) Hot tier object storage B) Cool tier object storage C) Archive tier object storage D) Standard block storage Answer: C Explanation: Archive tier offers the lowest cost for data accessed rarely, aligning with long‑term retention requirements.
Question 9. In VPC design, what is the primary advantage of using a single, large CIDR block with subnet segmentation versus multiple disjoint CIDRs? A) Simplifies IP address management and routing B) Enables overlapping IP ranges across VPCs C) Reduces the number of NAT gateways needed D) Improves network security by isolation Answer: A Explanation: A single CIDR block makes planning and routing tables simpler; subnets can be carved out without complex inter‑VPC routing.
Question 10. Which connectivity option provides the lowest latency and highest throughput for a private on‑premises data center linking to a cloud provider? A) Site‑to‑site VPN over the public internet B) Direct Connect / Interconnect dedicated circuit C) Cloud‑based NAT gateway D) Public IP peering Answer: B Explanation: Dedicated Direct Connect or Interconnect circuits bypass the public internet, delivering lower latency and higher bandwidth.
Question 13. In Terraform, what feature enables safe collaboration on infrastructure by locking the state file during updates? A) Taint command B) Remote backend with state locking (e.g., GCS + DynamoDB) C) Plan output file D) Variable interpolation Answer: B Explanation: Remote backends often provide state locking mechanisms that prevent simultaneous modifications, ensuring consistency.
Question 14. Which managed instance group (MIG) feature automatically replaces unhealthy instances based on health‑check results? A) Autoscaling policy B) Rolling update policy C) Instance recreation policy D) Auto‑healing Answer: D Explanation: Auto‑healing monitors health checks and recreates instances that fail, maintaining group health.
Question 15. When configuring a Kubernetes cluster for a stateful database workload, which storage option ensures data persists across pod restarts? A) EmptyDir volume B) HostPath volume C) PersistentVolumeClaim with CSI driver D) ConfigMap Answer: C Explanation: PVCs backed by a CSI driver provision durable storage that survives pod restarts and rescheduling.
Question 16. For cross‑region data durability, which storage configuration should be used? A) Single‑region bucket with versioning B) Multi‑region bucket with lifecycle rules C) Cross‑Region Replication (CRR) enabled bucket D) Local SSD attached to VM Answer: C Explanation: CRR automatically copies objects to another region, providing resilience against regional failures.
Question 19. Which encryption method is managed by the cloud provider and requires no customer‑supplied keys? A) Customer‑Managed Encryption Keys (CMEK) B) Customer‑Supplied Encryption Keys (CSEK) C) Provider‑Managed Encryption (default) D) Hardware Security Module (HSM) encryption Answer: C Explanation: Provider‑managed encryption automatically encrypts data at rest without customer key involvement.
Question 20. To protect sensitive data in logs before storage, which service should be used? A) Cloud Logging with default settings B) Data Loss Prevention (DLP) API for de‑identification C) Cloud IAM policies only D) VPC firewall rules Answer: B Explanation: DLP can scan and redact or mask sensitive fields before logs are persisted.
Question 21. Which network security component operates at the subnet level and controls inbound/outbound traffic based on IP and port? A) Security Group B) Network ACL (Access Control List) C) Firewall rule D) VPN tunnel Answer: B Explanation: Network ACLs are stateless subnet‑level controls applied to traffic regardless of instance state.
Question 22. Which service offers protection against layer‑7 attacks such as SQL injection for web applications? A) Cloud Armor (network‑level) B) Identity‑Aware Proxy (IAP) C) Web Application Firewall (WAF) integrated with Cloud Armor D) VPC Service Controls Answer: C Explanation: A WAF inspects HTTP traffic for application‑level threats, complementing network‑level DDoS defense.
Question 25. Which cost‑optimization option provides the deepest discount for steady‑state workloads with a one‑year commitment? A) Preemptible/Spot instances B) Savings Plans (commit to spend) C) Reserved instances (one‑year term) D) Autoscaling groups Answer: C Explanation: Reserved instances lock in capacity for a year, offering up to 70% discount compared to on‑demand pricing.
Question 26. To monitor SLA compliance, which metric should be defined as a Service Level Indicator (SLI)? A) Number of deployed services B) 99.9% request latency ≤ 200 ms C) Total cost of ownership D) Number of IAM users Answer: B Explanation: An SLI quantifies a performance attribute (e.g., latency) that can be measured against an SLO.
Question 27. Which practice is essential for chaos engineering in a production environment? A) Randomly deleting VMs without monitoring B) Introducing controlled failures and measuring system resilience C) Disabling all logging to reduce overhead D) Scaling down all instances to zero Answer: B Explanation: Chaos engineering deliberately injects failures to validate that the system can recover as designed.
Question 28. During a lift‑and‑shift migration, which data transfer method is most suitable for moving petabytes of data with limited network bandwidth? A. Direct upload over HTTPS B. Transfer Appliance (physical device) C. Streaming via Pub/Sub D. VPN tunnel Answer: B Explanation: A physical Transfer Appliance can ship large volumes of data quickly without saturating limited WAN links.
Question 31. In a multi‑tenant SaaS design, which isolation method provides the strongest security guarantee? A) Shared database schema with tenant_id column B) Separate databases per tenant C) Separate VPCs per tenant D) Namespace isolation inside a Kubernetes cluster Answer: B Explanation: Separate databases prevent cross‑tenant data leakage at the storage level, offering the highest isolation.
Question 32. Which of the following best describes the purpose of a “warm” storage tier? A) Immediate access, high‑performance storage B) Infrequent access with moderate retrieval latency C) Long‑term archival with months of retrieval time D) Temporary cache for compute instances Answer: B Explanation: Warm (or cool) tier balances cost and access speed for data accessed less often than hot data.
Question 33. When using a serverless container service, which scaling metric is most commonly used to trigger instance creation? A) CPU utilization B) Number of VMs in the cluster C) Number of active network ports D) Disk I/O queue length Answer: A Explanation: Serverless containers typically scale based on CPU (or request count) to match workload demand.
Question 34. Which IAM principle ensures that a service account can only read from a specific bucket and write to a logging bucket? A) Role inheritance B) Principle of least privilege C) Default service account permissions D) Multi‑factor authentication Answer: B Explanation: Assigning only the necessary read and write permissions implements least privilege.
Question 37. In Terraform, which command generates an execution plan without applying changes? A) terraform apply B) terraform plan C) terraform destroy D) terraform init Answer: B Explanation: terraform plan shows what actions would be taken, allowing review before execution.
Question 38. Which storage encryption option uses a hardware security module that you control? A) Provider‑managed keys B) Customer‑Managed Encryption Keys (CMEK) stored in Cloud KMS C) Customer‑Supplied Encryption Keys (CSEK) D) Transparent Data Encryption (TDE) Answer: C Explanation: CSEK lets you generate and supply your own keys, often stored in an HSM you manage.
Question 39. Which of the following is a primary benefit of using a service mesh for inter‑service communication? A) Reduces need for load balancers B) Provides built‑in encryption, retries, and observability without code changes C) Eliminates the need for DNS D) Guarantees zero latency Answer: B Explanation: Service meshes inject sidecars that handle security, resilience, and telemetry transparently.
Question 40. Which billing alert configuration helps prevent unexpected cost spikes due to runaway compute resources? A) Alert when total storage exceeds 1 TB B) Alert when CPU usage is below 10% for 24 h C) Alert when spend exceeds 80% of monthly budget D) Alert when number of IAM users > 100 Answer: C Explanation: Spending alerts trigger when costs approach the budget, allowing corrective actions before overruns.