Question 390
An application team wants namespace-managed Pod identity separation before integrating Google Cloud IAM. Which resource is relevant?
- Restrict federation provider attributes
- Use GKE Kubernetes service accounts
- Use Workload Identity Federation
- Use Workforce Identity Federation
Explanation
Correct Answer
B:Kubernetes ServiceAccounts identify workloads to the Kubernetes API and can participate in GKE workload identity integrations; the decisive property here is using a dedicated Kubernetes service-account principal.
Incorrect Answers
A:Workload identity provider attribute conditions restrict accepted external identity assertions; this governs enforcing attribute-based identity federation conditions, whereas the stated objective is using a dedicated Kubernetes service-account principal.
C:Workload Identity Federation exchanges eligible external workload identities for short-lived Google Cloud credentials; the scenario specifies using a dedicated Kubernetes service-account principal, which differs from accessing cloud APIs from external CI without key files.
D:Workforce Identity Federation lets external workforce identities access supported Google Cloud resources through configured identity pools and providers; the decision here is about using a dedicated Kubernetes service-account principal, not federating workforce identities for cloud administration.
Question 391
A Dataflow job launches but workers cannot read from a required Cloud Storage bucket. What identity should get read access?
- Use service account for Batch jobs
- Use authenticated Pub/Sub push
- Use signed URL delegation with service account
- Use service account for Dataflow workers
Explanation
Correct Answer
D:Dataflow workers run with a configured service account that must access pipeline sources and destinations; Applied in this case, it delivers authorizing data pipeline workers on input data.
Incorrect Answers
A:Batch workloads run under configured service-account identities on underlying compute resources; it is relevant when authorizing task runtime data access, not when the primary need is authorizing data pipeline workers on input data.
B:Authenticated Pub/Sub push uses a configured service account to attach supported OIDC tokens to push requests; that supports delivering Pub/Sub events with signed identity credentials; the problem to solve concerns authorizing data pipeline workers on input data.
C:Authorized service account signing can generate Cloud Storage signed URLs for temporary operation-specific access; the decision here is about authorizing data pipeline workers on input data, not delegating bounded object download access.
Question 392
An operator must copy local files into an existing Cloud Storage bucket from a terminal. Which command family is appropriate?
- Use gcloud storage ls
- Use gcloud storage cp
- Use generation preconditions for object writes
- Restore a soft-deleted Cloud Storage object
Explanation
Correct Answer
B:Gcloud storage cp copies files and supported objects between local storage and Cloud Storage paths; for the stated workload, the practical result is uploading object data with the CLI.
Incorrect Answers
A:Gcloud storage ls enumerates supported buckets and objects depending on the specified path; this is a distinct control for listing Cloud Storage objects, rather than uploading object data with the CLI.
C:Cloud Storage generation preconditions condition object mutations on expected generation values; the decision here is about uploading object data with the CLI, not protecting against concurrent object updates.
D:Soft-deleted objects can be restored within their applicable retention period using supported restore workflows; Applying it would target recovering retained deleted object data, leaving the separate need for uploading object data with the CLI.
Question 393
Administrators must distinguish workloads using centrally controlled tag definitions rather than unconstrained cost labels. Which feature fits?
- Use labels on supported resources
- Apply an organization policy constraint
- Inspect the effective organization policy
- Use Resource Manager tags
Explanation
Correct Answer
D:Resource Manager tags are centrally defined key-value bindings with policy integrations distinct from ordinary labels; the decisive property here is attaching policy-aware governed metadata to resources.
Incorrect Answers
A:Labels are user-defined key-value metadata for organization and billing analysis and are not hierarchical IAM boundaries; it is relevant when classifying supported resources with key-value labels, not when the primary need is attaching policy-aware governed metadata to resources.
B:This alternative focuses on enforcing an organization-level resource restriction; Organization Policy Service evaluates supported constraints along the resource hierarchy independently of ordinary IAM grants; the stem instead asks for attaching policy-aware governed metadata to resources.
C:Effective organization policies reflect applicable ancestors and overrides; an IAM role cannot bypass a conflicting constraint; it is appropriate for diagnosing the policy state inherited by a child project; here, the deciding requirement is attaching policy-aware governed metadata to resources.
Question 394
A team stores an object in Cloud Storage Archive and deletes it after only 20 days. Which billing consequence should the team expect for that object?
- No deletion-related charge because the object was rarely read
- An early deletion charge based on Archive minimum storage duration
- An automatic upgrade to Standard storage with no charge
- A mandatory one-year delay before deletion is allowed
Explanation
Correct Answer
B:Archive has a 365-day minimum storage duration. Deleting an Archive object before that period can incur an early deletion fee for the remaining minimum-duration time.
Incorrect Answers
A:Archive pricing includes minimum storage duration considerations. The fact that an object is rarely read does not waive the minimum-duration charge when it is deleted early.
C:Deleting an object does not silently turn it into a Standard object, and changing the storage class would not erase applicable minimum-duration billing.
D:Archive objects can be accessed and deleted without an enforced one-year lock. The minimum storage duration is a billing rule, not a prohibition on early deletion.
Question 395
An admin has access to ten projects and wants to ensure console operations apply to the intended one. What UI control matters?
- Use IAM policy analyzer
- Use the Cloud Console project selector
- Use a project ID rather than display name
- Use a separate project for prod and dev
Explanation
Correct Answer
B:The Cloud Console's active project selector determines project context for many console workflows; it is the direct control for choosing the active console project.
Incorrect Answers
A:For analyzing effective IAM access paths, this could be relevant; Policy Analyzer uses Cloud Asset Inventory data to examine which identities can access resources through policy bindings; the actual request concerns choosing the active console project.
C:Project IDs uniquely identify projects in many Google Cloud APIs and differ from editable display names; Applying it would target addressing projects with their project IDs, leaving the separate need for choosing the active console project.
D:Separate projects provide independent administration, many quota scopes and clearer billing and permission boundaries; it is relevant when creating independent environment projects, not when the primary need is choosing the active console project.
Question 396
An analyst wants an estimated query scan size without actually running a costly BigQuery job. Which query option applies?
- Use Database Center
- Use BigQuery dry run
- Use BigQuery clustered tables
- Use BigQuery partitioned tables
Explanation
Correct Answer
B:What matters is estimating bytes processed before execution; BigQuery dry runs validate supported queries and estimate bytes processed without executing the query.
Incorrect Answers
A:Database Center offers fleet-level information and insights for supported Google Cloud database services; its purpose differs: observing a fleet of cloud databases is separate from estimating bytes processed before execution.
C:BigQuery clustering organizes storage blocks by selected columns to improve eligible query pruning; the supported outcome is organizing warehouse storage for selective queries, while the requested result is estimating bytes processed before execution.
D:Partitioned BigQuery tables organize rows into partitions that can be pruned by appropriate filters; Applying it would target reducing scan volume with partition elimination, leaving the separate need for estimating bytes processed before execution.
Question 397
A scheduled compliance job joins project assets with a data-warehouse policy reference table. What asset-export target should it use?
- Use a project lien
- Use resource inventory export to BigQuery
- Use folder creation permissions on parent
- Use IAM inheritance reasoning
Explanation
Correct Answer
B:Cloud Asset Inventory supports exporting eligible asset data to BigQuery for structured reporting; this corresponds to exporting centralized asset inventory for analytics, not a separate lifecycle action.
Incorrect Answers
A:A project lien can restrict deletion while the lien remains in place; this governs preventing deletion of a depended-on project, whereas the stated objective is exporting centralized asset inventory for analytics.
C:Creating folders depends on permissions on the intended organization or parent folder, not merely project permissions; this governs granting folder creation authority on the parent resource, whereas the stated objective is exporting centralized asset inventory for analytics.
D:IAM allow-policy grants at higher resource scopes generally propagate to descendant resources; that applies to explaining inherited access from ancestors; the requested task is exporting centralized asset inventory for analytics.
Question 398
An SRE suspects memory allocation hotspots in supported instrumented code. What should they inspect?
- Use Cloud Profiler profiles
- Use Cloud Audit Logs Admin Activity
- Use Cloud Audit Logs System Event
- Use Personalized Service Health
- Use Error Reporting groups
Explanation
Correct Answer
A:Cloud Profiler collects supported statistical application profiles that highlight code resource consumption; for the stated workload, the practical result is analyzing statistical application profiles.
Incorrect Answers
B:Admin Activity audit logs capture supported resource configuration and permission management events; its operational role is tracking administrative control-plane changes; the needed capability is analyzing statistical application profiles.
C:System Event audit logs record supported Google Cloud system operations modifying resource configurations; it is relevant when reviewing Google-managed operational changes, not when the primary need is analyzing statistical application profiles.
D:Personalized Service Health surfaces supported provider events relevant to particular resources and projects; that supports checking provider incidents relevant to selected projects; the problem to solve concerns analyzing statistical application profiles.
E:Error Reporting recognizes and groups application error events by supported signatures; its operational role is tracking distinct application error patterns; the needed capability is analyzing statistical application profiles.
Question 399
A GKE VPC-native cluster is being planned in a Shared VPC. The host project administrator needs separate subnet address pools for Pod alias IPs and Service ClusterIP addresses. What should they configure?
- Two external static IP addresses
- Appropriate secondary subnet IPv4 ranges for Pods and Services
- Only a larger primary VM subnet range
- A Cloud DNS private managed zone
Explanation
Correct Answer
B:VPC-native GKE uses subnet secondary IPv4 ranges for Pod addresses and, where applicable, Service addresses. Shared VPC configurations require the host network administrator to prepare suitable ranges.
Incorrect Answers
A:External static IPs are reserved for eligible public endpoints and do not supply the subnet-internal alias IP pools used for GKE Pods and Services.
C:The subnet primary range is used for node interfaces. Making it larger does not by itself define the distinct secondary alias ranges required by VPC-native GKE.
D:Private DNS provides name resolution for VPC clients; it does not allocate the Pod and Service address ranges needed by the cluster network.
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.