Question 260
A Cloud Run candidate revision must be tested through its own address before receiving any production traffic. Which revision capability supports this without creating a separate service?
- Increase service minimum instances
- Create a new load-balancer forwarding rule
- Delete the stable service revision
- Set production traffic to 50 percent on the candidate
- Assign a Cloud Run revision tag and use its tagged URL
Explanation
Correct Answer
E:A tag supplies a revision-specific URL for testing even when the revision has no percentage of service traffic. Normal service traffic can remain on the stable revision.
Incorrect Answers
A:Minimum instances help keep configured serving capacity warm. They do not give an unpromoted revision a distinct testing URL.
B:An external forwarding rule is unnecessary to test a retained revision of the same Cloud Run service through the native revision address mechanism.
C:Removing the stable revision would disrupt the existing release and is not necessary to exercise the new revision privately before shifting traffic.
D:A half-traffic canary exposes real users to the candidate; the scenario explicitly requires testing before any production traffic is assigned.
Question 261
Finance wants to attribute compatible resource spending to product teams using customer-defined keys. What helps?
- Use project billing permissions to link the payer
- Apply labels for cost attribution
- Configure billing export to BigQuery
- Use billing account IAM roles
Explanation
Correct Answer
B:Supported labels can be surfaced in billing exports and filters to allocate eligible costs; it is the direct control for categorizing resource charges using labels.
Incorrect Answers
A:Managing project billing associations requires the appropriate project and billing account permissions; this is a distinct control for checking permissions on both project and billing account, rather than categorizing resource charges using labels.
C:Cloud Billing exports send selected cost and pricing information to BigQuery datasets for analysis; the scenario specifies categorizing resource charges using labels, which differs from exporting billing records for warehouse analysis.
D:Billing-account IAM permissions control access to financial data and payer operations separately from project IAM; it is relevant when granting billing access independently of project resources, not when the primary need is categorizing resource charges using labels.
Question 262
A CI pipeline uses an external OIDC issuer and must access Google Cloud keylessly, but only an approved repository should be accepted from that issuer. Choose TWO federation components.
- Restrict federation provider attributes
- Rotate compromised service account key
- Use workload identity pool provider
- Delete obsolete service account
- Use service account description and display name
Explanation
Correct Answers
A:Workload identity provider attribute conditions restrict accepted external identity assertions; within the multi-part workflow of federating an external pipeline identity and enforcing approved issuer claims, this provides limiting external identity trust to approved claims.
C:Workload identity pool providers define trust and attribute mapping for supported external issuers; within the multi-part workflow of federating an external pipeline identity and enforcing approved issuer claims, this provides trusting a configured external workload issuer.
Incorrect Answers
B:Deleting or disabling compromised user-managed service-account keys prevents further authentication with those keys; its focus is invalidating exposed long-lived credentials, rather than federating an external pipeline identity and enforcing approved issuer claims.
D:Deleting a service account removes its identity; accidental deletion may have limited recovery options and affect dependencies, which serves removing a retired nonhuman identity instead of federating an external pipeline identity and enforcing approved issuer claims.
E:Service accounts have descriptive metadata fields that support inventory and operational ownership reviews; the mechanism concerns documenting service-account ownership and purpose and does not directly supply federating an external pipeline identity and enforcing approved issuer claims.
Question 263
A container can handle several requests simultaneously and the team wants to tune per-instance parallel request load. Which setting matters?
- Use Cloud Run maximum instances
- Use a Cloud Run service account
- Use Cloud Run minimum instances
- Use Cloud Run concurrency setting
Explanation
Correct Answer
D:Cloud Run concurrency controls how many concurrent requests a service instance may receive; this corresponds to configuring concurrent requests per Cloud Run instance, not a separate lifecycle action.
Incorrect Answers
A:Maximum instances constrain how far Cloud Run instance scaling can grow under configured conditions; the supported outcome is bounding Cloud Run instance scaling, while the requested result is configuring concurrent requests per Cloud Run instance.
B:Cloud Run services can run as a configured service account with IAM-granted permissions; it is not the focused action for configuring concurrent requests per Cloud Run instance; its primary use is separating runtime permissions from deployer access.
C:Minimum instances keep a configured baseline of Cloud Run capacity provisioned with associated billing consequences; the decision here is about configuring concurrent requests per Cloud Run instance, not maintaining warm serverless instances.
Question 264
A trace ID appears in an application log and the team wants the request's call graph. What should they inspect?
- Use Personalized Service Health
- Use Cloud Monitoring Managed Service for Prometheus
- Use Cloud Audit Logs System Event
- Use Cloud Monitoring dashboards
- Use Cloud Trace spans
Explanation
Correct Answer
E:Trace spans describe timed operations within a distributed request for root-cause investigation; this is relevant because the outcome sought is correlating cross-service operation spans.
Incorrect Answers
A:Personalized Service Health surfaces supported provider events relevant to particular resources and projects; its operational role is correlating product disruptions with cloud environments; the needed capability is correlating cross-service operation spans.
B:The alternative would address collecting Prometheus-compatible workload metrics; Managed Service for Prometheus integrates Prometheus-compatible metric collection with Cloud Monitoring storage and querying; the question instead requires correlating cross-service operation spans.
C:System Event audit logs record supported Google Cloud system operations modifying resource configurations; that applies to reviewing Google-managed operational changes; the requested task is correlating cross-service operation spans.
D:Monitoring dashboards arrange charts and widgets to visualize supported time-series data; its operational role is organizing health metrics into operational charts; the needed capability is correlating cross-service operation spans.
Question 265
An acquired team's project must begin charging to the parent firm's billing relationship. Which linkage must change?
- Use billing account IAM roles
- Link a project to a billing account
- Create a Cloud Billing account
- Use billing account cost reports
Explanation
Correct Answer
B:A project must be linked to an active billing account to consume many chargeable services; this is relevant because the outcome sought is changing the billing account responsible for project costs.
Incorrect Answers
A:Billing-account IAM permissions control access to financial data and payer operations separately from project IAM; Applying it would target authorizing access to billing account information, leaving the separate need for changing the billing account responsible for project costs.
C:Cloud Billing accounts represent payment and invoicing relationships and can pay for multiple linked projects; it is appropriate for managing cloud payment responsibility; here, the deciding requirement is changing the billing account responsible for project costs.
D:Cloud Billing Reports offers cost visualization and filtering without first creating a custom data warehouse; that solves problems involving analyzing spend in the Billing Reports interface, rather than the changing the billing account responsible for project costs requirement.
Question 266
A synthetic test fleet may vanish at any time without consequences and must minimize eligible compute price. What VM option should it use?
- Choose a Spot VM
- Configure VM Manager
- Use VM reservation
- Use Shielded VM
Explanation
Correct Answer
A:The requested administrative outcome is accepting preemption in exchange for discounted compute; Spot VMs have lower eligible prices but no guaranteed continuous availability or fixed lifetime.
Incorrect Answers
B:VM Manager provides OS inventory, patch and configuration capabilities for supported VM environments; it concerns managing fleet OS patches and inventory, and its normal effect does not provide accepting preemption in exchange for discounted compute.
C:Compute Engine reservations allocate qualifying VM capacity in a zone independently of starting instances; the supported outcome is securing eligible compute capacity before demand, while the requested result is accepting preemption in exchange for discounted compute.
D:Shielded VM provides capabilities such as Secure Boot, virtual TPM and integrity monitoring; it concerns hardening virtual machine boot integrity, and its normal effect does not provide accepting preemption in exchange for discounted compute.
Question 267
An auditor needs to verify whether a candidate role contains a particular API permission before assignment. Which metadata should be inspected?
- Grant roles to a service account
- Review IAM role permissions
- Use IAM policy troubleshooting
- Use custom role permissions support check
Explanation
Correct Answer
B:Role definitions enumerate included permissions; role names alone do not guarantee a specific API action; that behavior is precisely what checking what actions a role actually grants calls for.
Incorrect Answers
A:Service accounts are IAM principals that represent applications or compute workloads and can receive roles; Applying it would target authorizing nonhuman workload API access, leaving the separate need for checking what actions a role actually grants.
C:Policy Troubleshooter evaluates supported permission checks against applicable policies and conditions; that applies to diagnosing an authorization decision; the requested task is checking what actions a role actually grants.
D:Not all IAM permissions can be placed in custom roles, and support levels vary by permission; that applies to validating permissions permitted in custom roles; the requested task is checking what actions a role actually grants.
Question 268
A finance service account writes billing data into a BigQuery dataset but the export cannot be configured. Which permissions need review?
- Use Cloud Billing account budgets by service
- Configure billing export of pricing data
- Use billing account export permissions
- Use a separate billing account for payer isolation
Explanation
Correct Answer
C:Setting up a Cloud Billing export requires suitable billing account access and BigQuery destination permissions; that behavior is precisely what authorizing access to the billing export configuration calls for.
Incorrect Answers
A:Billing budgets can scope eligible cost calculations by service in addition to project and other filters; it concerns monitoring charges for a selected service, and its normal effect does not provide authorizing access to the billing export configuration.
B:Pricing exports provide pricing-related records to BigQuery separately from detailed usage cost exports; that solves problems involving analyzing pricing data separately from usage charges, rather than the authorizing access to the billing export configuration requirement.
D:Separate Cloud Billing accounts can maintain distinct payment and invoice relationships across groups of projects; it is relevant when establishing a separate billed legal or operational entity, not when the primary need is authorizing access to the billing export configuration.
Question 269
A security scanner detects a leaked service-account key in application logs. What should administrators do to that key?
- Disable unused service account
- Delete obsolete service account
- Audit service-account key inventory
- Rotate compromised service account key
Explanation
Correct Answer
D:Deleting or disabling compromised user-managed service-account keys prevents further authentication with those keys; this is the capability needed for revoking a compromised service-account key.
Incorrect Answers
A:Disabling a service account blocks its use without immediately deleting the identity and associated metadata; it is not the focused action for revoking a compromised service-account key; its primary use is disabling an unneeded service account.
B:Deleting a service account removes its identity; accidental deletion may have limited recovery options and affect dependencies; it is not the focused action for revoking a compromised service-account key; its primary use is removing a retired nonhuman identity.
C:Service-account key listings expose user-managed key metadata, which can be audited and managed; its purpose differs: reviewing account keys for rotation or removal is separate from revoking a compromised service-account key.
Question 270
Two VPCs are already peered, but one peer cannot reach a private on-premises network learned through Cloud Router in the other VPC. The team wants eligible custom routes exchanged across the peering. What must be checked?
- Enable a global external Application Load Balancer
- Turn on public IP addresses for all VMs
- Configure custom-route import and export on the peering connections as applicable
- Replace the peering with a Cloud Storage bucket
Explanation
Correct Answer
C:VPC Network Peering can exchange eligible custom routes when the relevant import/export settings are enabled and destination CIDR and route constraints permit the path.
Incorrect Answers
A:An external layer-7 load balancer routes HTTP traffic to backend services; it does not govern the import or export of learned custom routes over a VPC Network Peering connection.
B:Public addresses are unrelated to peering route exchange, and enabling them could undermine the required private path to on-premises networks.
D:Object storage is not a routed network connection and cannot relay a VPC’s private on-premises IP routes to another peered network.