Question 420
A support engineer asks if a predefined role includes permission to delete an instance. What should the administrator examine?
- Use IAM policy version 3 for conditions
- Use custom role permissions support check
- Use time-based IAM Condition
- Grant roles to a service account
- Create a custom IAM role
- Review IAM role permissions
Explanation
Correct Answer
F:Role definitions enumerate included permissions; role names alone do not guarantee a specific API action; the decisive property here is confirming included permissions in an IAM role.
Incorrect Answers
A:IAM allow policy version 3 supports conditional role bindings and should be requested when managing conditions; that solves problems involving retrieving condition-aware IAM policy data, rather than the confirming included permissions in an IAM role requirement.
B:This alternative focuses on checking custom-role eligibility for IAM permissions; Not all IAM permissions can be placed in custom roles, and support levels vary by permission; the stem instead asks for confirming included permissions in an IAM role.
C:A conditional IAM binding can compare request time with an expiry condition for supported access checks; this governs limiting role authorization to an approved time window, whereas the stated objective is confirming included permissions in an IAM role.
D:For authorizing nonhuman workload API access, this could be relevant; Service accounts are IAM principals that represent applications or compute workloads and can receive roles; the actual request concerns confirming included permissions in an IAM role.
E:Custom roles let eligible administrators define a chosen set of supported IAM permissions; that solves problems involving combining supported permissions into a custom role, rather than the confirming included permissions in an IAM role requirement.
Question 421
An audit identifies stale service accounts that are no longer used and have been approved for deletion. What cleanup operation applies?
- Attach a service account to Cloud Run
- Grant target resource role to service account
- Avoid exporting service account keys
- Delete obsolete service account
- Create a dedicated service account
Explanation
Correct Answer
D:Deleting a service account removes its identity; accidental deletion may have limited recovery options and affect dependencies; this corresponds to eliminating unused service-account principals, not a separate lifecycle action.
Incorrect Answers
A:Cloud Run services use configured runtime service accounts for Google Cloud API calls; the decision here is about eliminating unused service-account principals, not running the container as a selected service account.
B:Attaching an account establishes identity but the service account still needs IAM permissions on the resources it accesses; that supports authorizing the account on the target resource; the problem to solve concerns eliminating unused service-account principals.
C:Managed service-account credentials are generally safer than downloadable private keys because the platform supplies short-lived tokens; the supported outcome is using workload-attached credentials instead of embedded secrets, while the requested result is eliminating unused service-account principals.
E:Dedicated service accounts provide separate nonhuman identities for workloads and make IAM grants auditable; it is appropriate for providing each workload with a distinct IAM principal; here, the deciding requirement is eliminating unused service-account principals.
Question 422
An enterprise separates production and test billing and IAM. Where should it create an independently governed workload container?
- Inspect the effective organization policy
- Apply an organization policy constraint
- Set an organization policy at the folder
- Create a project under an organization folder
Explanation
Correct Answer
D:A Google Cloud project is the primary boundary for enabled services, resources, IAM and many quotas; this corresponds to isolating a workload in its own project, not a separate lifecycle action.
Incorrect Answers
A:Effective organization policies reflect applicable ancestors and overrides; an IAM role cannot bypass a conflicting constraint; this is a distinct control for identifying effective policy restrictions on a resource, rather than isolating a workload in its own project.
B:Organization Policy Service evaluates supported constraints along the resource hierarchy independently of ordinary IAM grants; its purpose differs: preventing disallowed resource settings through policy is separate from isolating a workload in its own project.
C:A policy attached at a folder is inherited by descendants according to constraint rules without affecting unrelated sibling branches; it is relevant when targeting the restriction to one hierarchy branch, not when the primary need is isolating a workload in its own project.
Question 423
An operator suspects production resources no longer match version-controlled Terraform. Which pre-apply inspection helps reveal differences?
- Use Terraform outputs
- Import an existing resource into Terraform state
- Use Terraform drift detection
- Use a version-controlled IaC repository
Explanation
Correct Answer
C:Terraform planning and refresh behavior can reveal discrepancies between configured and remote resource state; this is relevant because the outcome sought is comparing actual resources to declared IaC state.
Incorrect Answers
A:Terraform outputs publish selected values from a configuration or module for downstream use; the supported outcome is exporting values from Terraform-managed infrastructure, while the requested result is comparing actual resources to declared IaC state.
B:Terraform import associates eligible existing remote objects with resource addresses in state, with configuration alignment still required; that mechanism handles bringing an existing resource under Terraform state; it does not configure comparing actual resources to declared IaC state.
D:Version control tracks infrastructure definitions, reviews and history across deployments; it concerns tracking proposed configuration changes in source control, and its normal effect does not provide comparing actual resources to declared IaC state.
Question 424
An application pipeline must retrieve a managed resource name from a completed IaC deployment. What configuration element can publish it?
- Use Terraform outputs
- Use a version-controlled IaC repository
- Use a protected service account for IaC
- Use a declarative desired-state configuration
Explanation
Correct Answer
A:The requested administrative outcome is exporting values from Terraform-managed infrastructure; Terraform outputs publish selected values from a configuration or module for downstream use.
Incorrect Answers
B:Version control tracks infrastructure definitions, reviews and history across deployments; it is relevant when tracking proposed configuration changes in source control, not when the primary need is exporting values from Terraform-managed infrastructure.
C:A dedicated automation service account with narrowly scoped IAM permissions can execute approved IaC changes; the scenario specifies exporting values from Terraform-managed infrastructure, which differs from separating automated deployment identity from operator login.
D:Declarative infrastructure configuration specifies intended resources while tooling computes the necessary changes; that solves problems involving describing target infrastructure state rather than click sequences, rather than the exporting values from Terraform-managed infrastructure requirement.
Question 425
A team needs a repeatable at-a-glance view of latency, CPU and errors. Which product object should it create?
- Use Personalized Service Health
- Create a Cloud Monitoring dashboard
- Use an alerting notification channel
- Use Cloud Audit Logs
Explanation
Correct Answer
B:Cloud Monitoring dashboards arrange metrics and supported visual widgets for operational visibility; for the stated workload, the practical result is presenting multiple metrics in one visual operations view.
Incorrect Answers
A:Personalized Service Health surfaces Google Cloud incidents relevant to selected environments and products; this is a distinct control for assessing product incidents affecting an organization, rather than presenting multiple metrics in one visual operations view.
C:Notification channels specify supported endpoints to which alerting policies send incident notifications; it would help with routing alert notifications to responders, but it does not directly implement presenting multiple metrics in one visual operations view.
D:Cloud Audit Logs records supported administrative and access activity with audit-log type distinctions; that supports reviewing authorized administrative API activity; the problem to solve concerns presenting multiple metrics in one visual operations view.
Question 426
A deployment is unhealthy and an engineer needs to see current Pod readiness and status. Which Kubernetes command fits?
- Configure Horizontal Pod Autoscaler
- Use kubectl rollout status
- Configure Vertical Pod Autoscaler
- Use kubectl get pods
Explanation
Correct Answer
D:Kubectl get pods lists Pod resources and their summarized readiness and lifecycle information; it is the direct control for inspecting Pods in a namespace.
Incorrect Answers
A:Horizontal Pod Autoscaler adjusts supported workload replica counts using resource or custom metrics; it concerns autoscaling Kubernetes workloads horizontally, and its normal effect does not provide inspecting Pods in a namespace.
B:Kubectl rollout status watches a supported resource's rollout progress and reports status; it is not the focused action for inspecting Pods in a namespace; its primary use is checking whether a rollout completes.
C:Vertical Pod Autoscaler recommends or manages CPU and memory requests according to its configured mode; that applies to tuning container resource requests; the requested task is inspecting Pods in a namespace.
Question 427
A global Internet-facing application values Google's premium backbone and global networking features. Which Network Service Tier fits?
- Choose global external Application Load Balancer
- Use Standard Network Service Tier
- Choose external passthrough Network Load Balancer
- Use Premium Network Service Tier
Explanation
Correct Answer
D:Premium Tier uses Google's premium network and is required for certain global connectivity features; that matches the requirement for using Premium-tier global networking capabilities.
Incorrect Answers
A:Global external Application Load Balancers manage public HTTP(S) traffic using proxy-based layer-seven routing; it is not the focused action for using Premium-tier global networking capabilities; its primary use is routing global HTTPS traffic by application rules.
B:Standard Tier routes eligible traffic with more reliance on the public Internet and has feature limitations; the decision here is about using Premium-tier global networking capabilities, not selecting a lower-cost regional networking tier.
C:External passthrough Network Load Balancers distribute eligible TCP or UDP traffic to supported backends without terminating application protocols; that mechanism handles balancing external TCP or UDP traffic without proxy termination; it does not configure using Premium-tier global networking capabilities.
Question 428
A critical Kubernetes control plane and node fleet need zonal resilience within one region. Which cluster topology supports this?
- Use Artifact Registry
- Choose GKE Autopilot
- Use private GKE nodes
- Use a GKE regional cluster
Explanation
Correct Answer
D:Regional GKE clusters replicate supported control-plane and node components across multiple zones; for the stated workload, the practical result is reducing single-zone GKE dependency.
Incorrect Answers
A:This alternative focuses on storing and distributing container artifacts; Artifact Registry stores supported packages and container images in access-controlled repositories; the stem instead asks for reducing single-zone GKE dependency.
B:For deploying Kubernetes workloads without self-managed node pools, this could be relevant; GKE Autopilot automates many cluster and node infrastructure tasks while retaining Kubernetes workload interfaces; the actual request concerns reducing single-zone GKE dependency.
C:Private GKE nodes use internal addresses and can reach required endpoints via authorized private or egress paths; this governs keeping GKE node interfaces privately addressed, whereas the stated objective is reducing single-zone GKE dependency.
Question 429
A streaming pipeline appears to lag and operators need per-stage throughput and worker diagnostics. Which monitoring surface fits?
- Use BigQuery partitioned tables
- Check Dataflow job monitoring
- Use Pub/Sub seek or snapshot
- Use BigQuery dry run
Explanation
Correct Answer
B:Dataflow jobs expose monitoring graphs, stage metrics, logs and execution status for operational diagnosis; this is relevant because the outcome sought is investigating Dataflow pipeline execution state.
Incorrect Answers
A:Partitioned BigQuery tables organize rows into partitions that can be pruned by appropriate filters; the decision here is about investigating Dataflow pipeline execution state, not pruning partitions using date filters.
C:Pub/Sub seek and snapshots support eligible replay or subscription position recovery within retention constraints; that applies to replaying retained subscription messages; the requested task is investigating Dataflow pipeline execution state.
D:BigQuery dry runs validate supported queries and estimate bytes processed without executing the query; that supports previewing query processing estimates; the problem to solve concerns investigating Dataflow pipeline execution state.
Question 430
An instance has no public IP and the security team disallows bastion access; an authorized user still needs SSH. Which access method helps?
- Use IAP TCP forwarding for SSH
- Use gcloud compute instances list
- Create a custom image from a disk
- Create an instance from an image
Explanation
Correct Answer
A:The requested administrative outcome is tunneling SSH through identity-aware access; IAP TCP forwarding can proxy authorized SSH connections without a public VM address when prerequisites are met.
Incorrect Answers
B:For obtaining current VM inventory data, this could be relevant; the instances list command queries Compute Engine VM metadata and supports filters and output formatting; the actual request concerns tunneling SSH through identity-aware access.
C:For preparing reusable VM boot images, this could be relevant; Custom Compute Engine images provide reusable disk source content for new boot disks; the actual request concerns tunneling SSH through identity-aware access.
D:VM boot disks can be initialized from public or custom images in compatible configurations; this is a distinct control for provisioning new machines from a standard OS image, rather than tunneling SSH through identity-aware access.