Question 160
A team maintains many resources in one workload project and needs inherited access without folder-wide permission. Where should role assignment be placed?
- Use IAM deny policies
- Create a custom IAM role
- Avoid basic Editor role
- Bind IAM role at project scope
- Inspect effective IAM allow bindings
Explanation
Correct Answer
D:Project-level IAM bindings apply role grants across supported resources within that project; that behavior is precisely what scoping role inheritance to a single project calls for.
Incorrect Answers
A:IAM deny policies can block eligible permissions for matching principals despite otherwise applicable allow grants; that applies to overriding applicable allows with a deny; the requested task is scoping role inheritance to a single project.
B:Custom roles let eligible administrators define a chosen set of supported IAM permissions; it would help with defining a selected IAM permission list, but it does not directly implement scoping role inheritance to a single project.
C:Basic Editor is a broad predefined-style basic role that can change many resources beyond a narrow task; that solves problems involving reducing broad write permissions, rather than the scoping role inheritance to a single project requirement.
E:Effective IAM access can include organization, folder, project and resource-level bindings with inheritance; its operational role is tracing allow policies up the resource hierarchy; the needed capability is scoping role inheritance to a single project.
Question 161
An engineer needs to synchronize a local export directory and a Cloud Storage path during a migration. Which operation fits?
- Grant Storage Object Viewer
- Use generation preconditions for object writes
- Configure Cloud Storage lifecycle class transition
- Use gcloud storage rsync
Explanation
Correct Answer
D:Gcloud storage rsync synchronizes supported source and destination content with comparison options; Applied in this case, it delivers synchronizing a set of files to object storage.
Incorrect Answers
A:Storage Object Viewer includes permissions for reading supported objects and object metadata; the supported outcome is granting read-only object data access, while the requested result is synchronizing a set of files to object storage.
B:The alternative would address enforcing optimistic write concurrency; Cloud Storage generation preconditions condition object mutations on expected generation values; the question instead requires synchronizing a set of files to object storage.
C:Lifecycle management can change eligible object storage class when matching conditions are met; its operational role is transitioning aged objects to colder storage classes; the needed capability is synchronizing a set of files to object storage.
Question 162
An engineer wants to understand whether a learned route is available in a region and where it originates. Which network diagnostics family is relevant?
- Use Cloud DNS peering zone
- Use Cloud DNS forwarding zone
- Use Network Intelligence Center routes analysis
- Use Network Topology
Explanation
Correct Answer
C:Network Intelligence Center and route diagnostics expose supported route and connectivity insights; Applied in this case, it delivers troubleshooting network route visibility.
Incorrect Answers
A:The alternative would address resolving private names through a peered DNS network; Cloud DNS peering zones direct matching queries to another VPC's DNS resolution context under supported conditions; the question instead requires troubleshooting network route visibility.
B:Forwarding zones send matching DNS queries to configured target resolvers using supported connectivity; it concerns forwarding private namespace lookups to enterprise DNS, and its normal effect does not provide troubleshooting network route visibility.
D:Network Topology presents a graphical network representation from supported topology and telemetry data; it concerns visualizing cloud network infrastructure and flows, and its normal effect does not provide troubleshooting network route visibility.
Question 163
A sandbox test must never inherit production project IAM grants or shared per-project quotas. What layout best reduces accidental overlap?
- Use the Cloud Console project selector
- Use organization-level Cloud Asset Inventory search
- Use a separate project for prod and dev
- Create a project under an organization folder
Explanation
Correct Answer
C:Separate projects provide independent administration, many quota scopes and clearer billing and permission boundaries; this is relevant because the outcome sought is creating independent environment projects.
Incorrect Answers
A:The Cloud Console's active project selector determines project context for many console workflows; the scenario specifies creating independent environment projects, which differs from correcting a mismatched console project selection.
B:Cloud Asset Inventory searches can target supported ancestor scopes including organizations and folders; it is not the focused action for creating independent environment projects; its primary use is searching assets across a hierarchy ancestor.
D:A Google Cloud project is the primary boundary for enabled services, resources, IAM and many quotas; this governs isolating a workload in its own project, whereas the stated objective is creating independent environment projects.
Question 164
New autoscaled VM members are still launching from an outdated image even after a new template was created. What group configuration must change?
- Create an instance from an image
- Change a VM machine type
- Update MIG instance template version
- Resize a persistent disk
Explanation
Correct Answer
C:Creating an instance template alone does not switch an existing MIG; its version or template reference must be updated; this corresponds to changing the instance group's desired template, not a separate lifecycle action.
Incorrect Answers
A:VM boot disks can be initialized from public or custom images in compatible configurations; this governs launching a replacement VM from a prepared image, whereas the stated objective is changing the instance group's desired template.
B:VM machine types control vCPU and memory allocations; changing types commonly requires stopping an eligible VM; it is relevant when adjusting a VM's machine configuration, not when the primary need is changing the instance group's desired template.
D:Persistent disks can be expanded subject to limits, with guest partition or filesystem growth often still required; its operational role is increasing allocated disk capacity; the needed capability is changing the instance group's desired template.
Question 165
A worker fleet may be preempted and recreated, and budget matters more than guaranteed runtime. Which VM provisioning mode fits?
- Use Spot VMs for interruption-tolerant batch
- Apply labels for cost attribution
- Use billing cost table reports
- Configure billing export of pricing data
Explanation
Correct Answer
A:Spot VMs are discounted and can be reclaimed by Google Cloud, so applications must tolerate interruption; Applied in this case, it delivers using discount-priced, reclaimable VM capacity.
Incorrect Answers
B:Supported labels can be surfaced in billing exports and filters to allocate eligible costs; its purpose differs: grouping labeled resource cost records is separate from using discount-priced, reclaimable VM capacity.
C:The Cost table provides tabular cost records and invoice-oriented analysis for supported billing accounts; it is appropriate for reviewing invoice-aligned billing cost detail; here, the deciding requirement is using discount-priced, reclaimable VM capacity.
D:Pricing exports provide pricing-related records to BigQuery separately from detailed usage cost exports; this governs retrieving price-list data programmatically, whereas the stated objective is using discount-priced, reclaimable VM capacity.
Question 166
A security team needs evidence identifying who modified an IAM allow policy last Friday. Which logging source is appropriate?
- Use domain restricted sharing organization policy
- Bind IAM role at organization scope
- Use access change audit logs
- Use Policy Analyzer
- Use security groups with least privilege
Explanation
Correct Answer
C:Cloud Audit Logs Admin Activity records supported administrative IAM policy changes; for the stated workload, the practical result is auditing role-binding modifications.
Incorrect Answers
A:Domain-restricted sharing policy constraints limit eligible principals in supported IAM policies; its purpose differs: restricting allowed IAM identity domains is separate from auditing role-binding modifications.
B:Organization-level IAM allow bindings generally propagate to eligible child resources; that applies to inheriting a role throughout the organization tree; the requested task is auditing role-binding modifications.
D:Policy Analyzer can analyze IAM allow relationships using Cloud Asset Inventory data; this governs tracing effective role bindings and membership paths, whereas the stated objective is auditing role-binding modifications.
E:Group principals and scoped predefined roles reduce per-user grant management and privilege sprawl; Applying it would target managing identities through groups with scoped role bindings, leaving the separate need for auditing role-binding modifications.
Question 167
A public API's infrastructure metrics are healthy but its HTTPS endpoint might not respond. Which synthetic check helps?
- Use Log Analytics
- Use Monitoring notification channels
- Use Monitoring uptime checks
- Use linked BigQuery datasets for logs
Explanation
Correct Answer
C:Uptime checks send periodic protocol requests to supported endpoints and produce availability metrics; it is the direct control for probing endpoint availability from outside.
Incorrect Answers
A:Log Analytics enables supported SQL analysis over eligible Cloud Logging buckets; that solves problems involving querying supported logs using SQL analysis, rather than the probing endpoint availability from outside requirement.
B:Notification channels identify targets for messages emitted by Monitoring alerting policies; its purpose differs: delivering alerts to supported communication endpoints is separate from probing endpoint availability from outside.
D:Linked BigQuery datasets can provide query access to supported Log Analytics bucket data; it is not the focused action for probing endpoint availability from outside; its primary use is exposing compatible log storage through BigQuery linkage.
Question 168
Security wants to limit which external identity domains are permitted in project IAM policies. What governance control should it consider?
- Use domain restricted sharing organization policy
- Use resource tags in IAM Conditions
- Use IAM deny policies
- Use Cloud Identity groups for external collaborators
Explanation
Correct Answer
A:Domain-restricted sharing policy constraints limit eligible principals in supported IAM policies; this corresponds to restricting allowed IAM identity domains, not a separate lifecycle action.
Incorrect Answers
B:This alternative focuses on restricting permissions based on supported tags; IAM Conditions can evaluate supported resource-manager tag relationships in compatible access decisions; the stem instead asks for restricting allowed IAM identity domains.
C:IAM deny policies can block eligible permissions for matching principals despite otherwise applicable allow grants; the decision here is about restricting allowed IAM identity domains, not enforcing an explicit permission denial.
D:Supported Google groups can aggregate external collaborators and be bound to appropriate resource roles; the decision here is about restricting allowed IAM identity domains, not centralizing external users' resource access.
Question 169
A service team wants an incident created when CPU utilization remains high for a sustained evaluation period. What should it configure?
- Use Cloud Monitoring alert policy
- Use Cloud Trace
- Use Cloud Service Health public status
- Use Personalized Service Health
- Enable log-based metrics
Explanation
Correct Answer
A:The requested administrative outcome is turning metric thresholds into actionable incidents; Monitoring alerting policies evaluate metrics against configured conditions and can open incidents with notifications.
Incorrect Answers
B:Cloud Trace collects and visualizes distributed request traces and span timings; its purpose differs: locating slow segments in distributed calls is separate from turning metric thresholds into actionable incidents.
C:Google Cloud's public service health information reports known product incidents and service status; the decision here is about turning metric thresholds into actionable incidents, not checking published cloud service incidents.
D:Personalized Service Health surfaces Google Cloud incidents relevant to selected environments and products; that applies to reviewing personalized service incidents; the requested task is turning metric thresholds into actionable incidents.
E:The alternative would address converting matching log entries into metric time series; Log-based metrics derive metric values from matching log entries and can support dashboards or alerts; the question instead requires turning metric thresholds into actionable incidents.
Question 170
An inventory query must span projects rather than operate within only one active project. Which search scope is appropriate?
- Use project creation permissions at ancestor
- Use organization-level Cloud Asset Inventory search
- Use Cloud Asset Inventory feed
- Use the organization resource
Explanation
Correct Answer
B:Cloud Asset Inventory searches can target supported ancestor scopes including organizations and folders; for the stated workload, the practical result is searching assets across a hierarchy ancestor.
Incorrect Answers
A:Project creation and placement require relevant Resource Manager permissions on eligible ancestor resources; it is relevant when authorizing new-project creation on the intended hierarchy parent, not when the primary need is searching assets across a hierarchy ancestor.
C:Asset feeds publish supported resource changes to Pub/Sub destinations based on a configured scope and content type; the supported outcome is streaming changes to cloud asset metadata, while the requested result is searching assets across a hierarchy ancestor.
D:The organization node is the top governance resource associated with the company's identity domain; the scenario specifies searching assets across a hierarchy ancestor, which differs from enforcing controls across the full resource hierarchy.