Question 670
An internal-only batch pool must reach software repositories but not accept incoming public sessions. What egress configuration helps?
- Use Connectivity Tests
- Configure Cloud NAT egress for a subnet
- Expand an existing subnet's CIDR
- Add a subnet to a custom VPC
Explanation
Correct Answer
B:Cloud NAT provides managed outbound NAT through a Cloud Router configuration for eligible VPC resources; Applied in this case, it delivers enabling source NAT for private subnet traffic.
Incorrect Answers
A:Network Intelligence Center Connectivity Tests analyzes supported connectivity paths and identifies potential configuration blocks; it is relevant when tracing connectivity through network configuration, not when the primary need is enabling source NAT for private subnet traffic.
C:A subnet's primary IPv4 range can be expanded to a larger supported CIDR under applicable restrictions; it is relevant when increasing primary subnet IP capacity, not when the primary need is enabling source NAT for private subnet traffic.
D:The alternative would address adding regional network segmentation; Subnets are regional resources associated with a VPC and have nonoverlapping ranges as required; the question instead requires enabling source NAT for private subnet traffic.
Question 671
A team needs declarative, version-controlled Google Cloud infrastructure with a plan of proposed changes. Which tool is suitable?
- Use Terraform modules
- Use Kubernetes Config Connector
- Use Helm charts
- Use Terraform for infrastructure provisioning
- Use Fabric FAST
Explanation
Correct Answer
D:What matters is managing reproducible cloud resources as code; Terraform uses provider-managed declarative resources and state to plan and apply infrastructure changes.
Incorrect Answers
A:Terraform modules encapsulate resource definitions and input/output interfaces for reuse; this governs packaging reusable resource configurations, whereas the stated objective is managing reproducible cloud resources as code.
B:Config Connector exposes supported Google Cloud services as Kubernetes custom resources and reconcilers; its operational role is using a Kubernetes control plane for cloud configuration; the needed capability is managing reproducible cloud resources as code.
C:Helm packages and releases parametrized Kubernetes manifests as charts; it is not the focused action for managing reproducible cloud resources as code; its primary use is deploying reusable collections of Kubernetes resources.
E:Fabric FAST supplies a structured foundation automation approach based on infrastructure-as-code modules; this is a distinct control for automating a cloud foundation setup, rather than managing reproducible cloud resources as code.
Question 672
A VM uses the project's default Compute Engine service account but does not need most of its existing rights. What improvement should be made?
- Use Cloud Run runtime identity permission checks
- Avoid default Compute Engine service account overprivilege
- Bind GKE workload identity to IAM
- Use service account for Batch jobs
Explanation
Correct Answer
B:Using dedicated narrowly scoped service accounts reduces accidental privilege sharing across compute resources; it supports replacing broad default workload privileges at the appropriate resource scope.
Incorrect Answers
A:Production API authorization follows the workload's attached service account, not the developer's personal IAM roles; its purpose differs: validating the deployed service's runtime identity is separate from replacing broad default workload privileges.
C:Workload Identity Federation for GKE establishes workload identities that receive supported IAM access without embedded private keys; its operational role is granting Pod-scoped Google Cloud resource access; the needed capability is replacing broad default workload privileges.
D:Batch workloads run under configured service-account identities on underlying compute resources; it is appropriate for granting Batch task instances their required API permissions; here, the deciding requirement is replacing broad default workload privileges.
Question 673
An analyst needs serverless SQL across terabytes of historical event data rather than a transactional application database. Which service fits?
- Use dual-region Cloud Storage
- Use BigQuery
- Use a multi-region Cloud Storage bucket
- Use BigQuery load job from Cloud Storage
- Use Dataflow
Explanation
Correct Answer
B:BigQuery is a managed analytical data warehouse designed for scalable SQL workloads; the decisive property here is performing large-scale SQL analytics.
Incorrect Answers
A:Dual-region buckets provide supported object placement and redundancy across two selected regions; it would help with placing object data across a pair of regions, but it does not directly implement performing large-scale SQL analytics.
C:Cloud Storage multi-region locations store object data using Google's supported multi-region placement and redundancy model; that supports storing objects across a multi-region location; the problem to solve concerns performing large-scale SQL analytics.
D:BigQuery load jobs read supported source objects and create or append data in destination tables; it would help with ingesting object files through warehouse load jobs, but it does not directly implement performing large-scale SQL analytics.
E:Dataflow runs managed batch and streaming pipelines, including Apache Beam workloads; the decision here is about performing large-scale SQL analytics, not processing streaming and batch data pipelines.
Question 674
Monthly charge spikes must be investigated before building custom SQL reports. What built-in billing surface should be used?
- Use project billing permissions to link the payer
- Use billing account cost reports
- Create a Cloud Billing account
- Configure billing export of pricing data
Explanation
Correct Answer
B:Cloud Billing Reports offers cost visualization and filtering without first creating a custom data warehouse; Applied in this case, it delivers filtering visual cloud billing reports.
Incorrect Answers
A:Managing project billing associations requires the appropriate project and billing account permissions; its purpose differs: checking permissions on both project and billing account is separate from filtering visual cloud billing reports.
C:Cloud Billing accounts represent payment and invoicing relationships and can pay for multiple linked projects; that applies to managing cloud payment responsibility; the requested task is filtering visual cloud billing reports.
D:Pricing exports provide pricing-related records to BigQuery separately from detailed usage cost exports; it is appropriate for retrieving price-list data programmatically; here, the deciding requirement is filtering visual cloud billing reports.
Question 675
An error ratio dashboard requires a numeric series derived from selected logs. What should the team define?
- Use log-based counter metric
- Create a log sink to Cloud Storage
- Query logs in Logs Explorer
- Configure a log view
Explanation
Correct Answer
A:Counter log-based metrics count matching Cloud Logging entries and can be charted or alerted on; this is relevant because the outcome sought is turning filtered log patterns into metrics.
Incorrect Answers
B:Cloud Logging sinks can route supported records to Cloud Storage buckets for external retention workflows; it would help with archiving matching logs to object storage, but it does not directly implement turning filtered log patterns into metrics.
C:Logs Explorer filters indexed log entries and displays structured resource labels and payload details; that solves problems involving filtering structured Cloud Logging entries, rather than the turning filtered log patterns into metrics requirement.
D:Log views expose subsets of log bucket entries with access control through IAM; that supports scoping read access to filtered log data; the problem to solve concerns turning filtered log patterns into metrics.
Question 676
An administrator wants consistent snapshot creation without scheduling custom cron scripts on each VM. What should be set up?
- Change a VM machine type
- Use gcloud compute instances describe
- Schedule disk snapshots
- Resize a persistent disk
Explanation
Correct Answer
C:Resource policies can schedule eligible persistent disk snapshots and manage their retention; this is relevant because the outcome sought is applying recurring snapshot policies to disks.
Incorrect Answers
A:VM machine types control vCPU and memory allocations; changing types commonly requires stopping an eligible VM; it is appropriate for adjusting a VM's machine configuration; here, the deciding requirement is applying recurring snapshot policies to disks.
B:The instances describe operation retrieves configuration and status details for a specified VM in its zone; its operational role is retrieving one instance's detailed configuration; the needed capability is applying recurring snapshot policies to disks.
D:Persistent disks can be expanded subject to limits, with guest partition or filesystem growth often still required; Applying it would target expanding an existing persistent disk, leaving the separate need for applying recurring snapshot policies to disks.
Question 677
A security team needs centralized membership management and narrow role grants for audit operators. Which combination is advisable?
- Use Policy Analyzer
- Use access change audit logs
- Use security groups with least privilege
- Use custom role permissions support check
Explanation
Correct Answer
C:Group principals and scoped predefined roles reduce per-user grant management and privilege sprawl; this is the capability needed for managing identities through groups with scoped role bindings.
Incorrect Answers
A:Policy Analyzer can analyze IAM allow relationships using Cloud Asset Inventory data; it would help with investigating access relationships across the hierarchy, but it does not directly implement managing identities through groups with scoped role bindings.
B:For attributing access-policy updates to callers, this could be relevant; Cloud Audit Logs Admin Activity records supported administrative IAM policy changes; the actual request concerns managing identities through groups with scoped role bindings.
D:Not all IAM permissions can be placed in custom roles, and support levels vary by permission; that supports validating permissions permitted in custom roles; the problem to solve concerns managing identities through groups with scoped role bindings.
Question 678
Monthly cost rises unexpectedly even though no budget threshold was crossed. What billing capability can highlight unusual spending patterns?
- Use Cloud Billing credits view
- Configure billing export to BigQuery
- Use billing account cost reports
- Use cost anomaly detection
Explanation
Correct Answer
D:Cloud Billing cost anomaly detection identifies unusual cost changes using billing spending signals; that matches the requirement for detecting atypical spending changes.
Incorrect Answers
A:Billing reports and exports expose applicable credits alongside costs, subject to report and export settings; the supported outcome is examining applicable billing credits, while the requested result is detecting atypical spending changes.
B:The alternative would address exporting billing records for warehouse analysis; Cloud Billing exports send selected cost and pricing information to BigQuery datasets for analysis; the question instead requires detecting atypical spending changes.
C:Cloud Billing Reports offers cost visualization and filtering without first creating a custom data warehouse; it is appropriate for analyzing spend in the Billing Reports interface; here, the deciding requirement is detecting atypical spending changes.
Question 679
Platform changes are deployed from a build runner, with human identities reserved for code approval. Which authentication approach should be used?
- Import an existing resource into Terraform state
- Use a protected service account for IaC
- Use Terraform outputs
- Use a declarative desired-state configuration
Explanation
Correct Answer
B:A dedicated automation service account with narrowly scoped IAM permissions can execute approved IaC changes; that matches the requirement for separating automated deployment identity from operator login.
Incorrect Answers
A:Terraform import associates eligible existing remote objects with resource addresses in state, with configuration alignment still required; that supports linking Terraform configuration to existing resource identity; the problem to solve concerns separating automated deployment identity from operator login.
C:This alternative focuses on exporting values from Terraform-managed infrastructure; Terraform outputs publish selected values from a configuration or module for downstream use; the stem instead asks for separating automated deployment identity from operator login.
D:Declarative infrastructure configuration specifies intended resources while tooling computes the necessary changes; that supports describing target infrastructure state rather than click sequences; the problem to solve concerns separating automated deployment identity from operator login.
Question 680
Analysts can SELECT data from a BigQuery external Parquet table in Cloud Storage, but a workflow now requires UPDATE and DELETE statements on those records. What data-management change should they make?
- Load or materialize the data into a native BigQuery table for supported DML
- Enable Object Versioning on the Parquet bucket
- Use a global external Application Load Balancer
- Apply a Cloud DNS private zone to the BigQuery dataset
Explanation
Correct Answer
A:BigQuery external tables over Cloud Storage files are read-oriented. Native BigQuery tables support applicable data manipulation operations, so the files must first be brought under managed table storage.
Incorrect Answers
B:Versioning preserves older object generations after writes and deletes; it does not make external Parquet files support BigQuery UPDATE or DELETE statements.
C:An Application Load Balancer distributes HTTP(S) traffic and has no role in enabling SQL data manipulation on externally stored objects.
D:Private DNS helps resolve network names. It cannot change the capabilities of an external table backed by object files.