All practice questions
1598 questions
An organization is deploying an application on Google Cloud and needs to configure Customer-Managed Encryption Keys (CMEK) using Cloud KMS to protect sensitive data stored in Cloud Storage buckets and Compute Engine persistent disks. Which TWO requirements must be met to properly implement CMEK for these services? (Select TWO)
Select all that apply
A healthcare enterprise uses a Google Cloud resource hierarchy consisting of an Organization node, Department Folders, and nested Environment Folders ('Production' and 'Development'). A third-party security compliance system requires read-only access to inspect resource configurations, organizational security settings, and IAM access control lists across all Production projects, but must not be permitted to read underlying customer payload data in Cloud Storage or BigQuery. Which IAM role assignment strategy follows Google-recommended best practices for least privilege and operational efficiency?
A healthcare technology company is building a stateless microservice to validate and convert patient intake records sent as JSON payloads via webhooks. The workload experiences highly unpredictable traffic, ranging from zero requests overnight to thousands of concurrent requests during peak hours. Each request takes less than two minutes to process. The architecture team requires a solution that minimizes operational management overhead, scales to zero automatically to reduce costs, and runs containerized applications without managing underlying infrastructure. Which Google Cloud compute platform should you recommend?
An enterprise security architect is establishing an IAM role binding hierarchy for a newly onboarded analytics team requiring access to BigQuery datasets in a production project. To follow Google Cloud best practices for resource hierarchy organization and least privilege inheritance while minimizing administrative overhead, in what order should the architect structure and apply IAM role assignments from the broadest organizational container down to the resource level?
Drag items to arrange them in the correct order
An enterprise organization is establishing an automated CI/CD release pipeline using Cloud Build and Cloud Deploy to manage infrastructure and application workloads across GCP environments. The security architecture team requires that the pipeline adheres strictly to the principle of least privilege, specifically ensuring Cloud Build can impersonate dedicated target execution service accounts without gaining administrative control over IAM permissions or using over-privileged roles. Which architectural configuration correctly satisfies these requirements?
An e-commerce organization uses Cloud Build and Cloud Deploy to execute automated continuous deployment pipelines for microservices backed by Cloud SQL. The cloud architecture team must secure the release pipeline, prevent state corruption during automated Infrastructure as Code (IaC) updates, and ensure application availability during database-backed release rollouts. Which TWO architectural and operational actions should the team implement?
Select all that apply
An organization uses Cloud Build to execute Terraform scripts as part of its automated CI/CD deployment pipeline. Currently, developers run into frequent infrastructure deployment conflicts and state corruption when multiple pipeline jobs execute simultaneously because Terraform state is maintained in the local build workspace. Which strategy should the team implement to resolve this CI/CD pipeline issue following Google Cloud best practices?
A enterprise security team wants to restrict the attach capability of cross-project service accounts across all cloud workloads by applying the `constraints/iam.disableCrossProjectServiceAccountUsage` constraint. However, before strictly enforcing this policy, they need to identify existing pipelines and services that rely on cross-project service accounts to prevent operational disruption. Which configuration strategy should the architecture team implement to evaluate potential impact without interrupting active workloads?
A financial analytics company is migrating its historical transaction log archive () and an operational MySQL database from an on-premises data center to Google Cloud. The environment has an active Cloud Dedicated Interconnect connection to GCP. The migration plan requires completing the archive movement with minimal operational overhead, while minimizing downtime for the operational database during a planned 4-hour maintenance window. Which data transfer and migration strategy should the Cloud Architect recommend?
An online streaming platform uses a 10 Gbps Partner Interconnect connection as its primary link between an on-premises data center and a Google Cloud VPC, with an HA VPN connection configured as a secondary backup link. Both hybrid connections terminate on the same Cloud Router in the us-east1 region using dynamic BGP routing. During high-traffic events, network operations notices that egress traffic from the VPC to the on-premises network is being distributed equally across both paths, causing high latency and packet reordering over the lower-speed VPN link. How should the network architect adjust the Cloud Router BGP configuration to ensure that egress traffic from Google Cloud strictly prefers the Partner Interconnect connection under normal operating conditions?
A multinational financial institution is configuring automated compliance guardrails across its Google Cloud resource hierarchy. The cloud architecture team must enforce two governance mandates:
1. Prevent the creation of user-managed service account keys across all projects in the organization, while granting an exception for a legacy payment integration project residing in a dedicated folder that requires JSON keys for on-premises authentication.
2. Restrict resource deployment locations to European Union regions () across the entire hierarchy, while allowing a specialized high-performance analytics project to deploy compute resources in .
Which TWO architectural configurations should the cloud architect implement to meet these governance requirements?
Select all that apply
An enterprise HR platform is migrating its background check system to Google Cloud. The system consists of two distinct components:
1. Candidate Web Portal: A stateless HTTP API receiving candidate form submissions. Traffic is highly unpredictable, spiking during business hours and dropping to near zero overnight. The platform team requires zero infrastructure management overhead and automatic scaling down to zero.
2. Verification Rendering Engine: A continuous batch process that performs document validation and rendering. It requires custom C++ Linux socket tuning at the operating system level and runs continuously 24/7 with steady compute demands.
Which TWO architectural decisions should the Cloud Architect recommend to optimize operational efficiency and cost?
Select all that apply
A cloud engineering team is establishing an automated continuous delivery pipeline for a containerized microservice running on Google Kubernetes Engine (GKE). The architecture requires container image building, vulnerability scanning, cryptographic image attestation, progressive canary deployment, and metric-driven production promotion using Cloud Build, Artifact Registry, Binary Authorization, Cloud Deploy, and Cloud Monitoring. In what chronological sequence should these operational pipeline stages execute from source commit to full release verification?
Drag items to arrange them in the correct order
An organization is provisioning a multi-region Google Cloud infrastructure spanning `us-central1` and `europe-west1`. The architecture requires a high-throughput hybrid network connection to an on-premises data center supporting 20 Gbps bandwidth with automated cross-region route failover. Additionally, private GKE clusters deployed in the application subnets must access Cloud Storage securely without public internet exposure, and administrative access to the GKE control plane must be limited strictly to an internal administration subnet CIDR. Which TWO network topology configurations and architectural decisions should the Cloud Architect implement? (Select TWO)
Select all that apply
An online gaming platform is migrating its operational PostgreSQL database and of unstructured telemetry logs from an on-premises data center to Google Cloud. To ensure zero data loss and minimal downtime during final cutover, place the migration and data transfer steps in the correct chronological sequence.
Drag items to arrange them in the correct order
A healthcare enterprise is migrating a relational database workload to Cloud SQL for PostgreSQL. Regulatory compliance mandates that the enterprise maintain physical and cryptographic sovereignty over the root encryption key within their on-premises Hardware Security Module (HSM), strictly prohibiting raw root key material from ever being generated or stored within Google Cloud infrastructure. Simultaneously, the security team requires seamless data-at-rest protection for Cloud SQL without modifying application code for client-side encryption. Which encryption and key management architecture satisfies all compliance and operational requirements?
A cloud architect is standardizing an organization's infrastructure automation practices. The team needs to safely transition a local Terraform state file to a centralized Google Cloud Storage (GCS) backend to support team collaboration and state locking. In what order should the architect execute the steps for this migration process?
Drag items to arrange them in the correct order
A financial enterprise operating on Google Cloud requires an automated central compliance solution for security audit logs. The security architect must aggregate Data Access audit logs across all organization folders into a dedicated security project. The solution must satisfy strict regulatory compliance by protecting log destination buckets with enterprise-managed encryption keys, preventing authorized internal identities from exfiltrating stored log files to unauthorized external projects, and granting minimum required identity permissions. Which architecture strategy meets these security and compliance requirements?
A healthcare provider must store patient records in Cloud Storage. Regulatory requirements mandate that the encryption keys protecting the data must reside exclusively within the company's on-premises Hardware Security Module (HSM) and never be stored inside Google Cloud, while allowing Google Cloud Storage to perform automated encryption and decryption operations. Which key management solution should you select?
A healthcare enterprise is deploying a containerized analytics microservice on Google Cloud. The architecture team needs to provision a compute solution that minimizes operational management overhead, ensures compute nodes are strictly isolated from the public internet without public IP addresses, and enables container workloads to securely access Cloud Storage using least-privilege IAM permissions. Which combination of provisioning steps should the cloud architect recommend? (Select TWO)
Select all that apply