100% Latest & Updated Google Professional Cloud Developer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 230
Storage costs rise because every CI run retains unreferenced images, and a developer proposes deleting all tags older than a week. Which safeguard MUST remain in place during and after the correction?
- Cleanup reduces unused storage without breaking pinned deployment digests
- Protect production and legal-hold images before automated deletion
- Differentiate an unused CI image from a digest still referenced by a live service
- Delete everything with an old creation timestamp including running revision digests
Explanation
Correct Answer
B:This preserves the essential security or operating boundary: Protect production and legal-hold images before automated deletion. The reason is: Registry retention must account for live references and rollback dependencies.
Incorrect Answers
A:This measures whether the fix works rather than specifying the ongoing constraint: Protect production and legal-hold images before automated deletion.
C:This states a comparison, not the enduring safeguard: Protect production and legal-hold images before automated deletion.
D:Deleting everything with an old creation timestamp including running revision digests would not address the problem because registry retention must account for live references and rollback dependencies. The more relevant step is: Protect production and legal-hold images before automated deletion. Here, storage costs rise because every CI run retains unreferenced images, and a developer proposes deleting all tags older than a week.
Question 231
A Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. Which observation should the engineer obtain FIRST to identify the technical condition?
- Inspect the build execution service account and the exact registry operation that failed
- Grant project Owner to every build worker as a general dependency fix
- Use a dedicated narrowly privileged build service account and grant only necessary repository permissions
- Build pushes succeed but unrelated secrets and buckets remain inaccessible
Explanation
Correct Answer
A:Inspecting the build execution service account and the exact registry operation that failed is appropriate because cI service identities need least privilege independent of developer identity. Here, a Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure.
Incorrect Answers
B:Granting project Owner to every build worker as a general dependency fix would not address the problem because cI service identities need least privilege independent of developer identity. The more relevant step is: Inspect the build execution service account and the exact registry operation that failed. Here, a Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure.
C:Using a dedicated narrowly privileged build service account and granting only necessary repository permissions is a potential later step, not the cause or baseline requested here. Inspect the build execution service account and the exact registry operation that failed.
D:Building pushes succeed but unrelated secrets and buckets remain inaccessible does not establish the cause or baseline. CI service identities need least privilege independent of developer identity.
Question 232
A Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Inspect the build execution service account and the exact registry operation that failed
- Retain separate deployer approval and avoid broad project access for automated build identities
- Use a dedicated narrowly privileged build service account and grant only necessary repository permissions
- Grant project Owner to every build worker as a general dependency fix
Explanation
Correct Answer
C:Using a dedicated narrowly privileged build service account and granting only necessary repository permissions is appropriate because it addresses the observed problem because cI service identities need least privilege independent of developer identity.
Incorrect Answers
A:This is the diagnostic investigation, not the corrective intervention: Use a dedicated narrowly privileged build service account and grant only necessary repository permissions.
B:This preserves a boundary but does not implement the main remedy: Use a dedicated narrowly privileged build service account and grant only necessary repository permissions.
D:Granting project Owner to every build worker as a general dependency fix would not address the problem because it addresses the observed problem because cI service identities need least privilege independent of developer identity.
Question 233
A Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. Which measurement or test BEST shows that the proposed correction works?
- Build pushes succeed but unrelated secrets and buckets remain inaccessible
- Distinguish permission to push an artifact from permission to administer the project
- Grant project Owner to every build worker as a general dependency fix
- Use a dedicated narrowly privileged build service account and grant only necessary repository permissions
Explanation
Correct Answer
A:Building pushes succeed but unrelated secrets and buckets remain inaccessible is appropriate because it conflicts with the technical condition because cI service identities need least privilege independent of developer identity.
Incorrect Answers
B:This separates two concepts but does not measure the outcome: Build pushes succeed but unrelated secrets and buckets remain inaccessible.
C:Granting project Owner to every build worker as a general dependency fix would not address the problem because it conflicts with the technical condition because cI service identities need least privilege independent of developer identity.
D:This describes an implementation step, not independent evidence of success: Build pushes succeed but unrelated secrets and buckets remain inaccessible.
Question 234
A Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. Before the change, which TWO steps together establish the diagnosis and preserve a key operating constraint? Choose TWO.
- Grant project Owner to every build worker as a general dependency fix
- Inspect the build execution service account and the exact registry operation that failed
- Build pushes succeed but unrelated secrets and buckets remain inaccessible
- Retain separate deployer approval and avoid broad project access for automated build identities
- Use a dedicated narrowly privileged build service account and grant only necessary repository permissions
Explanation
Correct Answers
B:Inspecting the build execution service account and the exact registry operation that failed is appropriate because cI service identities need least privilege independent of developer identity. Here, a Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. The combined response also requires retaining separate deployer approval and avoiding broad project access for automated build identities.
D:Retaining separate deployer approval and avoiding broad project access for automated build identities is appropriate because cI service identities need least privilege independent of developer identity. Here, a Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. The combined response also requires inspecting the build execution service account and the exact registry operation that failed.
Incorrect Answers
A:Granting project Owner to every build worker as a general dependency fix would not address the problem because cI service identities need least privilege independent of developer identity. The more relevant step is: Inspect the build execution service account and the exact registry operation that failed. Here, a Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. The combined response also includes inspecting the build execution service account and the exact registry operation that failed and retaining separate deployer approval and avoiding broad project access for automated build identities.
C:Building pushes succeed but unrelated secrets and buckets remain inaccessible does not establish the starting evidence. CI service identities need least privilege independent of developer identity.
E:Using a dedicated narrowly privileged build service account and granting only necessary repository permissions does not establish the starting evidence. CI service identities need least privilege independent of developer identity.
Question 235
A Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. Diagnosis and authorization are complete. Which THREE steps combine the remedy, acceptance evidence and continuing safeguard? Choose THREE.
- Use a dedicated narrowly privileged build service account and grant only necessary repository permissions
- Distinguish permission to push an artifact from permission to administer the project
- Retain separate deployer approval and avoid broad project access for automated build identities
- Grant project Owner to every build worker as a general dependency fix
- Build pushes succeed but unrelated secrets and buckets remain inaccessible
- Inspect the build execution service account and the exact registry operation that failed
Explanation
Correct Answers
A:Using a dedicated narrowly privileged build service account and granting only necessary repository permissions is appropriate because cI service identities need least privilege independent of developer identity.
C:Retaining separate deployer approval and avoiding broad project access for automated build identities is appropriate because cI service identities need least privilege independent of developer identity. Here, a Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. The combined response also includes using a dedicated narrowly privileged build service account and granting only necessary repository permissions and building pushes succeed but unrelated secrets and buckets remain inaccessible.
E:Building pushes succeed but unrelated secrets and buckets remain inaccessible is appropriate because cI service identities need least privilege independent of developer identity.
Incorrect Answers
B:Distinguishing permission to push an artifact from permission to administer the project does not establish the specific decision in the question. CI service identities need least privilege independent of developer identity.
D:Granting project Owner to every build worker as a general dependency fix would not address the problem because cI service identities need least privilege independent of developer identity. The more relevant step is: Use a dedicated narrowly privileged build service account and grant only necessary repository permissions. Here, a Cloud Build job can read every project secret because its default execution identity was granted broad Editor permissions to fix one registry push failure. The combined response also includes using a dedicated narrowly privileged build service account and granting only necessary repository permissions and retaining separate deployer approval and avoiding broad project access for automated build identities.
F:Inspecting the build execution service account and the exact registry operation that failed does not establish the specific decision in the question. CI service identities need least privilege independent of developer identity.
Question 236
A new image has an unresolved critical dependency vulnerability, but the pipeline marks deployment ready because unit tests passed. Which observation should the engineer obtain FIRST to identify the technical condition?
- Block promotion until the vulnerability is resolved or a documented exception is approved
- A remediated digest passes both vulnerability policy and the existing test suite
- Mark any container as secure merely because its unit tests are green
- Check dependency scanner findings, affected versions, exposure context and release gate policy
Explanation
Correct Answer
D:Checking dependency scanner findings, affected versions, exposure context and release gate policy is appropriate because production readiness needs functional and security gates.
Incorrect Answers
A:Blocking promotion until the vulnerability is resolved or a documented exception is approved is a potential later step, not the cause or baseline requested here. Check dependency scanner findings, affected versions, exposure context and release gate policy.
B:A remediated digest passes both vulnerability policy and the existing test suite does not establish the cause or baseline. Production readiness needs functional and security gates.
C:Marking any container as secure merely because its unit tests are green would not address the problem because production readiness needs functional and security gates. The more relevant step is: Check dependency scanner findings, affected versions, exposure context and release gate policy. Here, a new image has an unresolved critical dependency vulnerability, but the pipeline marks deployment ready because unit tests passed.
Question 237
A new image has an unresolved critical dependency vulnerability, but the pipeline marks deployment ready because unit tests passed. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Mark any container as secure merely because its unit tests are green
- Check dependency scanner findings, affected versions, exposure context and release gate policy
- Preserve audit trails for exceptions instead of silently disabling scan checks
- Block promotion until the vulnerability is resolved or a documented exception is approved
Explanation
Correct Answer
D:This implements the fix: Block promotion until the vulnerability is resolved or a documented exception is approved. It addresses the observed problem because production readiness needs functional and security gates.
Incorrect Answers
A:Marking any container as secure merely because its unit tests are green would not address the problem because it addresses the observed problem because production readiness needs functional and security gates.
B:This is the diagnostic investigation, not the corrective intervention: Block promotion until the vulnerability is resolved or a documented exception is approved.
C:This preserves a boundary but does not implement the main remedy: Block promotion until the vulnerability is resolved or a documented exception is approved.
Question 238
A new image has an unresolved critical dependency vulnerability, but the pipeline marks deployment ready because unit tests passed. Which measurement or test BEST shows that the proposed correction works?
- A remediated digest passes both vulnerability policy and the existing test suite
- Block promotion until the vulnerability is resolved or a documented exception is approved
- Mark any container as secure merely because its unit tests are green
- Differentiate successful functional tests from supply-chain vulnerability acceptance
Explanation
Correct Answer
A:A remediated digest passes both vulnerability policy and the existing test suite is appropriate because it conflicts with the technical condition because production readiness needs functional and security gates.
Incorrect Answers
B:This describes an implementation step, not independent evidence of success: A remediated digest passes both vulnerability policy and the existing test suite.
C:Marking any container as secure merely because its unit tests are green would not address the problem because it conflicts with the technical condition because production readiness needs functional and security gates.
D:This separates two concepts but does not measure the outcome: A remediated digest passes both vulnerability policy and the existing test suite.
Question 239
A new image has an unresolved critical dependency vulnerability, but the pipeline marks deployment ready because unit tests passed. Which comparison BEST identifies the technical distinction behind this failure?
- Check dependency scanner findings, affected versions, exposure context and release gate policy
- Differentiate successful functional tests from supply-chain vulnerability acceptance
- Preserve audit trails for exceptions instead of silently disabling scan checks
- Mark any container as secure merely because its unit tests are green
Explanation
Correct Answer
B:This separates the mechanisms that matter here: Differentiate successful functional tests from supply-chain vulnerability acceptance. The underlying distinction is: Production readiness needs functional and security gates.
Incorrect Answers
A:Checking dependency scanner findings, affected versions, exposure context and release gate policy does not establish the failure mechanism. The underlying distinction is: Production readiness needs functional and security gates.
C:Preserving audit trails for exceptions instead of silently disabling scan checks does not establish the failure mechanism. The underlying distinction is: Production readiness needs functional and security gates.
D:Marking any container as secure merely because its unit tests are green would not address the problem because the underlying distinction is: Production readiness needs functional and security gates.
Question 240
A new image has an unresolved critical dependency vulnerability, but the pipeline marks deployment ready because unit tests passed. Which safeguard MUST remain in place during and after the correction?
- Mark any container as secure merely because its unit tests are green
- Preserve audit trails for exceptions instead of silently disabling scan checks
- Differentiate successful functional tests from supply-chain vulnerability acceptance
- A remediated digest passes both vulnerability policy and the existing test suite
Explanation
Correct Answer
B:This preserves the essential security or operating boundary: Preserve audit trails for exceptions instead of silently disabling scan checks. The reason is: Production readiness needs functional and security gates.
Incorrect Answers
A:Marking any container as secure merely because its unit tests are green would not address the problem because production readiness needs functional and security gates. The more relevant step is: Preserve audit trails for exceptions instead of silently disabling scan checks. Here, a new image has an unresolved critical dependency vulnerability, but the pipeline marks deployment ready because unit tests passed.
C:This states a comparison, not the enduring safeguard: Preserve audit trails for exceptions instead of silently disabling scan checks.
D:This measures whether the fix works rather than specifying the ongoing constraint: Preserve audit trails for exceptions instead of silently disabling scan checks.
Professional Cloud Developer Practice Tests