Question 220
A department lead is tasked with adding a new subfolder, but has only role permissions within a child project. Where must the create authority exist?
- Use a standalone organization for a new Free Trial account
- Use folder creation permissions on parent
- Create a folder in the resource hierarchy
- Move the project to a different folder
Explanation
Correct Answer
B:Creating folders depends on permissions on the intended organization or parent folder, not merely project permissions; its effect directly addresses authorizing a new folder beneath its parent.
Incorrect Answers
A:For using automatic organization creation for a new free trial account, this could be relevant; Standalone organizations are automatically provisioned for eligible new Free Trial accounts with Google email addresses and do not require Cloud Identity; the actual request concerns authorizing a new folder beneath its parent.
C:Folders provide hierarchical grouping below an organization and above projects, inheriting policies down the tree; that mechanism handles grouping related projects under inherited governance; it does not configure authorizing a new folder beneath its parent.
D:Moving a project between eligible folders changes its ancestor path and inherited organization and IAM policies; it is not the focused action for authorizing a new folder beneath its parent; its primary use is placing a project beneath the correct departmental folder.
Question 221
A Firestore team needs a managed weekly backup cadence with retention that does not depend on exporting every document manually. Which capability matches?
- Use Firestore scheduled backups
- Promote a Cloud SQL read replica
- Check Cloud SQL connection limits
- Use Cloud SQL Query Insights
Explanation
Correct Answer
A:Firestore scheduled backups support daily or weekly database snapshots and restoration to a new database while retaining configurable backup copies; this is the capability needed for setting a scheduled Firestore database backup and retention.
Incorrect Answers
B:Promoting a Cloud SQL read replica ends replication and makes the eligible replica an independent writable instance; it is not the focused action for setting a scheduled Firestore database backup and retention; its primary use is converting a replica into an independent primary.
C:The alternative would address aligning client concurrency with database connection capacity; Cloud SQL and underlying database engines have connection capacity considerations requiring pooling and appropriate instance sizing; the question instead requires setting a scheduled Firestore database backup and retention.
D:Cloud SQL Query Insights provides query-centric performance analysis and workload metrics for supported database instances and configurations; it is relevant when investigating high-latency database queries with Query Insights, not when the primary need is setting a scheduled Firestore database backup and retention.
Question 222
A backend service requires the server-assigned numeric identifier of the project rather than its chosen project ID. What should be supplied?
- Use the immutable project number
- Use organization-level Cloud Asset Inventory search
- Use a project ID rather than display name
- Use a project lien
Explanation
Correct Answer
A:The project number is a Google-assigned numeric identifier distinct from a user-selected project ID; this is relevant because the outcome sought is identifying a project by its numeric number.
Incorrect Answers
B:Cloud Asset Inventory searches can target supported ancestor scopes including organizations and folders; the supported outcome is broadening asset discovery to an organization ancestor, while the requested result is identifying a project by its numeric number.
C:Project IDs uniquely identify projects in many Google Cloud APIs and differ from editable display names; it is not the focused action for identifying a project by its numeric number; its primary use is addressing projects with their project IDs.
D:A project lien can restrict deletion while the lien remains in place; it is not the focused action for identifying a project by its numeric number; its primary use is preventing deletion of a depended-on project.
Question 223
An API request crosses several services and engineers need to attribute latency to the slowest component. Which observability data helps?
- Use Cloud Audit Logs Admin Activity
- Use Cloud Audit Logs Data Access
- Use linked BigQuery datasets for logs
- Use Cloud Trace spans
Explanation
Correct Answer
D:The requested administrative outcome is analyzing distributed request timing; Trace spans describe timed operations within a distributed request for root-cause investigation.
Incorrect Answers
A:This alternative focuses on tracking administrative control-plane changes; Admin Activity audit logs capture supported resource configuration and permission management events; the stem instead asks for analyzing distributed request timing.
B:Data Access audit logs capture supported data reads and writes and may require explicit enablement depending on service and category; it concerns observing data access operations to cloud resources, and its normal effect does not provide analyzing distributed request timing.
C:Linked BigQuery datasets can provide query access to supported Log Analytics bucket data; it is relevant when analyzing log bucket content from BigQuery, not when the primary need is analyzing distributed request timing.
Question 224
A fleet's template has changed and operators want controlled replacement of instances instead of simultaneous deletion. What feature fits?
- Use MIG health check diagnostics
- Change a VM machine type
- Use a MIG rolling update
- Use gcloud compute instances describe
Explanation
Correct Answer
C:MIG rolling updates progressively apply new instance templates with configurable surge and unavailability; it is the direct control for coordinating staged VM fleet updates.
Incorrect Answers
A:MIG autohealing relies on health check results and timing; mismatched ports or startup delays can cause replacement loops; the supported outcome is checking whether autohealing criteria match application health, while the requested result is coordinating staged VM fleet updates.
B:VM machine types control vCPU and memory allocations; changing types commonly requires stopping an eligible VM; that solves problems involving resizing VM compute capacity, rather than the coordinating staged VM fleet updates requirement.
D:The instances describe operation retrieves configuration and status details for a specified VM in its zone; the supported outcome is retrieving one instance's detailed configuration, while the requested result is coordinating staged VM fleet updates.
Question 225
A VM currently has an ephemeral public address that partners have allowlisted and must retain. What should be done?
- Reserve a static external address
- Expand an existing subnet's CIDR
- Add a subnet to a custom VPC
- Inspect Cloud NAT logs
Explanation
Correct Answer
A:Static external IP reservations avoid losing an address when ephemeral assignment would otherwise change; this is relevant because the outcome sought is preserving a stable external IP address.
Incorrect Answers
B:A subnet's primary IPv4 range can be expanded to a larger supported CIDR under applicable restrictions; the scenario specifies preserving a stable external IP address, which differs from increasing primary subnet IP capacity.
C:Subnets are regional resources associated with a VPC and have nonoverlapping ranges as required; it concerns adding regional network segmentation, and its normal effect does not provide preserving a stable external IP address.
D:Cloud NAT logging records supported NAT translation and error information for troubleshooting; the scenario specifies preserving a stable external IP address, which differs from investigating outbound translation events.
Question 226
A managed group repeatedly recreates new VMs after deployment. What should operators inspect first?
- Restore a new disk from a snapshot
- Update MIG instance template version
- Create a custom image from a disk
- Change a VM machine type
- Use MIG health check diagnostics
Explanation
Correct Answer
E:MIG autohealing relies on health check results and timing; mismatched ports or startup delays can cause replacement loops; that matches the requirement for finding autohealing health-check failures.
Incorrect Answers
A:For recovering persistent data onto a replacement disk, this could be relevant; A snapshot can be the source for creating a new compatible disk, enabling recovery workflows; the actual request concerns finding autohealing health-check failures.
B:Creating an instance template alone does not switch an existing MIG; its version or template reference must be updated; the supported outcome is pointing the managed group to updated launch configuration, while the requested result is finding autohealing health-check failures.
C:Custom Compute Engine images provide reusable disk source content for new boot disks; it would help with preparing reusable VM boot images, but it does not directly implement finding autohealing health-check failures.
D:VM machine types control vCPU and memory allocations; changing types commonly requires stopping an eligible VM; that supports adjusting a VM's machine configuration; the problem to solve concerns finding autohealing health-check failures.
Question 227
An app should read one specific bucket but should not read other buckets in the project. How should its IAM binding be scoped?
- Use signed URL delegation with service account
- Use service account IAM on target bucket
- Use service-account-level IAM policy
- Use service account organization policy enforcement
Explanation
Correct Answer
B:Bucket-level role binding can grant object permissions to a workload without broad project-wide storage access; that matches the requirement for restricting a workload principal to one data resource.
Incorrect Answers
A:Authorized service account signing can generate Cloud Storage signed URLs for temporary operation-specific access; that applies to delegating bounded object download access; the requested task is restricting a workload principal to one data resource.
C:A service account is an IAM resource with its own allow policy for controlling who can use or manage it; it would help with delegating access to exactly one service account, but it does not directly implement restricting a workload principal to one data resource.
D:Organization policy constraints can restrict supported service-account key operations across hierarchy scopes; that mechanism handles using inherited organization policy for credential creation; it does not configure restricting a workload principal to one data resource.
Question 228
A platform team needs a middle-level hierarchy node so policies apply to a portfolio of projects. What should it create?
- Apply an organization policy constraint
- Use billing project grouping with folders
- Create a folder in the resource hierarchy
- Use a custom organization policy constraint
- Set an organization policy at the folder
Explanation
Correct Answer
C:The scenario depends on grouping related projects under inherited governance; Folders provide hierarchical grouping below an organization and above projects, inheriting policies down the tree.
Incorrect Answers
A:Organization Policy Service evaluates supported constraints along the resource hierarchy independently of ordinary IAM grants; the supported outcome is enforcing an organization-level resource restriction, while the requested result is grouping related projects under inherited governance.
B:Folder structure governs hierarchy; billing-account linkage is a separate association and can be shared; this is a distinct control for separating governance via folders while sharing payment, rather than grouping related projects under inherited governance.
D:Custom organization policy constraints let administrators express supported resource rules using condition expressions; that solves problems involving enforcing a supported custom resource rule, rather than the grouping related projects under inherited governance requirement.
E:A policy attached at a folder is inherited by descendants according to constraint rules without affecting unrelated sibling branches; that mechanism handles targeting the restriction to one hierarchy branch; it does not configure grouping related projects under inherited governance.
Question 229
An analyst needs restricted access to only a subset of logs in one log bucket. What Cloud Logging object can express this?
- Create a log sink to Pub/Sub
- Create a log-based alert
- Configure a log view
- Configure log exclusions
Explanation
Correct Answer
C:The requirement is scoping read access to filtered log data; Log views expose subsets of log bucket entries with access control through IAM.
Incorrect Answers
A:Log sinks can publish matched log records to an authorized Pub/Sub topic; its operational role is forwarding logs to an event subscriber; the needed capability is scoping read access to filtered log data.
B:Log-based alerting policies trigger incidents from log entries matching configured filters; it is not the focused action for scoping read access to filtered log data; its primary use is alerting when filtered logs appear.
D:Logging exclusions and sink filters can prevent eligible entries from being routed to selected log buckets; this is a distinct control for filtering low-value logs out of ingestion paths, rather than scoping read access to filtered log data.
Question 230
A group of VMs share an application identity and need the same network enforcement without maintaining network-tag lists. Which target type fits?
- Use firewall target service accounts
- Use VPC Flow Logs
- Use VPC firewall ingress allow
- Use firewall priority evaluation
Explanation
Correct Answer
A:VPC firewall rules can use supported service-account selectors to identify target VM interfaces; that behavior is precisely what applying network rules to VM service account targets calls for.
Incorrect Answers
B:VPC Flow Logs records sampled network flow information for eligible subnet traffic; Applying it would target observing subnet network flow patterns, leaving the separate need for applying network rules to VM service account targets.
C:This alternative focuses on opening a targeted inbound network flow; Ingress allow rules permit matching incoming connections to specified targets subject to higher-priority policies; the stem instead asks for applying network rules to VM service account targets.
D:Firewall policy priority and evaluation hierarchy determine which matching action takes effect; this is a distinct control for resolving precedence between overlapping firewall rules, rather than applying network rules to VM service account targets.