Question 380
An interruptible batch processor can checkpoint tasks and resume after VM reclamation. Which cost-oriented machine option fits?
- Use committed use discounts for compute
- Use a regional persistent disk
- Use an instance schedule
- Choose a Spot VM
Explanation
Correct Answer
D:Spot VMs have lower eligible prices but no guaranteed continuous availability or fixed lifetime; that matches the requirement for running fault-tolerant workloads on reclaimable capacity.
Incorrect Answers
A:For reducing long-term eligible compute cost, this could be relevant; Committed use discounts exchange qualifying resource or spend commitments for discounted eligible usage; the actual request concerns running fault-tolerant workloads on reclaimable capacity.
B:Regional Persistent Disk provides synchronously replicated block storage across two zones with applicable failover considerations; Applying it would target supporting zonal failover of persistent block data, leaving the separate need for running fault-tolerant workloads on reclaimable capacity.
C:Instance schedules can automate starts and stops for eligible Compute Engine VM instances; that supports scheduling regular VM start and stop behavior; the problem to solve concerns running fault-tolerant workloads on reclaimable capacity.
Question 381
A compliance group keeps requesting identical project grants within one folder. What higher-scope binding reduces repetitive changes?
- Grant IAM role on the project
- Create a Cloud Identity group
- Grant IAM role at folder scope
- Enable a service API for the project
Explanation
Correct Answer
C:A folder IAM policy passes applicable role grants to descendant resources and projects; it supports delegating access to a hierarchy branch at the appropriate resource scope.
Incorrect Answers
A:Project-level IAM bindings authorize principals in that project and can inherit from ancestors; the supported outcome is granting a principal permissions within a target project, while the requested result is delegating access to a hierarchy branch.
B:This alternative focuses on controlling memberships as a shared identity group; Cloud Identity groups can represent users and be referenced as principals in supported IAM policies; the stem instead asks for delegating access to a hierarchy branch.
D:Service Usage controls API enablement for each project; authorization and billing are separate requirements; it is relevant when activating the needed project API, not when the primary need is delegating access to a hierarchy branch.
Question 382
An automated cleanup process might delete a critical project that other systems depend on. Which Resource Manager control can help block deletion?
- Use a project lien
- Use billing project grouping with folders
- Use project creation permissions at ancestor
- Use project lifecycle restore window
Explanation
Correct Answer
A:A project lien can restrict deletion while the lien remains in place; its effect directly addresses protecting a project from accidental removal.
Incorrect Answers
B:Folder structure governs hierarchy; billing-account linkage is a separate association and can be shared; it is relevant when separating governance via folders while sharing payment, not when the primary need is protecting a project from accidental removal.
C:Project creation and placement require relevant Resource Manager permissions on eligible ancestor resources; the supported outcome is authorizing new-project creation on the intended hierarchy parent, while the requested result is protecting a project from accidental removal.
D:Projects can generally be undeleted during a limited recovery interval before final deletion and data loss; that applies to undeleting a project during its recovery window; the requested task is protecting a project from accidental removal.
Question 383
A database endpoint should use a corporate private suffix visible only to associated VPCs. What Cloud DNS zone is suitable?
- Use Cloud Router
- Use Cloud NAT
- Use Cloud Interconnect
- Use Cloud DNS private zones
Explanation
Correct Answer
D:Private Cloud DNS zones are authorized for specific networks and resolve within those networks; for the stated workload, the practical result is hosting internal DNS records restricted to VPCs.
Incorrect Answers
A:Cloud Router manages dynamic route exchange using BGP for supported hybrid connectivity; this governs learning and advertising prefixes through BGP, whereas the stated objective is hosting internal DNS records restricted to VPCs.
B:Cloud NAT provides managed outbound network address translation for eligible resources without exposing unsolicited inbound endpoints; it is relevant when providing outbound Internet access for privately addressed VMs, not when the primary need is hosting internal DNS records restricted to VPCs.
C:For establishing dedicated or partner private connectivity, this could be relevant; Cloud Interconnect provides supported private connectivity between on-premises networks and Google Cloud through dedicated or partner arrangements; the actual request concerns hosting internal DNS records restricted to VPCs.
Question 384
A project editor cannot view an organization's invoices. What separate access boundary should be checked?
- Use billing account cost reports
- Use billing account export permissions
- Use billing account IAM roles
- Use project billing permissions to link the payer
Explanation
Correct Answer
C:Billing-account IAM permissions control access to financial data and payer operations separately from project IAM; this corresponds to authorizing access to billing account information, not a separate lifecycle action.
Incorrect Answers
A:Cloud Billing Reports offers cost visualization and filtering without first creating a custom data warehouse; that mechanism handles filtering visual cloud billing reports; it does not configure authorizing access to billing account information.
B:The alternative would address authorizing access to the billing export configuration; Setting up a Cloud Billing export requires suitable billing account access and BigQuery destination permissions; the question instead requires authorizing access to billing account information.
D:Managing project billing associations requires the appropriate project and billing account permissions; that solves problems involving authorizing a project-to-billing relationship, rather than the authorizing access to billing account information requirement.
Question 385
An automation must find VMs owned by one cost center without introducing a governance hierarchy. Which metadata mechanism fits?
- Use labels on supported resources
- Create a folder in the resource hierarchy
- Use Resource Manager tags
- Use Cloud Asset Inventory feed
Explanation
Correct Answer
A:The scenario depends on classifying supported resources with key-value labels; Labels are user-defined key-value metadata for organization and billing analysis and are not hierarchical IAM boundaries.
Incorrect Answers
B:Folders provide hierarchical grouping below an organization and above projects, inheriting policies down the tree; that applies to grouping related projects under inherited governance; the requested task is classifying supported resources with key-value labels.
C:Resource Manager tags are centrally defined key-value bindings with policy integrations distinct from ordinary labels; its purpose differs: attaching policy-aware governed metadata to resources is separate from classifying supported resources with key-value labels.
D:Asset feeds publish supported resource changes to Pub/Sub destinations based on a configured scope and content type; this is a distinct control for streaming changes to cloud asset metadata, rather than classifying supported resources with key-value labels.
Question 386
An allow rule appears ineffective because a more specific security rule blocks the same packet. What evaluation property should be checked?
- Use VPC firewall egress deny
- Use firewall priority evaluation
- Use Cloud NGFW hierarchical firewall policies
- Use firewall target service accounts
Explanation
Correct Answer
B:The requirement is resolving precedence between overlapping firewall rules; Firewall policy priority and evaluation hierarchy determine which matching action takes effect.
Incorrect Answers
A:Egress deny rules block matching traffic initiated by selected resources to the configured destinations; its operational role is blocking outbound connections to a destination range; the needed capability is resolving precedence between overlapping firewall rules.
C:Hierarchical firewall policies apply ordered network security rules from organization or folder associations; it would help with enforcing inherited network firewall policies, but it does not directly implement resolving precedence between overlapping firewall rules.
D:This alternative focuses on applying network rules to VM service account targets; VPC firewall rules can use supported service-account selectors to identify target VM interfaces; the stem instead asks for resolving precedence between overlapping firewall rules.
Question 387
A primary Cloud SQL zone could fail, and the application needs a standby that can take over automatically. Which deployment mode fits?
- Use Cloud SQL high availability
- Use Spanner
- Use Firestore
- Use a Cloud SQL private IP
Explanation
Correct Answer
A:The requested administrative outcome is running an HA regional Cloud SQL instance; Cloud SQL regional high availability uses an eligible standby in another zone for failover.
Incorrect Answers
B:Spanner offers managed distributed relational databases with horizontal scale and strong consistency; that applies to providing scalable strongly consistent relational transactions; the requested task is running an HA regional Cloud SQL instance.
C:Firestore stores documents in collections and supports indexed queries and application client integrations; its operational role is using a managed document-oriented database; the needed capability is running an HA regional Cloud SQL instance.
D:Cloud SQL private IP enables private connectivity through the configured network integration; this is a distinct control for connecting to Cloud SQL through private addresses, rather than running an HA regional Cloud SQL instance.
Question 388
A release pipeline should wait for a Kubernetes Deployment rollout to become healthy or fail. Which command is suitable?
- Use kubectl get pods
- Configure Vertical Pod Autoscaler
- Use kubectl rollout status
- Configure GKE kubectl credentials
Explanation
Correct Answer
C:Kubectl rollout status watches a supported resource's rollout progress and reports status; its effect directly addresses monitoring progress of a Deployment rollout.
Incorrect Answers
A:Kubectl get pods lists Pod resources and their summarized readiness and lifecycle information; this governs inspecting Pods in a namespace, whereas the stated objective is monitoring progress of a Deployment rollout.
B:Vertical Pod Autoscaler recommends or manages CPU and memory requests according to its configured mode; that mechanism handles optimizing workload resource requests vertically; it does not configure monitoring progress of a Deployment rollout.
D:The alternative would address retrieving connection details for kubectl; Gcloud container clusters get-credentials adds cluster connection information to kubeconfig for kubectl; the question instead requires monitoring progress of a Deployment rollout.
Question 389
An auditor asks for an exportable snapshot of asset metadata from many projects. Which service supports this request?
- Use a custom organization policy constraint
- Use Gemini Cloud Assist for resource analysis
- Use Resource Manager tags
- Use Cloud Asset Inventory
Explanation
Correct Answer
D:Cloud Asset Inventory indexes supported Google Cloud resource and policy metadata for search, analysis and exports; that behavior is precisely what exporting resource and policy inventory data calls for.
Incorrect Answers
A:Custom organization policy constraints let administrators express supported resource rules using condition expressions; it is relevant when enforcing a supported custom resource rule, not when the primary need is exporting resource and policy inventory data.
B:Gemini Cloud Assist offers context-aware assistance for supported Google Cloud operational and configuration tasks; that applies to obtaining contextual AI help about cloud resources; the requested task is exporting resource and policy inventory data.
C:This alternative focuses on attaching policy-aware governed metadata to resources; Resource Manager tags are centrally defined key-value bindings with policy integrations distinct from ordinary labels; the stem instead asks for exporting resource and policy inventory data.
Question 390
An application team wants namespace-managed Pod identity separation before integrating Google Cloud IAM. Which resource is relevant?
- Restrict federation provider attributes
- Use GKE Kubernetes service accounts
- Use Workload Identity Federation
- Use Workforce Identity Federation
Explanation
Correct Answer
B:Kubernetes ServiceAccounts identify workloads to the Kubernetes API and can participate in GKE workload identity integrations; the decisive property here is using a dedicated Kubernetes service-account principal.
Incorrect Answers
A:Workload identity provider attribute conditions restrict accepted external identity assertions; this governs enforcing attribute-based identity federation conditions, whereas the stated objective is using a dedicated Kubernetes service-account principal.
C:Workload Identity Federation exchanges eligible external workload identities for short-lived Google Cloud credentials; the scenario specifies using a dedicated Kubernetes service-account principal, which differs from accessing cloud APIs from external CI without key files.
D:Workforce Identity Federation lets external workforce identities access supported Google Cloud resources through configured identity pools and providers; the decision here is about using a dedicated Kubernetes service-account principal, not federating workforce identities for cloud administration.