Question 660
A reporting team needs a portable SQL dump or supported export file saved to a bucket. What database operation fits?
- Use Firestore scheduled backups
- Use Cloud SQL Enterprise Plus index advisor
- Use Database Center
- Check Cloud SQL connection limits
- Use Cloud SQL export to Cloud Storage
Explanation
Correct Answer
E:Cloud SQL export writes supported database export formats to authorized Cloud Storage destinations; it supports exporting Cloud SQL content to object storage at the appropriate resource scope.
Incorrect Answers
A:Firestore scheduled backups support daily or weekly database snapshots and restoration to a new database while retaining configurable backup copies; it would help with creating scheduled recovery snapshots for Firestore, but it does not directly implement exporting Cloud SQL content to object storage.
B:Cloud SQL index advisor generates index recommendations on supported Enterprise Plus instances with the required Query Insights features enabled; that mechanism handles finding query-driven index creation recommendations; it does not configure exporting Cloud SQL content to object storage.
C:The alternative would address observing a fleet of cloud databases; Database Center offers fleet-level information and insights for supported Google Cloud database services; the question instead requires exporting Cloud SQL content to object storage.
D:For aligning client concurrency with database connection capacity, this could be relevant; Cloud SQL and underlying database engines have connection capacity considerations requiring pooling and appropriate instance sizing; the actual request concerns exporting Cloud SQL content to object storage.
Question 661
Microservices need private HTTP routing within a VPC with host and path decisions. Which balancer should be configured?
- Choose internal passthrough Network Load Balancer
- Use Standard Network Service Tier
- Choose internal Application Load Balancer
- Use Premium Network Service Tier
- Choose external passthrough Network Load Balancer
Explanation
Correct Answer
C:The requested administrative outcome is routing internal application requests at layer seven; Internal Application Load Balancers proxy private HTTP(S) traffic to configured backends.
Incorrect Answers
A:Internal passthrough Network Load Balancers provide regional internal layer-four balancing with passthrough behavior; its operational role is load balancing internal TCP connections; the needed capability is routing internal application requests at layer seven.
B:Standard Tier routes eligible traffic with more reliance on the public Internet and has feature limitations; it is relevant when selecting a lower-cost regional networking tier, not when the primary need is routing internal application requests at layer seven.
D:Premium Tier uses Google's premium network and is required for certain global connectivity features; the scenario specifies routing internal application requests at layer seven, which differs from obtaining supported global network service features.
E:External passthrough Network Load Balancers distribute eligible TCP or UDP traffic to supported backends without terminating application protocols; its purpose differs: balancing external TCP or UDP traffic without proxy termination is separate from routing internal application requests at layer seven.
Question 662
A build runner should be allowed to release code but should not inherit sensitive production data privileges at runtime. What identity design helps?
- Use separate build and runtime service accounts
- Create a dedicated service account
- Avoid default Compute Engine service account overprivilege
- Use GKE Kubernetes service accounts
Explanation
Correct Answer
A:Deployment and runtime service accounts serve different functions and can receive separate tailored IAM roles; this is the specific mechanism used for assigning distinct deployer and workload permissions.
Incorrect Answers
B:Dedicated service accounts provide separate nonhuman identities for workloads and make IAM grants auditable; it is appropriate for isolating workload authorization from user credentials; here, the deciding requirement is assigning distinct deployer and workload permissions.
C:Using dedicated narrowly scoped service accounts reduces accidental privilege sharing across compute resources; Applying it would target attaching purpose-built least-privilege service accounts, leaving the separate need for assigning distinct deployer and workload permissions.
D:This alternative focuses on distinguishing Pod identities inside Kubernetes; Kubernetes ServiceAccounts identify workloads to the Kubernetes API and can participate in GKE workload identity integrations; the stem instead asks for assigning distinct deployer and workload permissions.
Question 663
An automation invokes a private Cloud Run service nightly without embedding a bearer token in the URL. Which identity configuration fits?
- Use signed URL delegation with service account
- Use service account for Dataflow workers
- Use service account for Batch jobs
- Use a service account with Cloud Scheduler
Explanation
Correct Answer
D:Cloud Scheduler can use an attached service account for supported authenticated HTTP requests; this is relevant because the outcome sought is supplying scheduler-generated authorized request tokens.
Incorrect Answers
A:Authorized service account signing can generate Cloud Storage signed URLs for temporary operation-specific access; the scenario specifies supplying scheduler-generated authorized request tokens, which differs from signing controlled object access requests.
B:Dataflow workers run with a configured service account that must access pipeline sources and destinations; this governs authorizing data pipeline workers on input data, whereas the stated objective is supplying scheduler-generated authorized request tokens.
C:Batch workloads run under configured service-account identities on underlying compute resources; that applies to granting Batch task instances their required API permissions; the requested task is supplying scheduler-generated authorized request tokens.
Question 664
An operator needs a centralized way to inspect logs generated by several Google Cloud products. Which observability product is appropriate?
- Use a Logs Router sink
- Use Logs Explorer
- Use Cloud Logging setup
- Use Cloud Audit Logs
Explanation
Correct Answer
C:Cloud Logging ingests and organizes supported resource and application logs into log buckets and views; this is the capability needed for centralizing and querying operational logs.
Incorrect Answers
A:Log sinks use inclusion filters and destination permissions to route supported log entries from a configured scope; it would help with routing matched log entries to an export destination, but it does not directly implement centralizing and querying operational logs.
B:Logs Explorer supports interactive filtering, viewing and investigating entries in authorized log buckets; its purpose differs: querying log entries with structured filters is separate from centralizing and querying operational logs.
D:Cloud Audit Logs records supported administrative and access activity with audit-log type distinctions; the scenario specifies centralizing and querying operational logs, which differs from reviewing authorized administrative API activity.
Question 665
A GKE application must increase Pod replicas with utilization and grow its Standard cluster's worker capacity when Pods cannot fit. Both adjustments must occur automatically. Choose TWO mechanisms.
- Scale a Kubernetes Deployment replica count
- Configure Vertical Pod Autoscaler
- Add a GKE node pool
- Configure Horizontal Pod Autoscaler
- Enable GKE node autoscaling
Explanation
Correct Answers
D:Horizontal Pod Autoscaler adjusts supported workload replica counts using resource or custom metrics; within the multi-part workflow of automatically scaling Kubernetes Pods and Standard cluster nodes, this provides autoscaling Kubernetes workloads horizontally.
E:GKE cluster autoscaler adjusts supported node pool size to accommodate pending workload requests; within the multi-part workflow of automatically scaling Kubernetes Pods and Standard cluster nodes, this provides scaling Kubernetes worker node count.
Incorrect Answers
A:The Deployment replicas setting controls desired Pod replicas managed through ReplicaSets; its focus is changing Deployment-managed Pod replicas, rather than automatically scaling Kubernetes Pods and Standard cluster nodes.
B:Vertical Pod Autoscaler recommends or manages CPU and memory requests according to its configured mode; it is designed for tuning container resource requests, rather than the needed automatically scaling Kubernetes Pods and Standard cluster nodes.
C:GKE Standard node pools group nodes with common machine and node configuration settings, which serves providing a second worker node configuration instead of automatically scaling Kubernetes Pods and Standard cluster nodes.
Question 666
A private download link should work for an outside customer for only a short interval. What Cloud Storage access pattern suits it?
- Use a Cloud Storage retention policy
- Use Cloud Storage signed URLs
- Use Cloud Storage versioning
- Use Cloud Storage customer-managed encryption keys
Explanation
Correct Answer
B:Signed URLs authorize specific Cloud Storage requests for a bounded time using a signing identity; this corresponds to delegating temporary object access via signed request, not a separate lifecycle action.
Incorrect Answers
A:Bucket retention policies enforce minimum retention periods for supported objects and can be locked for stronger controls; that solves problems involving preventing early deletion of retained objects, rather than the delegating temporary object access via signed request requirement.
C:Object Versioning retains noncurrent object generations until explicitly removed or lifecycle-managed; this is a distinct control for recovering overwritten object versions, rather than delegating temporary object access via signed request.
D:Customer-managed encryption keys use Cloud KMS keys for supported Cloud Storage data encryption; this governs using organization-controlled Cloud KMS keys, whereas the stated objective is delegating temporary object access via signed request.
Question 667
A platform team needs to avoid conflicting Terraform applies against one shared state. What state-management safeguard matters?
- Use Terraform state locking
- Run terraform plan
- Use remote Terraform state storage
- Run terraform apply
Explanation
Correct Answer
A:Terraform backends with locking semantics protect supported state operations from concurrent modification; this is the specific mechanism used for preventing concurrent state mutations.
Incorrect Answers
B:Terraform plan compares configuration and state with remote resource information to produce an execution plan; it is not the focused action for preventing concurrent state mutations; its primary use is reviewing a proposed infrastructure diff.
C:A remote backend such as a protected Cloud Storage bucket can centralize Terraform state for collaborative workflows; it is not the focused action for preventing concurrent state mutations; its primary use is sharing Terraform state safely between operators.
D:Terraform apply performs authorized resource changes described by the configuration or saved plan; that mechanism handles executing declared infrastructure updates; it does not configure preventing concurrent state mutations.
Question 668
An on-call team wants a shared screen of application latency, errors and resource saturation. Which Observability object fits?
- Use Cloud Trace spans
- Create an alerting snooze
- Use Cloud Monitoring dashboards
- Use Cloud Monitoring Managed Service for Prometheus
Explanation
Correct Answer
C:Monitoring dashboards arrange charts and widgets to visualize supported time-series data; this is the capability needed for organizing health metrics into operational charts.
Incorrect Answers
A:Trace spans describe timed operations within a distributed request for root-cause investigation; its operational role is analyzing distributed request timing; the needed capability is organizing health metrics into operational charts.
B:Monitoring snoozes suppress notifications from matching alert policies for a defined period without deleting the policies; its operational role is suppressing selected incident notifications temporarily; the needed capability is organizing health metrics into operational charts.
D:Managed Service for Prometheus integrates Prometheus-compatible metric collection with Cloud Monitoring storage and querying; that applies to querying and storing Prometheus telemetry in a managed system; the requested task is organizing health metrics into operational charts.
Question 669
A sensitive subnet needs a policy preventing instances from sending traffic to an external network. Which firewall rule type fits?
- Use firewall priority evaluation
- Use firewall target service accounts
- Use Cloud NGFW hierarchical firewall policies
- Use VPC firewall egress deny
- Use firewall logging
Explanation
Correct Answer
D:Egress deny rules block matching traffic initiated by selected resources to the configured destinations; this corresponds to restricting egress network flows, not a separate lifecycle action.
Incorrect Answers
A:Firewall policy priority and evaluation hierarchy determine which matching action takes effect; it is appropriate for diagnosing ordered network security rule evaluation; here, the deciding requirement is restricting egress network flows.
B:VPC firewall rules can use supported service-account selectors to identify target VM interfaces; Applying it would target targeting firewall traffic by workload identity, leaving the separate need for restricting egress network flows.
C:This alternative focuses on centralizing firewall enforcement above individual projects; Hierarchical firewall policies apply ordered network security rules from organization or folder associations; the stem instead asks for restricting egress network flows.
E:Firewall Rules Logging produces supported connection records for traffic matching enabled rules; Applying it would target capturing matched firewall traffic metadata, leaving the separate need for restricting egress network flows.
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.