100% Latest & Updated Google Professional Cloud Developer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 120
A Cloud Build pipeline reports a critical library CVE in a container image, but a teammate wants to suppress findings rather than identify the vulnerable layer. Which safeguard MUST remain in place during and after the correction?
- A new scan shows the affected package resolved and deployed digest matches the tested artifact
- Delete vulnerability findings while continuing to deploy the same vulnerable image
- Distinguish discovered vulnerabilities from a completed remediation and deployment
- Document residual risks and do not equate a clean scan with proof of zero vulnerabilities
Explanation
Correct Answer
D:This preserves the essential security or operating boundary: Document residual risks and do not equate a clean scan with proof of zero vulnerabilities. The reason is: Vulnerability remediation requires correcting and verifying the deployed artifact.
Incorrect Answers
A:This measures whether the fix works rather than specifying the ongoing constraint: Document residual risks and do not equate a clean scan with proof of zero vulnerabilities.
B:Deleting vulnerability findings while continuing to deploy the same vulnerable image would not address the problem because vulnerability remediation requires correcting and verifying the deployed artifact. The more relevant step is: Document residual risks and do not equate a clean scan with proof of zero vulnerabilities. Here, a Cloud Build pipeline reports a critical library CVE in a container image, but a teammate wants to suppress findings rather than identify the vulnerable layer.
C:This states a comparison, not the enduring safeguard: Document residual risks and do not equate a clean scan with proof of zero vulnerabilities.
Question 121
An internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. Which observation should the engineer obtain FIRST to identify the technical condition?
- Use an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination
- Examine invocation IAM bindings, service URL audience, and how identity tokens are created
- Valid authorized requests succeed and missing or wrong-audience tokens fail
- Remove Cloud Run authentication and rely entirely on a secret URL
Explanation
Correct Answer
B:Examining invocation IAM bindings, service URL audience, and how identity tokens are created is appropriate because protected Cloud Run service invocation combines IAM permission and validated identity token. Here, an internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it.
Incorrect Answers
A:Using an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination is a potential later step, not the cause or baseline requested here. Examine invocation IAM bindings, service URL audience, and how identity tokens are created.
C:Validing authorized requests succeed and missing or wrong-audience tokens fail does not establish the cause or baseline. Protected Cloud Run service invocation combines IAM permission and validated identity token.
D:Removing Cloud Run authentication and rely entirely on a secret URL would not address the problem because protected Cloud Run service invocation combines IAM permission and validated identity token. The more relevant step is: Examine invocation IAM bindings, service URL audience, and how identity tokens are created. Here, an internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it.
Question 122
An internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Use an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination
- Examine invocation IAM bindings, service URL audience, and how identity tokens are created
- Remove Cloud Run authentication and rely entirely on a secret URL
- Avoid using an OAuth access token as an unchecked substitute for audience-bound service authentication
Explanation
Correct Answer
A:Using an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination is appropriate because it addresses the observed problem because protected Cloud Run service invocation combines IAM permission and validated identity token.
Incorrect Answers
B:This is the diagnostic investigation, not the corrective intervention: Use an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination.
C:Removing Cloud Run authentication and rely entirely on a secret URL would not address the problem because it addresses the observed problem because protected Cloud Run service invocation combines IAM permission and validated identity token.
D:This preserves a boundary but does not implement the main remedy: Use an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination.
Question 123
An internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. Which measurement or test BEST shows that the proposed correction works?
- Use an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination
- Differentiate audience-bound identity tokens from generic bearer tokens without service verification
- Remove Cloud Run authentication and rely entirely on a secret URL
- Valid authorized requests succeed and missing or wrong-audience tokens fail
Explanation
Correct Answer
D:Validing authorized requests succeed and missing or wrong-audience tokens fail is appropriate because it conflicts with the technical condition because protected Cloud Run service invocation combines IAM permission and validated identity token.
Incorrect Answers
A:This describes an implementation step, not independent evidence of success: Valid authorized requests succeed and missing or wrong-audience tokens fail.
B:This separates two concepts but does not measure the outcome: Valid authorized requests succeed and missing or wrong-audience tokens fail.
C:Removing Cloud Run authentication and rely entirely on a secret URL would not address the problem because it conflicts with the technical condition because protected Cloud Run service invocation combines IAM permission and validated identity token.
Question 124
An internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. Before the change, which TWO steps together establish the diagnosis and preserve a key operating constraint? Choose TWO.
- Remove Cloud Run authentication and rely entirely on a secret URL
- Examine invocation IAM bindings, service URL audience, and how identity tokens are created
- Use an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination
- Avoid using an OAuth access token as an unchecked substitute for audience-bound service authentication
- Valid authorized requests succeed and missing or wrong-audience tokens fail
Explanation
Correct Answers
B:Examining invocation IAM bindings, service URL audience, and how identity tokens are created is appropriate because protected Cloud Run service invocation combines IAM permission and validated identity token. Here, an internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. The combined response also requires avoiding using an OAuth access token as an unchecked substitute for audience-bound service authentication.
D:Avoiding using an OAuth access token as an unchecked substitute for audience-bound service authentication is appropriate because protected Cloud Run service invocation combines IAM permission and validated identity token. Here, an internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. The combined response also requires examining invocation IAM bindings, service URL audience, and how identity tokens are created.
Incorrect Answers
A:Removing Cloud Run authentication and rely entirely on a secret URL would not address the problem because protected Cloud Run service invocation combines IAM permission and validated identity token. The more relevant step is: Examine invocation IAM bindings, service URL audience, and how identity tokens are created. Here, an internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. The combined response also includes examining invocation IAM bindings, service URL audience, and how identity tokens are created and avoiding using an OAuth access token as an unchecked substitute for audience-bound service authentication.
C:Using an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination does not establish the starting evidence. Protected Cloud Run service invocation combines IAM permission and validated identity token.
E:Validing authorized requests succeed and missing or wrong-audience tokens fail does not establish the starting evidence. Protected Cloud Run service invocation combines IAM permission and validated identity token.
Question 125
An internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. Diagnosis and authorization are complete. Which THREE steps combine the remedy, acceptance evidence and continuing safeguard? Choose THREE.
- Valid authorized requests succeed and missing or wrong-audience tokens fail
- Remove Cloud Run authentication and rely entirely on a secret URL
- Examine invocation IAM bindings, service URL audience, and how identity tokens are created
- Use an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination
- Differentiate audience-bound identity tokens from generic bearer tokens without service verification
- Avoid using an OAuth access token as an unchecked substitute for audience-bound service authentication
Explanation
Correct Answers
A:Validing authorized requests succeed and missing or wrong-audience tokens fail is appropriate because protected Cloud Run service invocation combines IAM permission and validated identity token.
D:Using an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination is appropriate because protected Cloud Run service invocation combines IAM permission and validated identity token.
F:Avoiding using an OAuth access token as an unchecked substitute for audience-bound service authentication is appropriate because protected Cloud Run service invocation combines IAM permission and validated identity token. Here, an internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. The combined response also includes validing authorized requests succeed and missing or wrong-audience tokens fail and using an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination.
Incorrect Answers
B:Removing Cloud Run authentication and rely entirely on a secret URL would not address the problem because protected Cloud Run service invocation combines IAM permission and validated identity token. The more relevant step is: Valid authorized requests succeed and missing or wrong-audience tokens fail. Here, an internal report Cloud Run service receives HTTP calls from another service and must reject any caller lacking permission to invoke it. The combined response also includes validing authorized requests succeed and missing or wrong-audience tokens fail and using an authorized caller service account to obtain a suitable identity token for the protected Cloud Run destination.
C:Examining invocation IAM bindings, service URL audience, and how identity tokens are created does not establish the specific decision in the question. Protected Cloud Run service invocation combines IAM permission and validated identity token.
E:Differentiating audience-bound identity tokens from generic bearer tokens without service verification does not establish the specific decision in the question. Protected Cloud Run service invocation combines IAM permission and validated identity token.
Question 126
A subscription database requires strongly consistent multi-region relational transactions across high write volume; one engineer suggests Firestore only because it is serverless. Which observation should the engineer obtain FIRST to identify the technical condition?
- Store all customer balances as unrelated documents and infer global ACID behavior without design
- Inspect transaction and schema requirements, global availability, query shapes, and expected write throughput
- Concurrent cross-region transaction tests preserve required invariants within latency targets
- Evaluate Spanner with an appropriate multi-region configuration and transactional schema
Explanation
Correct Answer
B:Inspecting transaction and schema requirements, global availability, query shapes, and expected write throughput is appropriate because data platform choice should match transaction consistency and scale needs.
Incorrect Answers
A:Storing all customer balances as unrelated documents and infer global ACID behavior without design would not address the problem because data platform choice should match transaction consistency and scale needs. The more relevant step is: Inspect transaction and schema requirements, global availability, query shapes, and expected write throughput. Here, a subscription database requires strongly consistent multi-region relational transactions across high write volume; one engineer suggests Firestore only because it is serverless.
C:Concurrenting cross-region transaction tests preserve required invariants within latency targets does not establish the cause or baseline. Data platform choice should match transaction consistency and scale needs.
D:Evaluating Spanner with an appropriate multi-region configuration and transactional schema is a potential later step, not the cause or baseline requested here. Inspect transaction and schema requirements, global availability, query shapes, and expected write throughput.
Question 127
A subscription database requires strongly consistent multi-region relational transactions across high write volume; one engineer suggests Firestore only because it is serverless. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Evaluate Spanner with an appropriate multi-region configuration and transactional schema
- Model costs and regional replication tradeoffs before assuming multi-region is free
- Store all customer balances as unrelated documents and infer global ACID behavior without design
- Inspect transaction and schema requirements, global availability, query shapes, and expected write throughput
Explanation
Correct Answer
A:This implements the fix: Evaluate Spanner with an appropriate multi-region configuration and transactional schema. It addresses the observed problem because data platform choice should match transaction consistency and scale needs.
Incorrect Answers
B:This preserves a boundary but does not implement the main remedy: Evaluate Spanner with an appropriate multi-region configuration and transactional schema.
C:Storing all customer balances as unrelated documents and infer global ACID behavior without design would not address the problem because it addresses the observed problem because data platform choice should match transaction consistency and scale needs.
D:This is the diagnostic investigation, not the corrective intervention: Evaluate Spanner with an appropriate multi-region configuration and transactional schema.
Question 128
A subscription database requires strongly consistent multi-region relational transactions across high write volume; one engineer suggests Firestore only because it is serverless. Which measurement or test BEST shows that the proposed correction works?
- Evaluate Spanner with an appropriate multi-region configuration and transactional schema
- Contrast globally distributed relational transactions with a document store optimized for different access patterns
- Concurrent cross-region transaction tests preserve required invariants within latency targets
- Store all customer balances as unrelated documents and infer global ACID behavior without design
Explanation
Correct Answer
C:Concurrenting cross-region transaction tests preserve required invariants within latency targets is appropriate because it conflicts with the technical condition because data platform choice should match transaction consistency and scale needs.
Incorrect Answers
A:This describes an implementation step, not independent evidence of success: Concurrent cross-region transaction tests preserve required invariants within latency targets.
B:This separates two concepts but does not measure the outcome: Concurrent cross-region transaction tests preserve required invariants within latency targets.
D:Storing all customer balances as unrelated documents and infer global ACID behavior without design would not address the problem because it conflicts with the technical condition because data platform choice should match transaction consistency and scale needs.
Question 129
A subscription database requires strongly consistent multi-region relational transactions across high write volume; one engineer suggests Firestore only because it is serverless. Which comparison BEST identifies the technical distinction behind this failure?
- Inspect transaction and schema requirements, global availability, query shapes, and expected write throughput
- Model costs and regional replication tradeoffs before assuming multi-region is free
- Contrast globally distributed relational transactions with a document store optimized for different access patterns
- Store all customer balances as unrelated documents and infer global ACID behavior without design
Explanation
Correct Answer
C:This separates the mechanisms that matter here: Contrast globally distributed relational transactions with a document store optimized for different access patterns. The underlying distinction is: Data platform choice should match transaction consistency and scale needs.
Incorrect Answers
A:Inspecting transaction and schema requirements, global availability, query shapes, and expected write throughput does not establish the failure mechanism. The underlying distinction is: Data platform choice should match transaction consistency and scale needs.
B:Modeling costs and regional replication tradeoffs before assuming multi-region is free does not establish the failure mechanism. The underlying distinction is: Data platform choice should match transaction consistency and scale needs.
D:Storing all customer balances as unrelated documents and infer global ACID behavior without design would not address the problem because the underlying distinction is: Data platform choice should match transaction consistency and scale needs.
Question 130
A subscription database requires strongly consistent multi-region relational transactions across high write volume; one engineer suggests Firestore only because it is serverless. Which safeguard MUST remain in place during and after the correction?
- Concurrent cross-region transaction tests preserve required invariants within latency targets
- Contrast globally distributed relational transactions with a document store optimized for different access patterns
- Model costs and regional replication tradeoffs before assuming multi-region is free
- Store all customer balances as unrelated documents and infer global ACID behavior without design
Explanation
Correct Answer
C:This preserves the essential security or operating boundary: Model costs and regional replication tradeoffs before assuming multi-region is free. The reason is: Data platform choice should match transaction consistency and scale needs.
Incorrect Answers
A:This measures whether the fix works rather than specifying the ongoing constraint: Model costs and regional replication tradeoffs before assuming multi-region is free.
B:This states a comparison, not the enduring safeguard: Model costs and regional replication tradeoffs before assuming multi-region is free.
D:Storing all customer balances as unrelated documents and infer global ACID behavior without design would not address the problem because data platform choice should match transaction consistency and scale needs. The more relevant step is: Model costs and regional replication tradeoffs before assuming multi-region is free. Here, a subscription database requires strongly consistent multi-region relational transactions across high write volume; one engineer suggests Firestore only because it is serverless.
Professional Cloud Developer Practice Tests