Question 400
A team accidentally schedules project deletion; the required restoration period has not elapsed. What resource-management operation is relevant?
- Use the immutable project number
- Use project lifecycle restore window
- Use a separate project for prod and dev
- Use IAM policy analyzer
Explanation
Correct Answer
B:Projects can generally be undeleted during a limited recovery interval before final deletion and data loss; that matches the requirement for undeleting a project during its recovery window.
Incorrect Answers
A:The project number is a Google-assigned numeric identifier distinct from a user-selected project ID; that supports passing a generated numeric project identity; the problem to solve concerns undeleting a project during its recovery window.
C:Separate projects provide independent administration, many quota scopes and clearer billing and permission boundaries; Applying it would target creating independent environment projects, leaving the separate need for undeleting a project during its recovery window.
D:Policy Analyzer uses Cloud Asset Inventory data to examine which identities can access resources through policy bindings; that applies to analyzing effective IAM access paths; the requested task is undeleting a project during its recovery window.
Question 401
An automated provisioning system has quota headroom but fails for a specific GPU shape in one zone. Which constraint is likely?
- Select a compatible zone for zonal resources
- Check a quota in Quotas & System Limits
- Use service quotas proactively
- Distinguish quota from physical capacity
Explanation
Correct Answer
D:Quota determines allowed resource consumption; regional or zonal hardware capacity is a separate constraint; this corresponds to checking actual location capacity and availability, not a separate lifecycle action.
Incorrect Answers
A:Zonal compute and zonal disks must be placed in compatible zones to attach directly; it is relevant when co-locating a zonal disk and its VM, not when the primary need is checking actual location capacity and availability.
B:Quotas and System Limits surfaces supported quota consumption, values and adjustable limits; that applies to diagnosing a project-level quota limit; the requested task is checking actual location capacity and availability.
C:Service quotas impose consumption limits that may need review or adjustment before substantial growth; this governs validating required quota headroom, whereas the stated objective is checking actual location capacity and availability.
Question 402
A customer portal needs short-expiry signed object links while keeping the bucket private. What service-account capability is relevant?
- Use service account description and display name
- Grant service account token creator
- Use service account delegation chain
- Use signed URL delegation with service account
Explanation
Correct Answer
D:What matters is signing controlled object access requests; Authorized service account signing can generate Cloud Storage signed URLs for temporary operation-specific access.
Incorrect Answers
A:Service accounts have descriptive metadata fields that support inventory and operational ownership reviews; it is appropriate for providing understandable account labels and descriptions; here, the deciding requirement is signing controlled object access requests.
B:Service Account Token Creator enables supported token or signature operations for a target service account; that supports delegating service-account token generation; the problem to solve concerns signing controlled object access requests.
C:IAM Credentials supports delegated impersonation chains when each principal has required token creation permissions; it is relevant when performing authorized chained service-account impersonation, not when the primary need is signing controlled object access requests.
Question 403
An analytics worker's cache is disposable and the application prioritizes local disk IOPS. What storage attachment is suitable?
- Configure OS Login
- Use a custom VM image
- Use a local SSD
- Use a regional persistent disk
Explanation
Correct Answer
C:Local SSD delivers high-speed instance-local storage that is ephemeral and not a durable system of record; this is relevant because the outcome sought is placing recoverable scratch data on instance-local SSD.
Incorrect Answers
A:OS Login integrates Linux instance access with Google identities and IAM role assignments; that supports using IAM-linked OS Login for SSH; the problem to solve concerns placing recoverable scratch data on instance-local SSD.
B:Custom images capture disk contents for compatible boot or data disk creation; its operational role is baking standardized boot disk contents; the needed capability is placing recoverable scratch data on instance-local SSD.
D:Regional Persistent Disk provides synchronously replicated block storage across two zones with applicable failover considerations; Applying it would target replicating block storage between zones, leaving the separate need for placing recoverable scratch data on instance-local SSD.
Question 404
Finance needs warning before actual spend reaches a budget as the projected monthly total approaches its limit. Which budget rule should it select?
- Use billing account export permissions
- Configure budget Pub/Sub notifications
- Configure billing export of pricing data
- Use billing budgets with forecast thresholds
Explanation
Correct Answer
D:The requirement is alerting based on forecast rather than incurred costs; Budget alerts can use forecasted spend to notify stakeholders before actual charges cross a threshold.
Incorrect Answers
A:Setting up a Cloud Billing export requires suitable billing account access and BigQuery destination permissions; the scenario specifies alerting based on forecast rather than incurred costs, which differs from authorizing access to the billing export configuration.
B:Budget notifications can be published through Pub/Sub for downstream automation to process; that supports integrating spending notifications with an event consumer; the problem to solve concerns alerting based on forecast rather than incurred costs.
C:For retrieving price-list data programmatically, this could be relevant; Pricing exports provide pricing-related records to BigQuery separately from detailed usage cost exports; the actual request concerns alerting based on forecast rather than incurred costs.
Question 405
A gcloud script runs from an engineer’s workstation and unexpectedly targets the wrong project because the active configuration has an old default. What command displays the currently selected default project before running the script?
- gcloud config get-value project
- gcloud compute instances delete --all
- kubectl get namespaces
- terraform apply -auto-approve
Explanation
Correct Answer
A:This command reads the current active gcloud configuration’s project property. Checking it helps catch stale project context before a state-changing command runs.
Incorrect Answers
B:Deleting instances is a destructive VM operation, not a diagnostic read of gcloud’s active project setting. It would create unnecessary risk.
C:Namespace listing inspects a Kubernetes cluster context and does not reveal which default Google Cloud project is set in the active gcloud CLI configuration.
D:Terraform apply deploys planned infrastructure changes and is not a safe or direct way to inspect the gcloud active project configuration.
Question 406
Personalized Service Health reports new Google Cloud incidents in a project. The SRE team needs a PagerDuty notification only when a log entry matches a specific product and region. What should they configure?
- A budget alert targeted to the project
- A DNS response policy
- A Cloud Monitoring log-based alert for service-health events with a PagerDuty channel
- A VM uptime check for each project
Explanation
Correct Answer
C:Personalized Service Health writes incidents as log events; a Monitoring log alert can filter those events by region or product and notify responders through a PagerDuty channel.
Incorrect Answers
A:Budget alerts evaluate spending amounts, not Cloud Service Health log entries for an affected product and region. A financial threshold cannot implement incident-event filtering.
B:Cloud DNS response policies affect DNS query responses for configured networks. They cannot inspect service-health incidents or deliver filtered notifications to PagerDuty.
D:Uptime checks test reachable endpoints. They do not directly subscribe to Google Cloud provider incident notifications by product and region and cannot replace a service-health event filter.
Question 407
A private application dependency must keep a stable VPC address while its backend is changed. What addressing resource fits?
- Choose external passthrough Network Load Balancer
- Reserve a static internal IP
- Use Standard Network Service Tier
- Reserve a static external IP
Explanation
Correct Answer
B:Static internal address reservations hold eligible VPC IPs for supported resources or front ends; it is the direct control for retaining a fixed private endpoint address.
Incorrect Answers
A:External passthrough Network Load Balancers distribute eligible TCP or UDP traffic to supported backends without terminating application protocols; it is appropriate for balancing external TCP or UDP traffic without proxy termination; here, the deciding requirement is retaining a fixed private endpoint address.
C:Standard Tier routes eligible traffic with more reliance on the public Internet and has feature limitations; it concerns reducing eligible Internet egress network expense, and its normal effect does not provide retaining a fixed private endpoint address.
D:A reserved static external IP remains allocated to its project until released, subject to attachment and scope; that supports avoiding ephemeral public IP changes; the problem to solve concerns retaining a fixed private endpoint address.
Question 408
An application consumes excessive CPU and the operator needs sampled function-level evidence. Which diagnostic method applies?
- Use Error Reporting groups
- Use Cloud Profiler profiles
- Use Cloud Monitoring dashboards
- Use Cloud Audit Logs Admin Activity
Explanation
Correct Answer
B:Cloud Profiler collects supported statistical application profiles that highlight code resource consumption; it supports identifying CPU-intensive code paths at the appropriate resource scope.
Incorrect Answers
A:Error Reporting recognizes and groups application error events by supported signatures; its purpose differs: aggregating recurring application stack traces is separate from identifying CPU-intensive code paths.
C:Monitoring dashboards arrange charts and widgets to visualize supported time-series data; the scenario specifies identifying CPU-intensive code paths, which differs from organizing health metrics into operational charts.
D:Admin Activity audit logs capture supported resource configuration and permission management events; this is a distinct control for reviewing administrative audit actions, rather than identifying CPU-intensive code paths.
Question 409
A Kubernetes deployment includes templated Services, Deployments and configuration values repeated across environments. Which packaging tool fits?
- Use Cloud Foundation Toolkit
- Use a declarative desired-state configuration
- Use Helm charts
- Use Fabric FAST
Explanation
Correct Answer
C:The scenario depends on deploying reusable collections of Kubernetes resources; Helm packages and releases parametrized Kubernetes manifests as charts.
Incorrect Answers
A:Cloud Foundation Toolkit provides modules and examples for automated Google Cloud foundation deployments; that solves problems involving deploying tested cloud foundation patterns, rather than the deploying reusable collections of Kubernetes resources requirement.
B:Declarative infrastructure configuration specifies intended resources while tooling computes the necessary changes; that supports codifying consistent cloud environments declaratively; the problem to solve concerns deploying reusable collections of Kubernetes resources.
D:Fabric FAST supplies a structured foundation automation approach based on infrastructure-as-code modules; this governs implementing opinionated cloud foundation automation, whereas the stated objective is deploying reusable collections of Kubernetes resources.
Question 410
A valid request performs longer processing than the current timeout and consistently returns a timeout failure. What service setting should be adjusted?
- Update Cloud Run maximum instances setting
- Roll back Cloud Run traffic
- Update Cloud Run concurrency setting
- Configure Cloud Run request timeout
Explanation
Correct Answer
D:What matters is allowing longer supported Cloud Run HTTP processing; Cloud Run's request timeout bounds each service request and can be increased within supported limits.
Incorrect Answers
A: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; it is not the focused action for allowing longer supported Cloud Run HTTP processing; its primary use is limiting Cloud Run autoscaled instance count.
B:Cloud Run can shift service traffic back to a previous retained revision without requiring another build; it is relevant when reverting request routing to an earlier Cloud Run revision, not when the primary need is allowing longer supported Cloud Run HTTP processing.
C:This alternative focuses on limiting simultaneous requests processed by each instance; Cloud Run container concurrency limits the configured simultaneous requests per instance and affects how the platform distributes load and creates instances; the stem instead asks for allowing longer supported Cloud Run HTTP processing.