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.
Question 561
A Cloud Run API must query a database using its own workload permissions rather than a developer's user account. What identity should be configured?
- Use Cloud Run ingress settings
- Use a Cloud Run service account
- Choose Cloud Run functions
- Use Cloud Run jobs
Explanation
Correct Answer
B:Cloud Run services can run as a configured service account with IAM-granted permissions; Applied in this case, it delivers authorizing Cloud Run runtime API calls.
Incorrect Answers
A:Cloud Run ingress settings control eligible network sources and front ends allowed to reach a service; its purpose differs: constraining Cloud Run network ingress is separate from authorizing Cloud Run runtime API calls.
C:Cloud Run functions supports managed function deployments with event integration and request-based execution; that mechanism handles processing events with managed functions; it does not configure authorizing Cloud Run runtime API calls.
D: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 authorizing Cloud Run runtime API calls.
Question 562
A serverless application emits the same exception thousands of times, and the team wants it grouped by signature. Which view fits?
- Use Cloud Monitoring Managed Service for Prometheus
- Use Log Analytics
- Use Cloud Profiler profiles
- Use Error Reporting groups
Explanation
Correct Answer
D:Error Reporting recognizes and groups application error events by supported signatures; Applied in this case, it delivers aggregating recurring application stack traces.
Incorrect Answers
A:Managed Service for Prometheus integrates Prometheus-compatible metric collection with Cloud Monitoring storage and querying; this is a distinct control for collecting Prometheus-compatible workload metrics, rather than aggregating recurring application stack traces.
B:For running analytical queries on stored logs, this could be relevant; Log Analytics enables supported SQL analysis over eligible Cloud Logging buckets; the actual request concerns aggregating recurring application stack traces.
C:Cloud Profiler collects supported statistical application profiles that highlight code resource consumption; the supported outcome is identifying CPU-intensive code paths, while the requested result is aggregating recurring application stack traces.
Question 563
A reviewed Terraform change set must be deployed to Google Cloud resources. Which operation performs that change?
- Use a Terraform provider
- Run terraform apply
- Import an existing resource into Terraform state
- Use Terraform for infrastructure provisioning
Explanation
Correct Answer
B:The requested administrative outcome is executing declared infrastructure updates; Terraform apply performs authorized resource changes described by the configuration or saved plan.
Incorrect Answers
A:This alternative focuses on connecting Terraform resources to Google Cloud APIs; the Google Terraform provider maps supported resource schemas to Google Cloud API operations; the stem instead asks for executing declared infrastructure updates.
C:Terraform import associates eligible existing remote objects with resource addresses in state, with configuration alignment still required; the supported outcome is bringing an existing resource under Terraform state, while the requested result is executing declared infrastructure updates.
D:Terraform uses provider-managed declarative resources and state to plan and apply infrastructure changes; it is appropriate for provisioning Google Cloud resources declaratively; here, the deciding requirement is executing declared infrastructure updates.
Question 564
An organization wants VM SSH access controlled through IAM and OS Login rather than scattered instance metadata keys. What should be enabled?
- Use a local SSD
- Use VM startup scripts
- Configure OS Login
- Use a zonal persistent disk
Explanation
Correct Answer
C:OS Login integrates Linux instance access with Google identities and IAM role assignments; for the stated workload, the practical result is centralizing VM SSH identity authorization.
Incorrect Answers
A:Local SSD delivers high-speed instance-local storage that is ephemeral and not a durable system of record; the decision here is about centralizing VM SSH identity authorization, not using low-latency ephemeral instance storage.
B:Compute Engine startup scripts execute configured initialization commands in supported guest environments; the decision here is about centralizing VM SSH identity authorization, not initializing a VM from metadata scripts.
D:Zonal Persistent Disk is persistent block storage tied to one zone and attachable to compatible VMs; it is appropriate for maintaining persistent block data with a VM; here, the deciding requirement is centralizing VM SSH identity authorization.
Question 565
A downstream deployment needs the VPC subnet ID or service endpoint produced by a module. Which Terraform construct exposes it?
- Use Terraform drift detection
- Use Terraform outputs
- Use Terraform variables
- Use a protected service account for IaC
Explanation
Correct Answer
B:Terraform outputs publish selected values from a configuration or module for downstream use; that behavior is precisely what passing provisioned resource identifiers to consumers calls for.
Incorrect Answers
A:This alternative focuses on detecting manually introduced infrastructure configuration drift; Terraform planning and refresh behavior can reveal discrepancies between configured and remote resource state; the stem instead asks for passing provisioned resource identifiers to consumers.
C:Terraform input variables let callers supply environment-specific configuration to reusable definitions; the decision here is about passing provisioned resource identifiers to consumers, not separating environment parameters from shared IaC logic.
D:A dedicated automation service account with narrowly scoped IAM permissions can execute approved IaC changes; it is not the focused action for passing provisioned resource identifiers to consumers; its primary use is separating automated deployment identity from operator login.
Question 566
A dataset is rarely touched, generally once per quarter, but needs online access if required. Which storage class matches?
- Choose Cloud Storage Coldline
- Configure Cloud Storage Autoclass
- Use a multi-region Cloud Storage bucket
- Use Cloud Storage soft delete
Explanation
Correct Answer
A:Coldline is for very infrequently accessed objects with retrieval charges and longer minimum duration; Applied in this case, it delivers economically storing quarterly accessed data.
Incorrect Answers
B:Autoclass automatically manages eligible object storage classes based on access patterns and policy rules; its operational role is adapting object class based on observed access; the needed capability is economically storing quarterly accessed data.
C:Cloud Storage multi-region locations store object data using Google's supported multi-region placement and redundancy model; the scenario specifies economically storing quarterly accessed data, which differs from storing objects across a multi-region location.
D:Soft delete retains eligible deleted object data for a configurable period to allow restoration; Applying it would target temporarily retaining deleted object data, leaving the separate need for economically storing quarterly accessed data.
Question 567
A business application needs a managed PostgreSQL or MySQL database without administering its own VM instance. Which service fits?
- Use Cloud SQL read replicas
- Use a Cloud SQL private IP
- Use Cloud SQL
- Use Cloud SQL high availability
Explanation
Correct Answer
C:Cloud SQL provides managed MySQL, PostgreSQL and SQL Server database instances; its effect directly addresses running a managed relational database engine.
Incorrect Answers
A:The alternative would address offloading read-only queries from the primary; Cloud SQL read replicas provide asynchronously replicated read capacity and do not directly handle primary writes; the question instead requires running a managed relational database engine.
B:Cloud SQL private IP enables private connectivity through the configured network integration; that mechanism handles keeping relational database access on private networking; it does not configure running a managed relational database engine.
D:Cloud SQL regional high availability uses an eligible standby in another zone for failover; it is not the focused action for running a managed relational database engine; its primary use is running an HA regional Cloud SQL instance.
Question 568
An on-call engineer wants status information targeted to subscribed projects rather than only broad public announcements. Which dashboard helps?
- Use Cloud Monitoring workspace scope
- Use Cloud Error Reporting
- Use Cloud Monitoring alert policy
- Use Personalized Service Health
Explanation
Correct Answer
D:Personalized Service Health surfaces Google Cloud incidents relevant to selected environments and products; Applied in this case, it delivers reviewing personalized service incidents.
Incorrect Answers
A:Cloud Monitoring metrics scopes can make data from multiple monitored projects accessible in one scoping project; it would help with establishing multi-project metric visibility, but it does not directly implement reviewing personalized service incidents.
B:Error Reporting groups recognized application errors and summarizes their frequency and impact; the scenario specifies reviewing personalized service incidents, which differs from grouping recurring application exceptions.
C:Monitoring alerting policies evaluate metrics against configured conditions and can open incidents with notifications; that applies to evaluating telemetry conditions and opening alerts; the requested task is reviewing personalized service incidents.
Question 569
A security system needs notifications when tracked cloud asset metadata changes, without continually polling every API. What should be configured?
- Use Cloud Asset Inventory feed
- Use Resource Manager tags
- Use a custom organization policy constraint
- Use labels on supported resources
Explanation
Correct Answer
A:Asset feeds publish supported resource changes to Pub/Sub destinations based on a configured scope and content type; Applied in this case, it delivers streaming changes to cloud asset metadata.
Incorrect Answers
B:The alternative would address attaching policy-aware governed metadata to resources; Resource Manager tags are centrally defined key-value bindings with policy integrations distinct from ordinary labels; the question instead requires streaming changes to cloud asset metadata.
C:Custom organization policy constraints let administrators express supported resource rules using condition expressions; this governs expressing a supported resource-attribute restriction, whereas the stated objective is streaming changes to cloud asset metadata.
D:Labels are user-defined key-value metadata for organization and billing analysis and are not hierarchical IAM boundaries; that applies to classifying supported resources with key-value labels; the requested task is streaming changes to cloud asset metadata.
Question 570
After a deployment, responders need to see whether a genuinely new exception type began appearing. What service helps?
- Use Error Reporting groups
- Use Cloud Monitoring dashboards
- Use Log Analytics
- Use Cloud Trace spans
Explanation
Correct Answer
A:Error Reporting recognizes and groups application error events by supported signatures; it supports tracking distinct application error patterns at the appropriate resource scope.
Incorrect Answers
B:Monitoring dashboards arrange charts and widgets to visualize supported time-series data; it would help with organizing health metrics into operational charts, but it does not directly implement tracking distinct application error patterns.
C:Log Analytics enables supported SQL analysis over eligible Cloud Logging buckets; Applying it would target running analytical queries on stored logs, leaving the separate need for tracking distinct application error patterns.
D:Trace spans describe timed operations within a distributed request for root-cause investigation; the decision here is about tracking distinct application error patterns, not analyzing distributed request timing.