All practice questions
491 questions
An organization is evaluating Google Cloud compute solutions for two newly developed application components:
1. An overnight data transformation batch job that is stateless, fault-tolerant, and capable of resuming progress if interrupted.
2. A containerized HTTP microservice that experiences unpredictable traffic bursts and requires scaling down to zero when idle to minimize compute expenses.
Which TWO deployment options should the Cloud Engineer select to satisfy these requirements while optimizing costs and minimizing operational overhead? (Select TWO.)
Select all that apply
An enterprise logistics company is redesigning its Google Cloud container infrastructure to support two distinct workload profiles. The first profile consists of stateless web APIs that experience highly variable traffic, where the operations team requires zero node management responsibility and pod-level SLA guarantees. The second profile consists of a batch analytics engine executing fault-tolerant, short-lived jobs that require deep customization of worker node kernel parameters (sysctl) and maximum cost reduction. Which TWO GKE cluster architecture decisions should the cloud architect implement to meet these requirements? (Select TWO.)
Select all that apply
An enterprise application produces daily operation logs that require frequent, immediate access for troubleshooting during the first 14 days. After 14 days, the logs are accessed infrequently for routine audits for another 90 days before being deleted. Which Cloud Storage configuration actions should be planned to optimize costs and performance? (Select TWO)
Select all that apply
A DevOps engineer is deploying a newly containerized Flask web application named `inventory-api` to Google Cloud Run using the `gcloud run deploy` command. The application is configured to listen internally on TCP port 5000 rather than the standard default port. The application needs to be accessible directly from the public internet without requiring IAM authentication header tokens. Which two configuration actions or `gcloud` command flags must be used to successfully deploy this service? (Select TWO.)
Select all that apply
A cloud engineer is deploying a custom-mode Virtual Private Cloud (VPC) network named `corp-network` in Google Cloud to host multi-region microservices. The engineer needs to configure subnets in `us-central1` and `europe-west1` and ensure that internal Compute Engine virtual machines across these subnets can communicate with each other over TCP port 8080. Which TWO configurations accurately reflect Google Cloud VPC subnet and firewall rule deployment behaviors? (Select TWO answers.)
Select all that apply
An organization is deploying a multi-region workload in a custom-mode Virtual Private Cloud (VPC) network named `analytics-vpc`. Compute Engine virtual machines without external public IP addresses are located in `us-east4` (tagged `db-backend`) and `europe-west1` (tagged `app-frontend`). The security policy requires that `db-backend` instances accept incoming TCP traffic on port 5432 exclusively from `app-frontend` instances. Additionally, all virtual machines must be able to reach Google Cloud service endpoints without being assigned public IP addresses. Which TWO configuration steps are required to implement this architecture? (Select TWO.)
Select all that apply
A cloud administrator needs to configure access for an external automated pipeline running on a self-hosted server so that it can read log files stored in a Cloud Storage bucket named `analytics-logs`. To comply with company security policies, the administrator must set up a dedicated user-managed service account using short-lived credentials via service account impersonation rather than using long-lived exported JSON keys.
Which of the following steps must the administrator take to implement this configuration securely? (Select TWO.)
Select all that apply
An organization requires a centralized observability strategy across multiple Google Cloud projects. The compliance team mandates aggregating all Cloud Audit Logs from every project into a single Cloud Storage bucket for long-term retention. Additionally, the operations team needs to collect guest operating system memory utilization telemetry from a fleet of Compute Engine instances and trigger alerts if memory usage exceeds threshold limits. Which TWO steps should the cloud engineer implement to satisfy these operational requirements? (Select TWO.)
Select all that apply
A financial analytics firm is planning the compute deployment on Google Compute Engine for two distinct workloads:
1. Workload 1: A stateless Monte Carlo risk simulation engine that runs overnight batch jobs. The application is highly fault-tolerant and saves state checkpoints every 5 minutes.
2. Workload 2: A core customer backend service operating continuous 24/7 traffic with precise memory demands requiring 8 vCPUs and 52 GB of RAM to prevent memory spilling.
Which TWO machine type selection and provisioning strategies should the Cloud Engineer implement to optimize cost and performance for these workloads? (Select TWO answers.)
Select all that apply
An organization is designing a high-throughput video processing service on Compute Engine. The processing application is stateless, fault-tolerant, and designed to auto-resume from checkpoints if interrupted. Benchmark testing indicates that each processing worker node performs optimally when allocated exactly and of RAM. Standard predefined machine types with are unavailable, and larger predefined instances would result in significant unused vCPU and memory capacity. Which TWO architectural and provisioning strategies should the cloud engineering team select to optimize cost and resource utilization? (Select TWO.)
Select all that apply
A financial analytics firm is designing a cost-effective Google Cloud compute environment for two distinct workloads:
1. A nightly batch calculation task that is fully fault-tolerant, can resume from checkpoints if interrupted, requires specific custom OS kernel modules, and runs for 6 hours.
2. An event-driven microservice that receives unpredictable HTTP webhooks throughout the day and requires scaling down to zero instances during idle periods with minimal management overhead.
Which TWO compute configurations should the engineering team select to satisfy these operational and architectural requirements?
Select all that apply
An enterprise telemetry team is designing a serverless architecture on Google Cloud to handle two distinct workload components:
1. An HTTP webhook ingestion endpoint that receives high-concurrency bursty web traffic and depends on a custom compiled C++ shared library binary.
2. An event-driven data transformation pipeline that processes incoming files uploaded to Cloud Storage, where individual file transformation runs take up to 25 minutes to complete.
You need to recommend a serverless compute architecture that minimizes operational overhead while satisfying all technical limits and runtime dependencies. Which TWO architectural decisions should you recommend? (Select TWO answers.)
Select all that apply
An enterprise organization is setting up a centralized governance model in Google Cloud. A financial operations specialist needs to create new GCP projects within a specific organizational folder and associate those newly created projects with the company's master Cloud Billing account. The security policy mandates strict adherence to the principle of least privilege, preventing the user from managing billing account permissions, modifying organization policies, or gaining administrative control over existing projects. Which TWO Identity and Access Management (IAM) roles must be granted to the specialist to enable these actions? Select 2 options.
Select all that apply
A cloud administrator is configuring a new organizational folder structure for an enterprise application suite. The central deployment team requires authorization to create new Google Cloud projects inside the 'Payments-Production' folder and link those projects to the organization's central billing account. Furthermore, the organization enforces a constraint at the organization root node restricting external IP addresses on Compute Engine instances.
Which of the following statements regarding GCP resource hierarchy management, IAM permissions, and policy enforcement are correct? (Select TWO.)
Select all that apply
A telemetry engineering team is setting up a dedicated workload project named `data-analytics-prod`. The developers need to enable the Cloud Monitoring API (`monitoring.googleapis.com`) and Cloud Logging API (`logging.googleapis.com`) for their services. Additionally, load testing is expected to exceed the default API rate limits during peak operations, requiring quota management. Security policy strictly mandates applying the principle of least privilege without granting broad resource ownership or billing management rights. Which TWO configuration steps should the team take to meet these access control and quota requirements following Google Cloud best practices? (Select TWO answers.)
Select all that apply
An online gaming company is planning its Google Cloud Compute Engine architecture for two distinct operational workloads: a continuous, low-latency in-memory leaderboard service that runs 24/7 and cannot tolerate sudden terminations, and an overnight batch analytics pipeline that parses telemetry log files, runs for 6 hours, is stateless, and can resume from checkpoints if interrupted. You need to design a compute provisioning strategy that optimizes cost while satisfying the reliability requirements for both workloads. Which TWO compute configuration strategies should you implement?
Select all that apply
A cloud administrator is managing project lifecycles and governance across an enterprise Google Cloud resource hierarchy. The administrator must protect a critical security project named `shared-sec-ops` from accidental deletion, even by users holding the primitive Owner role. Additionally, an automated pipeline service account must be configured with the necessary permissions to move projects from the `Staging` folder to the `Production` folder. Which TWO configurations or actions fulfill these requirements?
Select all that apply
A cloud engineer is designing Google Cloud compute infrastructure for a healthcare organization with two distinct application requirements:
1. Workload 1: An asynchronous, fault-tolerant batch image processing pipeline that can resume cleanly if an instance is terminated unexpectedly.
2. Workload 2: A 24/7 mission-critical relational database with high RAM requirements that demands uninterrupted execution and high availability.
Which TWO deployment and machine type strategies should the engineer select to meet performance requirements while minimizing costs? (Select TWO.)
Select all that apply
A centralized platform security team is auditing permission boundaries for an infrastructure automation service account (`[email protected]`). The service account is designated solely to attach newly onboarded, existing Google Cloud projects to the enterprise Cloud Billing Account without possessing permissions to modify billing account financial settings or manage compute workloads inside the projects.
Which TWO predefined IAM roles represent the minimum necessary privileges required for this service account to successfully link the projects to the Cloud Billing Account? (Select TWO.)
Select all that apply
A cloud engineer is planning the Google Compute Engine architecture for a specialized genomics research platform that consists of two distinct workloads:
1. Workload 1: A mission-critical, stateful primary database service running continuous 24/7 operations with steady, predictable memory and CPU utilization.
2. Workload 2: A batch alignment pipeline that processes queue-based genomic data blocks. The pipeline is stateless, fully fault-tolerant, saves progress checkpoints to Cloud Storage every 5 minutes, and can handle abrupt node terminations.
Which TWO deployment and resource planning choices should the engineer recommend to satisfy operational requirements while optimizing total cost of ownership? (Select TWO.)
Select all that apply