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.
Question 311
A particular container revision fails during startup and operators need the startup error text. Which observability source helps?
- Deploy a new Cloud Run revision
- Update Cloud Run maximum instances setting
- Split Cloud Run revision traffic
- Check Cloud Run revision logs
Explanation
Correct Answer
D:Cloud Run integrates request and container logs with Cloud Logging for revision-focused diagnosis; for the stated workload, the practical result is troubleshooting Cloud Run container logs.
Incorrect Answers
A:Deploying changes to a Cloud Run service creates a revision representing its immutable code and configuration; that mechanism handles versioning Cloud Run service configuration; it does not configure troubleshooting Cloud Run container logs.
B: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; Applying it would target limiting Cloud Run autoscaled instance count, leaving the separate need for troubleshooting Cloud Run container logs.
C:The alternative would address testing a new revision against a small live traffic share; Cloud Run traffic allocation assigns configured percentages to eligible service revisions; the question instead requires troubleshooting Cloud Run container logs.
Question 312
A new regional workload needs its own address range within an existing custom-mode VPC. What should network staff create?
- Reserve a static internal address
- Add a subnet to a custom VPC
- Inspect effective VPC routes
- Expand an existing subnet's CIDR
Explanation
Correct Answer
B:Subnets are regional resources associated with a VPC and have nonoverlapping ranges as required; this is the capability needed for adding regional network segmentation.
Incorrect Answers
A:The alternative would address allocating a stable private VPC IP; Internal static IP reservations reserve eligible private addresses at the appropriate regional or global scope; the question instead requires adding regional network segmentation.
C:Effective route information shows applicable VPC paths and helps diagnose destination selection; this governs diagnosing the actual selected network route, whereas the stated objective is adding regional network segmentation.
D:A subnet's primary IPv4 range can be expanded to a larger supported CIDR under applicable restrictions; it concerns increasing primary subnet IP capacity, and its normal effect does not provide adding regional network segmentation.
Question 313
A serverless application returns HTTP 500 errors shortly after deployment, but the instance has no SSH interface. Where should engineers inspect application output?
- Split Cloud Run revision traffic
- Deploy a new Cloud Run revision
- Roll back Cloud Run traffic
- Check Cloud Run revision logs
Explanation
Correct Answer
D:What matters is examining logs attached to a Cloud Run revision; Cloud Run integrates request and container logs with Cloud Logging for revision-focused diagnosis.
Incorrect Answers
A:Cloud Run traffic allocation assigns configured percentages to eligible service revisions; its operational role is gradually shifting traffic between Cloud Run revisions; the needed capability is examining logs attached to a Cloud Run revision.
B:Deploying changes to a Cloud Run service creates a revision representing its immutable code and configuration; that mechanism handles versioning Cloud Run service configuration; it does not configure examining logs attached to a Cloud Run revision.
C:Cloud Run can shift service traffic back to a previous retained revision without requiring another build; it is relevant when redirecting requests to a prior healthy revision, not when the primary need is examining logs attached to a Cloud Run revision.
Question 314
A serverless API is unintentionally accessible directly on its public URL. What Cloud Run configuration should be reviewed?
- Use Cloud Run ingress settings
- Use Cloud Run minimum instances
- Use Cloud Run maximum instances
- Use Cloud Run jobs
Explanation
Correct Answer
A:Cloud Run ingress settings control eligible network sources and front ends allowed to reach a service; this is the capability needed for restricting allowed request entry paths.
Incorrect Answers
B:Minimum instances keep a configured baseline of Cloud Run capacity provisioned with associated billing consequences; it is appropriate for maintaining warm serverless instances; here, the deciding requirement is restricting allowed request entry paths.
C:Maximum instances constrain how far Cloud Run instance scaling can grow under configured conditions; that supports limiting autoscaling upper capacity; the problem to solve concerns restricting allowed request entry paths.
D:This alternative focuses on executing finite container jobs without HTTP serving; Cloud Run jobs run tasks to completion without exposing a request-serving service endpoint; the stem instead asks for restricting allowed request entry paths.
Question 315
A streaming producer failure results in no telemetry rather than a high error count. Which Monitoring policy condition is useful?
- Configure Ops Agent on a VM
- Create an absence alert
- Use log-based counter metric
- Create an alerting snooze
Explanation
Correct Answer
B:The requirement is detecting missing time-series signals; Metric absence conditions identify when expected time-series data stops arriving within a configured window.
Incorrect Answers
A:The Ops Agent gathers supported guest metrics and logs and sends them to Google Cloud Observability; its purpose differs: instrumenting VM operating-system telemetry is separate from detecting missing time-series signals.
C:Counter log-based metrics count matching Cloud Logging entries and can be charted or alerted on; the supported outcome is turning filtered log patterns into metrics, while the requested result is detecting missing time-series signals.
D:Monitoring snoozes suppress notifications from matching alert policies for a defined period without deleting the policies; that solves problems involving silencing expected alerts during maintenance, rather than the detecting missing time-series signals requirement.
Question 316
An order system emits messages that independent services consume at different times. Which managed event transport applies?
- Use Pub/Sub
- Use Managed Service for Apache Kafka
- Use Pub/Sub dead-letter topics
- Use Dataflow
Explanation
Correct Answer
A:Pub/Sub delivers asynchronous messages through topics and subscriptions with configurable delivery semantics; it is the direct control for buffering and distributing asynchronous messages.
Incorrect Answers
B:Google Cloud Managed Service for Apache Kafka offers managed Kafka clusters and familiar Kafka interfaces; it would help with hosting compatible managed Kafka workloads, but it does not directly implement buffering and distributing asynchronous messages.
C:Pub/Sub subscriptions can use dead-letter policies to forward messages after configured delivery attempts; the supported outcome is routing repeatedly unacknowledged messages to a dead-letter destination, while the requested result is buffering and distributing asynchronous messages.
D:Dataflow runs managed batch and streaming pipelines, including Apache Beam workloads; its purpose differs: processing streaming and batch data pipelines is separate from buffering and distributing asynchronous messages.
Question 317
A stable workload has predictable, long-running eligible resource usage and the company can commit to a term. Which pricing approach can lower eligible cost?
- Use cost anomaly detection
- Configure billing export to BigQuery
- Use committed use discounts
- Use billing cost table reports
Explanation
Correct Answer
C:Committed use discounts reduce eligible on-demand cost in exchange for a qualifying commitment; Applied in this case, it delivers discounting predictable eligible usage through commitment.
Incorrect Answers
A:Cloud Billing cost anomaly detection identifies unusual cost changes using billing spending signals; the scenario specifies discounting predictable eligible usage through commitment, which differs from detecting atypical spending changes.
B:Cloud Billing exports send selected cost and pricing information to BigQuery datasets for analysis; that applies to exporting billing records for warehouse analysis; the requested task is discounting predictable eligible usage through commitment.
D:The Cost table provides tabular cost records and invoice-oriented analysis for supported billing accounts; Applying it would target reviewing invoice-aligned billing cost detail, leaving the separate need for discounting predictable eligible usage through commitment.
Question 318
An operator wants AI-assisted explanations of their Google Cloud resources while investigating configuration. Which supported assistant can help?
- Use a custom organization policy constraint
- Use Gemini Cloud Assist for resource analysis
- Use Resource Manager tags
- Use labels on supported resources
Explanation
Correct Answer
B:Gemini Cloud Assist offers context-aware assistance for supported Google Cloud operational and configuration tasks; it supports obtaining contextual AI help about cloud resources at the appropriate resource scope.
Incorrect Answers
A:The alternative would address expressing a supported resource-attribute restriction; Custom organization policy constraints let administrators express supported resource rules using condition expressions; the question instead requires obtaining contextual AI help about cloud resources.
C:Resource Manager tags are centrally defined key-value bindings with policy integrations distinct from ordinary labels; it would help with assigning governed tags for policy decisions, but it does not directly implement obtaining contextual AI help about cloud resources.
D:This alternative focuses on classifying supported resources with key-value labels; Labels are user-defined key-value metadata for organization and billing analysis and are not hierarchical IAM boundaries; the stem instead asks for obtaining contextual AI help about cloud resources.
Question 319
A new processing service should use an identity separate from humans and unrelated applications. What IAM identity should be created?
- Grant service account token creator
- Create a dedicated service account
- Disable unused service account
- Grant service account user role for attachment
Explanation
Correct Answer
B:Dedicated service accounts provide separate nonhuman identities for workloads and make IAM grants auditable; this is relevant because the outcome sought is isolating workload authorization from user credentials.
Incorrect Answers
A:Service Account Token Creator enables supported token or signature operations for a target service account; it would help with delegating service-account token generation, but it does not directly implement isolating workload authorization from user credentials.
C:Disabling a service account blocks its use without immediately deleting the identity and associated metadata; Applying it would target blocking authentication by an abandoned workload identity, leaving the separate need for isolating workload authorization from user credentials.
D:This alternative focuses on granting actAs rights for a target service account; Service Account User includes the iam.serviceAccounts.actAs permission used for attaching a service account to supported resources; the stem instead asks for isolating workload authorization from user credentials.
Question 320
A freshly installed CLI points at the wrong project for subsequent commands. What should the administrator change?
- Pass a per-command --project flag
- Set gcloud's active project
- Use gcloud services enable
- Use Cloud Shell
Explanation
Correct Answer
B:The active gcloud core/project property determines the default project for commands that honor it; the decisive property here is setting the default gcloud project context.
Incorrect Answers
A:A --project argument overrides the configured project for supported gcloud commands for that invocation; its operational role is overriding a default project for one command; the needed capability is setting the default gcloud project context.
C:The gcloud services enable command activates named Service Usage APIs in the selected project; it would help with enabling a service through the command line, but it does not directly implement setting the default gcloud project context.
D:Cloud Shell provides a browser terminal with Google Cloud CLI tools and user-based authentication integration; its purpose differs: performing administration from a managed web shell is separate from setting the default gcloud project context.