Question 30
An application has excessive read traffic but writes must continue to a primary relational database. Which Cloud SQL topology helps?
- Use Cloud SQL high availability
- Use BigQuery
- Use a Cloud SQL private IP
- Use Cloud SQL read replicas
Explanation
Correct Answer
D:Cloud SQL read replicas provide asynchronously replicated read capacity and do not directly handle primary writes; for the stated workload, the practical result is offloading read-only queries from the primary.
Incorrect Answers
A:Cloud SQL regional high availability uses an eligible standby in another zone for failover; this governs providing managed database failover across zones, whereas the stated objective is offloading read-only queries from the primary.
B:BigQuery is a managed analytical data warehouse designed for scalable SQL workloads; its operational role is querying large analytical datasets; the needed capability is offloading read-only queries from the primary.
C:Cloud SQL private IP enables private connectivity through the configured network integration; it is not the focused action for offloading read-only queries from the primary; its primary use is connecting to Cloud SQL through private addresses.
Question 31
A research team needs scheduled execution of many finite container or script tasks without manually managing a persistent VM fleet. Which service fits?
- Choose GKE Autopilot
- Use Cloud Run jobs
- Use batch jobs on Google Cloud Batch
- Choose GKE Standard
Explanation
Correct Answer
C:Google Cloud Batch schedules and executes batch workloads on managed Compute Engine resources; its effect directly addresses orchestrating finite parallel batch jobs.
Incorrect Answers
A:GKE Autopilot automates many cluster and node infrastructure tasks while retaining Kubernetes workload interfaces; Applying it would target reducing Kubernetes node administration, leaving the separate need for orchestrating finite parallel batch jobs.
B:Cloud Run jobs run tasks to completion without exposing a request-serving service endpoint; it is relevant when running task-oriented serverless containers, not when the primary need is orchestrating finite parallel batch jobs.
D:GKE Standard runs Kubernetes with user-managed node pools and more infrastructure configuration control; it is not the focused action for orchestrating finite parallel batch jobs; its primary use is administering GKE infrastructure settings directly.
Question 32
A finance report shows a difference between list cost and net payable amount. What billing information should be inspected?
- Configure billing export to BigQuery
- Use billing account IAM roles
- Use Cloud Billing credits view
- Use cost anomaly detection
Explanation
Correct Answer
C:Billing reports and exports expose applicable credits alongside costs, subject to report and export settings; that matches the requirement for explaining credit-related adjustments to charges.
Incorrect Answers
A:Cloud Billing exports send selected cost and pricing information to BigQuery datasets for analysis; that mechanism handles exporting billing records for warehouse analysis; it does not configure explaining credit-related adjustments to charges.
B:For granting billing access independently of project resources, this could be relevant; Billing-account IAM permissions control access to financial data and payer operations separately from project IAM; the actual request concerns explaining credit-related adjustments to charges.
D:This alternative focuses on detecting atypical spending changes; Cloud Billing cost anomaly detection identifies unusual cost changes using billing spending signals; the stem instead asks for explaining credit-related adjustments to charges.
Question 33
A new engineer wants to ask natural-language questions about a project configuration from the console. What tool should they try?
- Use Cloud Asset Inventory feed
- Use Gemini Cloud Assist for resource analysis
- Use Resource Manager tags
- Create a project under an organization folder
Explanation
Correct Answer
B:Gemini Cloud Assist offers context-aware assistance for supported Google Cloud operational and configuration tasks; that matches the requirement for analyzing resource configuration with Cloud Assist.
Incorrect Answers
A:This alternative focuses on receiving event-driven asset change records; Asset feeds publish supported resource changes to Pub/Sub destinations based on a configured scope and content type; the stem instead asks for analyzing resource configuration with Cloud Assist.
C:Resource Manager tags are centrally defined key-value bindings with policy integrations distinct from ordinary labels; the supported outcome is attaching policy-aware governed metadata to resources, while the requested result is analyzing resource configuration with Cloud Assist.
D:A Google Cloud project is the primary boundary for enabled services, resources, IAM and many quotas; that solves problems involving isolating a workload in its own project, rather than the analyzing resource configuration with Cloud Assist requirement.
Question 34
A platform team wants versioned building blocks for repeatable VPC deployments. Which IaC design approach fits?
- Use Cloud Foundation Toolkit
- Use Terraform modules
- Use Terraform for infrastructure provisioning
- Use a declarative desired-state configuration
Explanation
Correct Answer
B:Terraform modules encapsulate resource definitions and input/output interfaces for reuse; its effect directly addresses standardizing infrastructure through reusable components.
Incorrect Answers
A:Cloud Foundation Toolkit provides modules and examples for automated Google Cloud foundation deployments; its operational role is bootstrapping reusable foundation infrastructure; the needed capability is standardizing infrastructure through reusable components.
C:Terraform uses provider-managed declarative resources and state to plan and apply infrastructure changes; that mechanism handles provisioning Google Cloud resources declaratively; it does not configure standardizing infrastructure through reusable components.
D:Declarative infrastructure configuration specifies intended resources while tooling computes the necessary changes; its operational role is describing target infrastructure state rather than click sequences; the needed capability is standardizing infrastructure through reusable components.
Question 35
A service needs its VM replica count to increase as CPU utilization rises and decline after demand falls. What feature should be enabled?
- Choose a managed instance group
- Create an instance template
- Configure an autoscaler for a MIG
- Use a regional managed instance group
Explanation
Correct Answer
C:MIG autoscaling changes the target number of instances using configured signals and scale limits; this is the capability needed for dynamically sizing managed VM fleets.
Incorrect Answers
A:Managed instance groups create and maintain VM replicas using instance templates and optional autoscaling and autohealing; the scenario specifies dynamically sizing managed VM fleets, which differs from operating a replicated VM group.
B:Instance templates hold immutable machine configuration for managed instance groups and other compatible VM launches; its operational role is defining repeatable VM launch settings; the needed capability is dynamically sizing managed VM fleets.
D:For operating a multi-zone VM instance group, this could be relevant; Regional managed instance groups distribute members across multiple zones in a region for availability; the actual request concerns dynamically sizing managed VM fleets.
Question 36
A zonal VM failure must not leave the only disk copy in the failed zone, and the application supports failover. What disk type helps?
- Use a zonal persistent disk
- Configure OS Login
- Use a regional persistent disk
- Use a local SSD
Explanation
Correct Answer
C:Regional Persistent Disk provides synchronously replicated block storage across two zones with applicable failover considerations; this is relevant because the outcome sought is supporting zonal failover of persistent block data.
Incorrect Answers
A:Zonal Persistent Disk is persistent block storage tied to one zone and attachable to compatible VMs; the scenario specifies supporting zonal failover of persistent block data, which differs from maintaining persistent block data with a VM.
B:OS Login integrates Linux instance access with Google identities and IAM role assignments; it is relevant when centralizing VM SSH identity authorization, not when the primary need is supporting zonal failover of persistent block data.
D:This alternative focuses on using low-latency ephemeral instance storage; Local SSD delivers high-speed instance-local storage that is ephemeral and not a durable system of record; the stem instead asks for supporting zonal failover of persistent block data.
Question 37
A regional Persistent Disk is attached to a VM in a zone that has become unavailable. The standby VM is running in the disk's other replica zone, and a normal detach from the failed VM cannot complete. Which recovery operation restores disk access?
- Create a new zonal disk from an old snapshot
- Force-attach the regional disk to the standby VM
- Attach the regional disk simultaneously as a shared writable disk
- Convert the disk to local SSD on the standby VM
Explanation
Correct Answer
B:When the original zone is inaccessible, force-attach transfers the regional disk to a VM in its healthy replica zone even if normal detachment cannot finish. The original instance is prevented from writing to that disk.
Incorrect Answers
A:Restoring a snapshot creates separate point-in-time data; it would not attach the existing synchronously replicated regional disk or guarantee access to its newest committed blocks.
C:A standard regional Persistent Disk is not a general-purpose multi-writer filesystem shared by arbitrary VM instances. Simultaneous write attachment does not provide the documented zone-failover process.
D:Local SSD offers instance-local ephemeral storage; converting the replicated disk to that storage would neither move its existing persistent data nor implement a safe failover.
Question 38
Multiple resources fail during a suspected regional Google Cloud service incident. Where can the team view relevant provider-side events?
- Use Cloud Monitoring workspace scope
- Use Cloud Trace
- Use Personalized Service Health
- Use Cloud Monitoring alert policy
Explanation
Correct Answer
C:Personalized Service Health surfaces Google Cloud incidents relevant to selected environments and products; the decisive property here is assessing product incidents affecting an organization.
Incorrect Answers
A:Cloud Monitoring metrics scopes can make data from multiple monitored projects accessible in one scoping project; that mechanism handles viewing project metrics across a monitoring scope; it does not configure assessing product incidents affecting an organization.
B:Cloud Trace collects and visualizes distributed request traces and span timings; that solves problems involving locating slow segments in distributed calls, rather than the assessing product incidents affecting an organization requirement.
D:Monitoring alerting policies evaluate metrics against configured conditions and can open incidents with notifications; the decision here is about assessing product incidents affecting an organization, not evaluating telemetry conditions and opening alerts.
Question 39
A consultant alternates between unrelated Google Cloud projects and credentials. What prevents accidental context mixing between CLI sessions?
- List enabled project services
- Use a gcloud named configuration
- Authenticate with gcloud auth login
- Use Cloud Shell
Explanation
Correct Answer
B:Named gcloud configurations store sets of CLI properties and can be activated as needed; that behavior is precisely what separating reusable gcloud account and project settings calls for.
Incorrect Answers
A:The Service Usage listing and its gcloud services list interface expose enabled and available service states; Applying it would target inspecting a project's enabled API inventory, leaving the separate need for separating reusable gcloud account and project settings.
C:For authorizing gcloud commands as a human user, this could be relevant; Gcloud auth login authorizes a user account for gcloud, subject to its IAM permissions; the actual request concerns separating reusable gcloud account and project settings.
D:For performing administration from a managed web shell, this could be relevant; Cloud Shell provides a browser terminal with Google Cloud CLI tools and user-based authentication integration; the actual request concerns separating reusable gcloud account and project settings.
Question 40
An administrator attempts to include an unsupported permission in a new custom role. What must be investigated?
- Use IAM policy version 3 for conditions
- Use IAM Recommender
- Use custom role permissions support check
- Review IAM role permissions
Explanation
Correct Answer
C:Not all IAM permissions can be placed in custom roles, and support levels vary by permission; this corresponds to checking custom-role eligibility for IAM permissions, not a separate lifecycle action.
Incorrect Answers
A:IAM allow policy version 3 supports conditional role bindings and should be requested when managing conditions; the decision here is about checking custom-role eligibility for IAM permissions, not representing conditional policy bindings.
B:IAM Recommender provides eligible role-grant recommendations based on observed access and permission usage; that mechanism handles reviewing evidence-based least-privilege suggestions; it does not configure checking custom-role eligibility for IAM permissions.
D:Role definitions enumerate included permissions; role names alone do not guarantee a specific API action; that applies to confirming included permissions in an IAM role; the requested task is checking custom-role eligibility for IAM permissions.