Question 550
A support engineer must inspect one VM's exact attached disks, networking and service account configuration. Which command fits?
- Schedule disk snapshots
- Diagnose OS Login IAM roles
- Resize a persistent disk
- Use IAP TCP forwarding for SSH
- Create a custom image from a disk
- Use gcloud compute instances describe
Explanation
Correct Answer
F:The instances describe operation retrieves configuration and status details for a specified VM in its zone; Applied in this case, it delivers retrieving one instance's detailed configuration.
Incorrect Answers
A:Resource policies can schedule eligible persistent disk snapshots and manage their retention; it is not the focused action for retrieving one instance's detailed configuration; its primary use is automating regular persistent disk snapshots.
B:OS Login uses IAM roles and identities for VM SSH access, superseding metadata-managed key access when enabled; that applies to granting supported OS Login access through IAM; the requested task is retrieving one instance's detailed configuration.
C:The alternative would address expanding an existing persistent disk; Persistent disks can be expanded subject to limits, with guest partition or filesystem growth often still required; the question instead requires retrieving one instance's detailed configuration.
D:This alternative focuses on reaching private VM SSH through IAP TCP tunnels; IAP TCP forwarding can proxy authorized SSH connections without a public VM address when prerequisites are met; the stem instead asks for retrieving one instance's detailed configuration.
E:Custom Compute Engine images provide reusable disk source content for new boot disks; that mechanism handles preparing reusable VM boot images; it does not configure retrieving one instance's detailed configuration.
Question 551
A CI pipeline must obtain scoped tokens for a deployment identity under audited IAM controls. Which delegation method should be configured?
- Use Workforce Identity Federation
- Use short-lived access tokens
- Use IAM service-account impersonation roles
- Grant workload identity user for federation
- Bind GKE workload identity to IAM
Explanation
Correct Answer
C:Service account impersonation lets authorized principals mint short-lived credentials for an account using supported IAM roles; that behavior is precisely what granting token creation on a target service account calls for.
Incorrect Answers
A:Workforce Identity Federation lets external workforce identities access supported Google Cloud resources through configured identity pools and providers; it concerns authorizing human users through external identity federation, and its normal effect does not provide granting token creation on a target service account.
B:Short-lived OAuth access tokens restrict credential lifetime and can be generated using supported identity mechanisms; the scenario specifies granting token creation on a target service account, which differs from limiting credential validity through expiration.
D:Workload Identity User can permit eligible federated identities to access a target service account through supported federation flows; the supported outcome is authorizing federated principals to use a service account, while the requested result is granting token creation on a target service account.
E:Workload Identity Federation for GKE establishes workload identities that receive supported IAM access without embedded private keys; it concerns connecting GKE workload identity to cloud IAM permissions, and its normal effect does not provide granting token creation on a target service account.
Question 552
A security team wants to answer which principals can access one sensitive resource through all relevant IAM allow paths. What tool helps?
- Grant roles to a Google group
- Use Policy Analyzer
- Use IAM Conditions
- Use IAM deny policies
- Bind IAM role at organization scope
Explanation
Correct Answer
B:Policy Analyzer can analyze IAM allow relationships using Cloud Asset Inventory data; the decisive property here is investigating access relationships across the hierarchy.
Incorrect Answers
A:Google groups can be IAM principals, with access evaluated through applicable group membership; it would help with managing many users' access through group membership, but it does not directly implement investigating access relationships across the hierarchy.
C:IAM Conditions attach supported CEL expressions to role bindings to restrict when permissions apply; it is appropriate for restricting IAM bindings with expressions; here, the deciding requirement is investigating access relationships across the hierarchy.
D:IAM deny policies can block eligible permissions for matching principals despite otherwise applicable allow grants; that solves problems involving overriding applicable allows with a deny, rather than the investigating access relationships across the hierarchy requirement.
E:Organization-level IAM allow bindings generally propagate to eligible child resources; that solves problems involving granting organization-wide audit access, rather than the investigating access relationships across the hierarchy requirement.
Question 553
An external automation service must present its organization's OIDC identity and map claims into a Google Cloud workload identity pool. Which resource is involved?
- Bind GKE workload identity to IAM
- Use Workload Identity Federation
- Use workload identity pool provider
- Use GKE Kubernetes service accounts
Explanation
Correct Answer
C:Workload identity pool providers define trust and attribute mapping for supported external issuers; the decisive property here is trusting a configured external workload issuer.
Incorrect Answers
A:Workload Identity Federation for GKE establishes workload identities that receive supported IAM access without embedded private keys; it is appropriate for granting Pod-scoped Google Cloud resource access; here, the deciding requirement is trusting a configured external workload issuer.
B:Workload Identity Federation exchanges eligible external workload identities for short-lived Google Cloud credentials; its operational role is accessing cloud APIs from external CI without key files; the needed capability is trusting a configured external workload issuer.
D:Kubernetes ServiceAccounts identify workloads to the Kubernetes API and can participate in GKE workload identity integrations; this is a distinct control for using a dedicated Kubernetes service-account principal, rather than trusting a configured external workload issuer.
Question 554
A managed Google Cloud product stops functioning after IAM cleanup. Which account role grants should be reviewed first?
- Protect service agent roles
- Use service account impersonation audit trail
- Use signed URL delegation with service account
- Use service account delegation chain
Explanation
Correct Answer
A:Service-agent roles often enable internal Google-managed operations and should not be casually reassigned or deleted; for the stated workload, the practical result is checking whether service-agent privileges were inadvertently removed.
Incorrect Answers
B:Relevant audit logs for IAM Credentials operations can attribute supported credential issuance under appropriate logging configuration; the decision here is about checking whether service-agent privileges were inadvertently removed, not auditing service-account token minting.
C:Authorized service account signing can generate Cloud Storage signed URLs for temporary operation-specific access; it would help with signing controlled object access requests, but it does not directly implement checking whether service-agent privileges were inadvertently removed.
D:IAM Credentials supports delegated impersonation chains when each principal has required token creation permissions; it is appropriate for delegating identity through authorized account hops; here, the deciding requirement is checking whether service-agent privileges were inadvertently removed.
Question 555
A security operations platform should consume matching Cloud Logging entries as a near-real-time event stream. Which destination fits?
- Create a log sink to Pub/Sub
- Use Cloud Audit Logs System Event
- Create a dedicated log bucket
- Configure log exclusions
Explanation
Correct Answer
A:Log sinks can publish matched log records to an authorized Pub/Sub topic; it supports forwarding logs to an event subscriber at the appropriate resource scope.
Incorrect Answers
B:System Event audit logs record supported Google Cloud system operations modifying resource configurations; its operational role is reviewing Google-managed operational changes; the needed capability is forwarding logs to an event subscriber.
C:Cloud Logging log buckets store ingested logs with configurable retention and access controls; its purpose differs: isolating log retention and access settings is separate from forwarding logs to an event subscriber.
D:Logging exclusions and sink filters can prevent eligible entries from being routed to selected log buckets; that solves problems involving filtering low-value logs out of ingestion paths, rather than the forwarding logs to an event subscriber requirement.
Question 556
Cloud resources have been idle for weeks, and management seeks provider-generated advice before downsizing them. What capability should be consulted?
- Use Cloud Audit Logs Admin Activity
- Use Active Assist recommendations
- Use Recommender API
- Use Cloud Audit Logs Data Access
Explanation
Correct Answer
B:Active Assist produces eligible recommendations and insights about efficiency, reliability, security and cost; this is the specific mechanism used for reviewing rightsizing and efficiency recommendations.
Incorrect Answers
A:Admin Activity audit logs capture supported resource configuration and permission management events; Applying it would target reviewing administrative audit actions, leaving the separate need for reviewing rightsizing and efficiency recommendations.
C:The Recommender API exposes supported resource recommendations and insights programmatically; it would help with integrating provider resource recommendations into automation, but it does not directly implement reviewing rightsizing and efficiency recommendations.
D:Data Access audit logs capture supported data reads and writes and may require explicit enablement depending on service and category; that solves problems involving auditing supported data-plane access events, rather than the reviewing rightsizing and efficiency recommendations requirement.
Question 557
A service should accept calls only through permitted internal or load-balanced paths instead of unrestricted Internet ingress. Which control addresses entry path?
- Use Cloud Run maximum instances
- Use Cloud Run ingress settings
- Use Cloud Run minimum instances
- Use a Cloud Run service account
Explanation
Correct Answer
B:The requirement is constraining Cloud Run network ingress; Cloud Run ingress settings control eligible network sources and front ends allowed to reach a service.
Incorrect Answers
A:Maximum instances constrain how far Cloud Run instance scaling can grow under configured conditions; it would help with bounding Cloud Run instance scaling, but it does not directly implement constraining Cloud Run network ingress.
C:Minimum instances keep a configured baseline of Cloud Run capacity provisioned with associated billing consequences; it is not the focused action for constraining Cloud Run network ingress; its primary use is maintaining warm serverless instances.
D:Cloud Run services can run as a configured service account with IAM-granted permissions; the supported outcome is separating runtime permissions from deployer access, while the requested result is constraining Cloud Run network ingress.
Question 558
During production traffic peaks, a Cloud Run service scales out more aggressively than its dependent database can support. Which service autoscaling setting should the operator adjust?
- Split Cloud Run revision traffic
- Roll back Cloud Run traffic
- Update Cloud Run maximum instances setting
- Check Cloud Run revision logs
Explanation
Correct Answer
C:The requirement is limiting Cloud Run autoscaled instance count; Cloud Run maximum instances configures an upper scaling limit while documented transient overages can occur and capacity limits are not a substitute for downstream protection.
Incorrect Answers
A:Cloud Run traffic allocation assigns configured percentages to eligible service revisions; the decision here is about limiting Cloud Run autoscaled instance count, not gradually shifting traffic between Cloud Run revisions.
B:Cloud Run can shift service traffic back to a previous retained revision without requiring another build; it is not the focused action for limiting Cloud Run autoscaled instance count; its primary use is reverting request routing to an earlier Cloud Run revision.
D:Cloud Run integrates request and container logs with Cloud Logging for revision-focused diagnosis; it would help with troubleshooting Cloud Run container logs, but it does not directly implement limiting Cloud Run autoscaled instance count.
Question 559
A security lake must receive chosen project log entries without manual CSV exports. What should be configured?
- Create a Logs Router sink to BigQuery
- Configure a log view
- Create a dedicated log bucket
- Use log-based counter metric
Explanation
Correct Answer
A:Logs Router sinks select entries using filters and export to authorized supported destinations; for the stated workload, the practical result is routing selected logs into a BigQuery dataset.
Incorrect Answers
B:Log views expose subsets of log bucket entries with access control through IAM; that applies to scoping read access to filtered log data; the requested task is routing selected logs into a BigQuery dataset.
C:Cloud Logging log buckets store ingested logs with configurable retention and access controls; the supported outcome is organizing logs into a governed storage bucket, while the requested result is routing selected logs into a BigQuery dataset.
D:Counter log-based metrics count matching Cloud Logging entries and can be charted or alerted on; that solves problems involving counting matched log records over time, rather than the routing selected logs into a BigQuery dataset requirement.
Question 560
An operations team should see application logs but not sensitive security audit records stored nearby. Which filtering access mechanism helps?
- Configure a log view
- Create a log sink to Pub/Sub
- Use log-based counter metric
- Create a Logs Router sink to BigQuery
Explanation
Correct Answer
A:Log views expose subsets of log bucket entries with access control through IAM; this is the specific mechanism used for limiting log visibility to selected entries.
Incorrect Answers
B:Log sinks can publish matched log records to an authorized Pub/Sub topic; the scenario specifies limiting log visibility to selected entries, which differs from forwarding logs to an event subscriber.
C:The alternative would address turning filtered log patterns into metrics; Counter log-based metrics count matching Cloud Logging entries and can be charted or alerted on; the question instead requires limiting log visibility to selected entries.
D:This alternative focuses on streaming matching log records to analytics storage; Logs Router sinks select entries using filters and export to authorized supported destinations; the stem instead asks for limiting log visibility to selected entries.