Docsity

Google Cloud Professional Cloud Architect — Comprehensive Practice Exam & Study Guide 20, Exams of Computer Science

Toggle sidebar
bg1
Google Cloud Professional Cloud Architect —
Comprehensive Practice Exam & Study Guide
2027 | Updated Questions, Detailed
Answers, Explanations & Comprehensive
Rationales
1. A multinational company is migrating a customer-facing
application to Google Cloud. The application must
remain available if an entire region becomes unavailable,
while minimizing operational overhead. The database
must support strong consistency for transactional
workloads. Which architecture is MOST appropriate?
A. Single-region deployment with regional persistent disks
B. Multi-zone deployment with Cloud SQL using a single
regional instance
C. Multi-region application deployment with a globally
distributed database supporting strong consistency
D. Single-zone deployment with periodic database exports to
Cloud Storage
C. Multi-region application deployment with a globally
distributed database supporting strong consistency
Rationale: A multi-region application architecture provides
resilience against regional failure, while a globally distributed
database designed for strong consistency can maintain
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43

Partial preview of the text

Download Google Cloud Professional Cloud Architect — Comprehensive Practice Exam & Study Guide 20 and more Exams Computer Science in PDF only on Docsity!

Google Cloud Professional Cloud Architect —

Comprehensive Practice Exam & Study Guide

2027 | Updated Questions, Detailed

Answers, Explanations & Comprehensive

Rationales

  1. A multinational company is migrating a customer-facing application to Google Cloud. The application must remain available if an entire region becomes unavailable, while minimizing operational overhead. The database must support strong consistency for transactional workloads. Which architecture is MOST appropriate? A. Single-region deployment with regional persistent disks B. Multi-zone deployment with Cloud SQL using a single regional instance C. Multi-region application deployment with a globally distributed database supporting strong consistency D. Single-zone deployment with periodic database exports to Cloud Storage C. Multi-region application deployment with a globally distributed database supporting strong consistency Rationale: A multi-region application architecture provides resilience against regional failure, while a globally distributed database designed for strong consistency can maintain

transactional correctness across regions. A single-region or single-zone design cannot provide the same regional disaster tolerance, and periodic exports introduce significant recovery- point and recovery-time gaps.

  1. A company runs a stateless HTTP application on Compute Engine. Traffic varies from 500 requests per minute to 50,000 requests per minute. The company wants automatic scaling and does not want to manage individual virtual machines. Which solution BEST meets these requirements? A. Managed instance group with manually configured autoscaling B. Cloud Run with automatic scaling C. Sole-tenant nodes with scheduled VM creation D. Compute Engine instances with static external IP addresses B. Cloud Run with automatic scaling Rationale: Cloud Run is designed for stateless containerized HTTP workloads and automatically scales instances based on incoming demand. It removes much of the infrastructure- management burden associated with Compute Engine. A managed instance group can scale automatically, but the company would still manage VM-based infrastructure.
  2. An organization needs to store billions of objects, including backups and archived media. Some objects are accessed frequently, while others may not be accessed

Rationale: Cloud SQL provides managed relational databases with automated backups, maintenance, and high-availability configurations. BigQuery is an analytical data warehouse rather than a conventional transactional relational database, while Firestore is a NoSQL database.

  1. A company has a globally distributed user base. Users must access an application through a single global endpoint, and requests should be routed toward healthy backend services. The architecture must support TLS termination and global load balancing. Which service should be used? A. Internal TCP/UDP Load Balancing B. Global external Application Load Balancer C. Cloud VPN D. Cloud NAT B. Global external Application Load Balancer Rationale: A global external Application Load Balancer provides a globally accessible frontend and can distribute HTTP(S) traffic among backend services based on availability and routing configuration. It also supports TLS termination at the load-balancing layer.
  2. A company wants employees to access internal applications without exposing those applications directly to the public internet. Employees work from multiple offices and remote locations. Which architecture

provides private connectivity while minimizing exposure? A. Public IP addresses on every application server B. VPC networking with private services and appropriate secure connectivity C. Cloud Storage public URLs D. Anonymous access through Cloud Run B. VPC networking with private services and appropriate secure connectivity Rationale: Private networking allows internal applications to remain inaccessible from the public internet while authorized users and systems connect through controlled network paths. Depending on the environment, hybrid connectivity, identity- aware access, or other secure access mechanisms can be incorporated.

  1. An organization has multiple Google Cloud projects. Security administrators want to centrally define organizational restrictions that prevent individual projects from enabling prohibited services or configurations. What should the architect recommend? A. Project-level firewall rules only B. Organization policies at the organization or folder level C. IAM roles assigned only to individual users D. Cloud Logging sinks B. Organization policies at the organization or folder level

messaging infrastructure. Which service is MOST appropriate? A. Pub/Sub B. Cloud VPN C. Cloud DNS D. Cloud Storage Transfer Service A. Pub/Sub Rationale: Pub/Sub provides managed asynchronous messaging that decouples producers from consumers. It is well suited to event-driven and microservices architectures because services can publish and consume messages independently without requiring direct synchronous communication.

  1. An analytics team receives large volumes of event data continuously. Analysts need to run SQL queries over historical and newly arriving data without managing database servers. Which architecture is MOST appropriate? A. Compute Engine running MySQL B. BigQuery with an appropriate ingestion pipeline C. Cloud SQL with manually partitioned tables D. Filestore with CSV files B. BigQuery with an appropriate ingestion pipeline Rationale: BigQuery is a serverless analytical data warehouse designed for large-scale SQL analytics. Streaming or batch

ingestion can populate analytical datasets without requiring the organization to manage database servers.

  1. A company needs to process data from IoT devices in near real time, transform the events, and write analytical results to a data warehouse. Which architecture is MOST appropriate? A. IoT devices → Pub/Sub → Dataflow → BigQuery B. IoT devices → Cloud Storage → manual SQL queries C. IoT devices → Filestore → Compute Engine D. IoT devices → Cloud DNS → BigQuery A. IoT devices → Pub/Sub → Dataflow → BigQuery Rationale: Pub/Sub provides scalable event ingestion, Dataflow can perform managed stream processing and transformation, and BigQuery provides scalable analytical storage and querying. This architecture separates ingestion, processing, and analytics responsibilities.
  2. A company operates a critical service on Compute Engine. The workload must automatically recover from a failed VM, and instances should be distributed across multiple zones. Which configuration should be selected? A. Single VM with a startup script B. Regional managed instance group spanning multiple zones C. Single-zone unmanaged instance group D. Sole-tenant VM without redundancy
  1. A company must migrate a large existing VMware environment to Google Cloud while minimizing application changes. Which approach should be evaluated FIRST? A. Rewrite every application as a serverless function B. Migrate all applications directly to Cloud Storage C. Use a Google Cloud VMware-compatible migration approach where appropriate D. Replace all relational databases with BigQuery C. Use a Google Cloud VMware-compatible migration approach where appropriate Rationale: When minimizing application changes is a primary requirement, preserving the existing virtualization model can simplify migration. A VMware-compatible Google Cloud environment can provide a path for workloads that are not yet ready for modernization.
  2. An organization needs a private connection between its on-premises data center and Google Cloud. The connection must provide predictable throughput and should not traverse the public internet. Which service should be considered? A. Cloud Interconnect B. Cloud NAT C. Public DNS D. External HTTP Load Balancing A. Cloud Interconnect

Rationale: Cloud Interconnect provides dedicated or partner- based connectivity between an on-premises environment and Google Cloud. It is appropriate when organizations require private connectivity with predictable network characteristics.

  1. A company wants to allow workloads in a VPC to access the internet for outbound updates while preventing those workloads from requiring public IP addresses. Which service is appropriate? A. Cloud NAT B. Cloud DNS C. Cloud Armor D. Cloud CDN A. Cloud NAT Rationale: Cloud NAT allows resources without external IP addresses to initiate outbound connections to the internet. It does not provide unsolicited inbound connectivity to those resources, making it useful for private workloads that need controlled internet egress.
  2. A public application is experiencing distributed denial-of-service attacks. The company wants to protect internet-facing applications at the edge and implement rules that can block suspicious HTTP requests. Which service should be incorporated?

reducing downtime compared with a one-time dump-and- restore process.

  1. A company wants to deploy a containerized application with automatic scaling but has a requirement for more control over networking, node configuration, and Kubernetes workloads. Which platform is MOST appropriate? A. Cloud Run B. Google Kubernetes Engine C. Cloud Storage D. BigQuery B. Google Kubernetes Engine Rationale: Google Kubernetes Engine provides managed Kubernetes capabilities while giving organizations control over Kubernetes clusters, workloads, networking, and node- related configuration. Cloud Run provides greater abstraction but is not intended for workloads requiring full Kubernetes orchestration capabilities.
  2. A security team wants to detect suspicious activity across Google Cloud resources and centralize audit information for investigation. Which architecture is MOST appropriate? A. Disable audit logging to reduce costs B. Centralize relevant audit logs and integrate them with

security monitoring and analysis tools C. Store application logs only on local VM disks D. Use Cloud DNS logs as the sole security source B. Centralize relevant audit logs and integrate them with security monitoring and analysis tools Rationale: Centralized logging improves visibility across projects and services and makes investigation more consistent. Audit logs can provide evidence about administrative and data-access activity, while security monitoring tools can correlate events and identify suspicious behavior.

  1. A company has a workload that performs highly variable batch processing. Jobs can tolerate delays and do not require dedicated servers to remain running continuously. The company wants to reduce infrastructure costs. Which architecture should the architect consider? A. Permanently running high-capacity VMs B. Managed batch execution using ephemeral compute resources C. Dedicated bare-metal infrastructure D. A single large VM with no autoscaling B. Managed batch execution using ephemeral compute resources Rationale: Batch workloads that tolerate delayed execution can benefit from managed batch processing and ephemeral

regional outage. Which two metrics should primarily guide the architecture? A. CPU utilization and memory utilization B. RTO and RPO C. SLA and throughput D. Latency and packet loss B. RTO and RPO Rationale: Recovery Time Objective (RTO) defines how quickly the service must be restored, while Recovery Point Objective (RPO) defines the maximum acceptable amount of data loss measured in time. A four-hour restoration requirement corresponds to the RTO, while one hour of acceptable data loss corresponds to the RPO.

  1. A company wants to reduce cloud costs without compromising application performance. The architect discovers that many Compute Engine instances operate at consistently low utilization. What should the architect do FIRST? A. Increase the machine sizes B. Analyze utilization and right-size or autoscale the workloads C. Disable monitoring D. Move all workloads to the largest available machine type B. Analyze utilization and right-size or autoscale the workloads

Rationale: Persistent underutilization indicates that resources may be oversized or insufficiently elastic. Monitoring actual utilization allows the architect to select more appropriate machine configurations or introduce autoscaling. Increasing capacity would generally worsen the identified cost problem.

  1. A company is designing a globally distributed application that must remain operational during a regional outage. The application uses stateless services, requires global traffic distribution, stores transactional data, and must maintain strong consistency. Which architecture BEST addresses the requirements? A. Single-region VMs, local database, and manual failover B. Multi-zone VMs in one region with asynchronous database backups C. Globally distributed stateless application tier with global load balancing and a strongly consistent distributed transactional database D. Single-zone serverless deployment with daily database exports C. Globally distributed stateless application tier with global load balancing and a strongly consistent distributed transactional database Rationale: The application tier should be deployed across multiple regions so that a regional failure does not eliminate service availability. Global load balancing can route users to healthy application capacity, while a strongly consistent
  1. A company must process sensitive customer information. The security team requires that data remain encrypted both at rest and in transit, and the organization must maintain control over encryption keys with centralized lifecycle management. Which approach BEST satisfies the requirement? A. Use only default encryption and store keys in application source code B. Use Cloud KMS-managed encryption keys with appropriate IAM controls C. Encrypt files manually using passwords stored in configuration files D. Disable encryption for internal traffic B. Use Cloud KMS-managed encryption keys with appropriate IAM controls Rationale: Cloud KMS provides centralized management of cryptographic keys, including access control and key lifecycle operations. Application secrets should not be embedded in source code. Encryption in transit should also be enforced using appropriate secure protocols and service configurations.
  2. An organization operates hundreds of Google Cloud projects. Each project team currently creates resources independently, resulting in inconsistent security controls and billing visibility. The company wants a hierarchical

governance model. Which structure should the architect recommend? A. One VPC for every user B. Organization → folders → projects → resources C. Projects → organizations → folders → resources D. Resources → projects → users → organization B. Organization → folders → projects → resources Rationale: Google Cloud Resource Manager provides a hierarchy in which the organization is the root, folders can group projects, and projects contain resources. Policies and IAM configurations can be inherited through this hierarchy, making it suitable for centralized governance.

  1. A company wants developers to deploy applications using CI/CD pipelines. Production deployments must use a controlled identity rather than individual developer credentials. Which approach is MOST appropriate? A. Store an administrator's password in the CI/CD pipeline B. Use a dedicated service identity with narrowly scoped permissions C. Give every developer Owner access to production D. Use a shared personal Google account B. Use a dedicated service identity with narrowly scoped permissions Rationale: A dedicated service identity separates automated deployments from individual users and supports auditable,