Question 460
One team should be able to impersonate a particular service account but not other accounts in the project. Where should the permission be granted?
- Use service-account-level IAM policy
- Delete obsolete service account
- Disable unused service account
- Grant target resource role to service account
Explanation
Correct Answer
A:A service account is an IAM resource with its own allow policy for controlling who can use or manage it; this is the specific mechanism used for delegating access to exactly one service account.
Incorrect Answers
B:Deleting a service account removes its identity; accidental deletion may have limited recovery options and affect dependencies; the scenario specifies delegating access to exactly one service account, which differs from eliminating unused service-account principals.
C:Disabling a service account blocks its use without immediately deleting the identity and associated metadata; that mechanism handles blocking authentication by an abandoned workload identity; it does not configure delegating access to exactly one service account.
D:Attaching an account establishes identity but the service account still needs IAM permissions on the resources it accesses; the scenario specifies delegating access to exactly one service account, which differs from granting the workload identity the required API permissions.
Question 461
A VM data disk requires daily point-in-time backups with retention automation. Which feature fits?
- Use gcloud compute instances describe
- Resize a persistent disk
- Use an SSH metadata key for supported VMs
- Schedule disk snapshots
Explanation
Correct Answer
D:Resource policies can schedule eligible persistent disk snapshots and manage their retention; Applied in this case, it delivers automating regular persistent disk snapshots.
Incorrect Answers
A:The alternative would address retrieving one instance's detailed configuration; the instances describe operation retrieves configuration and status details for a specified VM in its zone; the question instead requires automating regular persistent disk snapshots.
B:For increasing allocated disk capacity, this could be relevant; Persistent disks can be expanded subject to limits, with guest partition or filesystem growth often still required; the actual request concerns automating regular persistent disk snapshots.
C:When OS Login is disabled, supported SSH keys in project or instance metadata can be applied by guest agents; its operational role is authorizing a user SSH key through instance metadata; the needed capability is automating regular persistent disk snapshots.
Question 462
A faulty application deployment may alter important disk contents; the team wants a recoverable image of the disk state. Which resource fits?
- Create a disk snapshot
- Create a custom image from a disk
- Restore a new disk from a snapshot
- Diagnose OS Login IAM roles
Explanation
Correct Answer
A:Persistent disk snapshots preserve block-level disk contents and can be used to create recovery disks; Applied in this case, it delivers protecting attached persistent data with snapshots.
Incorrect Answers
B:Custom Compute Engine images provide reusable disk source content for new boot disks; this is a distinct control for preparing reusable VM boot images, rather than protecting attached persistent data with snapshots.
C:A snapshot can be the source for creating a new compatible disk, enabling recovery workflows; that solves problems involving provisioning a restored disk from backup, rather than the protecting attached persistent data with snapshots requirement.
D:OS Login uses IAM roles and identities for VM SSH access, superseding metadata-managed key access when enabled; its purpose differs: authorizing OS Login rather than legacy metadata keys is separate from protecting attached persistent data with snapshots.
Question 463
A newly advertised on-premises subnet must be learned without manually updating every static route. What component enables this on supported connections?
- Use Cloud Router
- Use Cloud NAT
- Use Cloud DNS public managed zones
- Use HA VPN
Explanation
Correct Answer
A:Cloud Router manages dynamic route exchange using BGP for supported hybrid connectivity; this is the capability needed for learning and advertising prefixes through BGP.
Incorrect Answers
B:Cloud NAT provides managed outbound network address translation for eligible resources without exposing unsolicited inbound endpoints; that mechanism handles providing outbound Internet access for privately addressed VMs; it does not configure learning and advertising prefixes through BGP.
C:Public managed zones publish authoritative DNS records reachable through the public DNS hierarchy; the scenario specifies learning and advertising prefixes through BGP, which differs from hosting public authoritative zone records.
D:HA VPN uses regional high-availability gateways with two interfaces and supports Cloud Router dynamic routing; it is not the focused action for learning and advertising prefixes through BGP; its primary use is designing a highly available VPN connection.
Question 464
An investigator must see supported reads or writes to resource data, beyond administrative configuration changes. Which audit-log category is relevant?
- Use Log Analytics
- Use Cloud Audit Logs System Event
- Create a dedicated log bucket
- Create a log sink to Cloud Storage
- Use Cloud Audit Logs Data Access
Explanation
Correct Answer
E:Data Access audit logs capture supported data reads and writes and may require explicit enablement depending on service and category; it is the direct control for auditing supported data-plane access events.
Incorrect Answers
A:Log Analytics enables supported SQL analysis over eligible Cloud Logging buckets; its operational role is querying supported logs using SQL analysis; the needed capability is auditing supported data-plane access events.
B:System Event audit logs record supported Google Cloud system operations modifying resource configurations; Applying it would target reviewing Google-managed operational changes, leaving the separate need for auditing supported data-plane access events.
C:Cloud Logging log buckets store ingested logs with configurable retention and access controls; its purpose differs: isolating log retention and access settings is separate from auditing supported data-plane access events.
D:Cloud Logging sinks can route supported records to Cloud Storage buckets for external retention workflows; its purpose differs: shipping selected log streams to storage is separate from auditing supported data-plane access events.
Question 465
A Terraform rollout must ensure supported resources include searchable ownership metadata from day one. What resource property should be specified?
- Use IAM inheritance reasoning
- Use labels at resource creation
- Use a project lien
- Use Resource Manager tags
Explanation
Correct Answer
B:What matters is applying descriptive labels during provisioning; Resource labels are supplied on supported resources during creation or update and can be queried for categorization.
Incorrect Answers
A:IAM allow-policy grants at higher resource scopes generally propagate to descendant resources; it is relevant when recognizing IAM role inheritance through hierarchy, not when the primary need is applying descriptive labels during provisioning.
C:A project lien can restrict deletion while the lien remains in place; it would help with preventing deletion of a depended-on project, but it does not directly implement applying descriptive labels during provisioning.
D:Resource Manager tags are centrally defined key-value bindings with policy integrations distinct from ordinary labels; that mechanism handles assigning governed tags for policy decisions; it does not configure applying descriptive labels during provisioning.
Question 466
An automation must collect instance names, zones and statuses before maintenance begins. What CLI query is relevant?
- Use gcloud compute instances list
- Change a VM machine type
- Create a custom image from a disk
- Diagnose OS Login IAM roles
- Create an instance from an image
Explanation
Correct Answer
A:The instances list command queries Compute Engine VM metadata and supports filters and output formatting; this is relevant because the outcome sought is obtaining current VM inventory data.
Incorrect Answers
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 obtaining current VM inventory data requirement.
C:This alternative focuses on turning an approved disk state into a reusable image; Custom Compute Engine images provide reusable disk source content for new boot disks; the stem instead asks for obtaining current VM inventory data.
D:OS Login uses IAM roles and identities for VM SSH access, superseding metadata-managed key access when enabled; that solves problems involving authorizing OS Login rather than legacy metadata keys, rather than the obtaining current VM inventory data requirement.
E:VM boot disks can be initialized from public or custom images in compatible configurations; that applies to provisioning new machines from a standard OS image; the requested task is obtaining current VM inventory data.
Question 467
A deployment command fails because the Compute Engine API has not been used in the current project. What should be done first?
- List enabled project services
- Enable a service API for the project
- Use gcloud auth application-default login
- Grant IAM role on the project
Explanation
Correct Answer
B:What matters is activating the needed project API; Service Usage controls API enablement for each project; authorization and billing are separate requirements.
Incorrect Answers
A:The Service Usage listing and its gcloud services list interface expose enabled and available service states; it is relevant when inspecting a project's enabled API inventory, not when the primary need is activating the needed project API.
C:Application Default Credentials are discovered by client libraries separately from the CLI's normal active credential store; it is not the focused action for activating the needed project API; its primary use is setting up local Application Default Credentials.
D:For granting a principal permissions within a target project, this could be relevant; Project-level IAM bindings authorize principals in that project and can inherit from ancestors; the actual request concerns activating the needed project API.
Question 468
One data lake dataset should remain as Parquet files in Cloud Storage for external SQL queries; a different staged dataset must be imported into native BigQuery tables every night. Choose TWO BigQuery features.
- Use BigQuery dataset location
- Use BigQuery
- Use a multi-region Cloud Storage bucket
- Use BigQuery load job from Cloud Storage
- Use BigQuery external tables
Explanation
Correct Answers
D:BigQuery load jobs read supported source objects and create or append data in destination tables; within the multi-part workflow of querying external Parquet files and importing a separate batch into native tables, this provides loading staged files into BigQuery tables.
E:BigQuery external tables reference supported external data sources instead of ingesting them into native storage; within the multi-part workflow of querying external Parquet files and importing a separate batch into native tables, this provides querying object data in place.
Incorrect Answers
A:BigQuery datasets have assigned locations that constrain storage and many job operations; it is designed for aligning location requirements for analytics jobs, rather than the needed querying external Parquet files and importing a separate batch into native tables.
B:BigQuery is a managed analytical data warehouse designed for scalable SQL workloads, which serves performing large-scale SQL analytics instead of querying external Parquet files and importing a separate batch into native tables.
C:Cloud Storage multi-region locations store object data using Google's supported multi-region placement and redundancy model; the mechanism concerns storing objects across a multi-region location and does not directly supply querying external Parquet files and importing a separate batch into native tables.
Question 469
A centrally managed Shared VPC host project already exists. A new application project has been created, and its eligible workloads should use the host project’s subnets. What administrative association is required?
- Convert the application project into another billing account
- Create independent auto-mode VPCs in every application project
- Grant all application developers the Organization Admin role
- Attach the new project as a Shared VPC service project to the host project
Explanation
Correct Answer
D:A service project is associated with the Shared VPC host project. Authorized workloads in it can then use permitted host-network subnets and centrally governed network resources.
Incorrect Answers
A:Billing reassignment changes charge responsibility, not the network host/service project association needed for Shared VPC subnet use.
B:Creating separate networks would not attach the workload project to existing centrally controlled host-project subnets.
C:Organization-wide administrative access is unnecessary and unsafe; it does not itself establish the Shared VPC service-project attachment.
Question 470
Operators need to know when a new type of production exception appears across many instances. What Observability capability fits?
- Use Cloud Service Health public status
- Use Cloud Trace
- Use Cloud Profiler
- Use Cloud Error Reporting
Explanation
Correct Answer
D:Error Reporting groups recognized application errors and summarizes their frequency and impact; Applied in this case, it delivers tracking application error occurrences by group.
Incorrect Answers
A:Google Cloud's public service health information reports known product incidents and service status; Applying it would target inspecting the public service status dashboard, leaving the separate need for tracking application error occurrences by group.
B:Cloud Trace collects and visualizes distributed request traces and span timings; its purpose differs: analyzing latency along a request trace is separate from tracking application error occurrences by group.
C:Cloud Profiler analyzes sampled application profiles to reveal resource-heavy functions and code paths; its purpose differs: identifying application code hotspots from profiles is separate from tracking application error occurrences by group.