Question 300
Operations wants to aggregate error events through SQL directly in Cloud Logging's analytics experience. Which tool applies?
- Create a Logs Router sink to BigQuery
- Create a log sink to Cloud Storage
- Use log-based counter metric
- Use Log Analytics
Explanation
Correct Answer
D:Log Analytics enables supported SQL analysis over eligible Cloud Logging buckets; that matches the requirement for running analytical queries on stored logs.
Incorrect Answers
A:Logs Router sinks select entries using filters and export to authorized supported destinations; that supports routing selected logs into a BigQuery dataset; the problem to solve concerns running analytical queries on stored logs.
B:Cloud Logging sinks can route supported records to Cloud Storage buckets for external retention workflows; that supports archiving matching logs to object storage; the problem to solve concerns running analytical queries on stored logs.
C:Counter log-based metrics count matching Cloud Logging entries and can be charted or alerted on; its operational role is turning filtered log patterns into metrics; the needed capability is running analytical queries on stored logs.
Question 301
A VPC should resolve selected on-premises DNS zones through corporate DNS servers. Which DNS configuration is appropriate?
- Use Network Topology
- Use Connectivity Tests
- Use Cloud DNS forwarding zone
- Use Network Intelligence Center routes analysis
Explanation
Correct Answer
C:Forwarding zones send matching DNS queries to configured target resolvers using supported connectivity; the decisive property here is forwarding private namespace lookups to enterprise DNS.
Incorrect Answers
A:Network Topology presents a graphical network representation from supported topology and telemetry data; its operational role is visualizing cloud network infrastructure and flows; the needed capability is forwarding private namespace lookups to enterprise DNS.
B:Network Intelligence Center Connectivity Tests analyzes supported connectivity paths and identifies potential configuration blocks; this governs tracing connectivity through network configuration, whereas the stated objective is forwarding private namespace lookups to enterprise DNS.
D:Network Intelligence Center and route diagnostics expose supported route and connectivity insights; Applying it would target troubleshooting network route visibility, leaving the separate need for forwarding private namespace lookups to enterprise DNS.
Question 302
A group of contractors should receive identical project access and be removed centrally at contract end. Which binding approach minimizes repetitive edits?
- Use an IAM policy binding to a group
- Use Google Cloud console's API Library
- Configure group synchronization
- Use Cloud Identity administrative console
Explanation
Correct Answer
A:An IAM policy can bind a role to a group principal so members receive its permissions through membership; this corresponds to granting access to a group principal, not a separate lifecycle action.
Incorrect Answers
B:The API Library exposes available services and enables APIs in the selected project subject to access rules; its purpose differs: enabling a selected service from the API Library is separate from granting access to a group principal.
C:Directory synchronization keeps supported Google identities and group records aligned with a source directory; Applying it would target keeping cloud groups aligned with an authoritative directory, leaving the separate need for granting access to a group principal.
D:The Google Admin console manages supported Cloud Identity directory users, groups and account settings; the supported outcome is managing Cloud Identity account lifecycle, while the requested result is granting access to a group principal.
Question 303
A batch Apache Beam job finished early with errors; engineers need its step metrics and failure messages. Where should they look?
- Use BigQuery clustered tables
- Check Cloud SQL connection limits
- Check Dataflow job monitoring
- Use Pub/Sub acknowledgement
Explanation
Correct Answer
C:The requirement is examining managed data-processing job health; Dataflow jobs expose monitoring graphs, stage metrics, logs and execution status for operational diagnosis.
Incorrect Answers
A:BigQuery clustering organizes storage blocks by selected columns to improve eligible query pruning; this is a distinct control for improving pruning within clustered storage blocks, rather than examining managed data-processing job health.
B:For diagnosing exhaustion of database connections, this could be relevant; Cloud SQL and underlying database engines have connection capacity considerations requiring pooling and appropriate instance sizing; the actual request concerns examining managed data-processing job health.
D:Pub/Sub acknowledgements mark delivered messages as handled for that subscription under applicable delivery guarantees; it is relevant when acknowledging successfully processed messages, not when the primary need is examining managed data-processing job health.
Question 304
A Standard GKE cluster has Pending Pods because its node pool lacks allocatable CPU. Which capability can add worker nodes?
- Enable GKE node autoscaling
- Use Kubernetes Service
- Scale a Kubernetes Deployment replica count
- Configure GKE kubectl credentials
Explanation
Correct Answer
A:GKE cluster autoscaler adjusts supported node pool size to accommodate pending workload requests; this is the specific mechanism used for scaling Kubernetes worker node count.
Incorrect Answers
B:Kubernetes Services select endpoints and provide stable discovery or networking for matching Pods; it would help with routing traffic to an application Pod set, but it does not directly implement scaling Kubernetes worker node count.
C:The Deployment replicas setting controls desired Pod replicas managed through ReplicaSets; that mechanism handles changing Deployment-managed Pod replicas; it does not configure scaling Kubernetes worker node count.
D:Gcloud container clusters get-credentials adds cluster connection information to kubeconfig for kubectl; it is not the focused action for scaling Kubernetes worker node count; its primary use is retrieving connection details for kubectl.
Question 305
A compute task needs extremely fast temporary local scratch space and can regenerate the data when the instance is lost. Which disk choice fits?
- Use Confidential VM
- Use a local SSD
- Use a regional persistent disk
- Use a custom VM image
Explanation
Correct Answer
B:The requirement is using low-latency ephemeral instance storage; Local SSD delivers high-speed instance-local storage that is ephemeral and not a durable system of record.
Incorrect Answers
A:Confidential VM uses hardware confidential-computing capabilities to protect supported workloads during execution; that supports protecting data in use on supported VMs; the problem to solve concerns using low-latency ephemeral instance storage.
C:Regional Persistent Disk provides synchronously replicated block storage across two zones with applicable failover considerations; its operational role is replicating block storage between zones; the needed capability is using low-latency ephemeral instance storage.
D:Custom images capture disk contents for compatible boot or data disk creation; it would help with reusing a prepared boot image across instances, but it does not directly implement using low-latency ephemeral instance storage.
Question 306
Several application service projects must deploy resources into centrally administered network subnets. Which structure supports this?
- Use Cloud Interconnect
- Use Cloud NAT
- Use a Shared VPC host project
- Create a custom-mode VPC
- Use HA VPN
Explanation
Correct Answer
C:Shared VPC allows service projects to use subnets from a host project's shared network under delegated access; its effect directly addresses centralizing network ownership across projects.
Incorrect Answers
A:The alternative would address connecting a private circuit to Google's network; Cloud Interconnect provides supported private connectivity between on-premises networks and Google Cloud through dedicated or partner arrangements; the question instead requires centralizing network ownership across projects.
B:Cloud NAT provides managed outbound network address translation for eligible resources without exposing unsolicited inbound endpoints; the supported outcome is allowing source-NAT egress without public VM interfaces, while the requested result is centralizing network ownership across projects.
D:Custom-mode VPC networks have no automatically created regional subnets and let administrators add them explicitly; its purpose differs: choosing subnet ranges intentionally for a new network is separate from centralizing network ownership across projects.
E:HA VPN uses regional high-availability gateways with two interfaces and supports Cloud Router dynamic routing; its purpose differs: designing a highly available VPN connection is separate from centralizing network ownership across projects.
Question 307
A worker has internal IP only and needs outbound connections to public APIs while refusing unsolicited inbound connections. What egress option fits?
- Use Cloud DNS public managed zones
- Use Cloud VPN
- Use Cloud NAT
- Use HA VPN
Explanation
Correct Answer
C:The requirement is allowing source-NAT egress without public VM interfaces; Cloud NAT provides managed outbound network address translation for eligible resources without exposing unsolicited inbound endpoints.
Incorrect Answers
A:Public managed zones publish authoritative DNS records reachable through the public DNS hierarchy; it is not the focused action for allowing source-NAT egress without public VM interfaces; its primary use is hosting public authoritative zone records.
B:Cloud VPN provides managed IPsec VPN tunnels for hybrid network connectivity; the decision here is about allowing source-NAT egress without public VM interfaces, not establishing encrypted site-to-cloud tunnels.
D:For designing a highly available VPN connection, this could be relevant; HA VPN uses regional high-availability gateways with two interfaces and supports Cloud Router dynamic routing; the actual request concerns allowing source-NAT egress without public VM interfaces.
Question 308
Many private hosts share outbound NAT and the team suspects NAT exhaustion. What telemetry should be enabled?
- Use firewall rules logging
- Inspect effective VPC routes
- Inspect Cloud NAT logs
- Use packet mirroring
Explanation
Correct Answer
C:Cloud NAT logging records supported NAT translation and error information for troubleshooting; that behavior is precisely what investigating outbound translation events calls for.
Incorrect Answers
A:Firewall logging produces Cloud Logging records for matching supported firewall rule traffic; it would help with recording network firewall policy matches, but it does not directly implement investigating outbound translation events.
B:Effective route information shows applicable VPC paths and helps diagnose destination selection; it is appropriate for diagnosing the actual selected network route; here, the deciding requirement is investigating outbound translation events.
D:Packet Mirroring duplicates eligible VM packet traffic to configured collector backends; it concerns mirroring network traffic for inspection, and its normal effect does not provide investigating outbound translation events.
Question 309
Finance wants warnings when forecast spending approaches a threshold, without stopping workloads. What should it create?
- Apply labels for cost attribution
- Configure budget Pub/Sub notifications
- Create a billing budget
- Use cost anomaly detection
Explanation
Correct Answer
C:The requirement is notifying owners of spending thresholds; Cloud Billing budgets evaluate costs against thresholds and issue alerts but do not directly cap or halt usage.
Incorrect Answers
A:Supported labels can be surfaced in billing exports and filters to allocate eligible costs; this governs grouping labeled resource cost records, whereas the stated objective is notifying owners of spending thresholds.
B:The alternative would address integrating spending notifications with an event consumer; Budget notifications can be published through Pub/Sub for downstream automation to process; the question instead requires notifying owners of spending thresholds.
D:Cloud Billing cost anomaly detection identifies unusual cost changes using billing spending signals; that applies to surfacing anomalous billing behavior; the requested task is notifying owners of spending thresholds.
Question 310
A new project's billable service provisioning is blocked because no active payer is associated. What should be fixed?
- Create a Cloud Billing account
- Configure budget Pub/Sub notifications
- Link a project to a billing account
- Use billing account cost reports
- Use billing account export permissions
Explanation
Correct Answer
C:A project must be linked to an active billing account to consume many chargeable services; that behavior is precisely what associating the project with an active payer calls for.
Incorrect Answers
A:Cloud Billing accounts represent payment and invoicing relationships and can pay for multiple linked projects; this is a distinct control for establishing a billing payer, rather than associating the project with an active payer.
B:This alternative focuses on integrating spending notifications with an event consumer; Budget notifications can be published through Pub/Sub for downstream automation to process; the stem instead asks for associating the project with an active payer.
D:Cloud Billing Reports offers cost visualization and filtering without first creating a custom data warehouse; the scenario specifies associating the project with an active payer, which differs from filtering visual cloud billing reports.
E:Setting up a Cloud Billing export requires suitable billing account access and BigQuery destination permissions; its operational role is authorizing access to the billing export configuration; the needed capability is associating the project with an active payer.