100% Latest & Updated Google Professional Cloud Developer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 220
A build prints a package-registry password to its output because a step echoes all environment variables while troubleshooting. Which safeguard MUST remain in place during and after the correction?
- The build authenticates successfully without exposing passwords in its logs or archived artifacts
- Revoke the exposed credential and restrict log readers as needed
- Base64-encode the password and print it in logs as if encoding were encryption
- Distinguish securely injecting secrets from protecting them during execution and logging
Explanation
Correct Answer
B:This preserves the essential security or operating boundary: Revoke the exposed credential and restrict log readers as needed. The reason is: Build-time secrets must be protected from both source disclosure and log leakage.
Incorrect Answers
A:This measures whether the fix works rather than specifying the ongoing constraint: Revoke the exposed credential and restrict log readers as needed.
C:Base64-encode the password and print it in logs as if encoding were encryption would not address the problem because build-time secrets must be protected from both source disclosure and log leakage. The more relevant step is: Revoke the exposed credential and restrict log readers as needed. Here, a build prints a package-registry password to its output because a step echoes all environment variables while troubleshooting.
D:This states a comparison, not the enduring safeguard: Revoke the exposed credential and restrict log readers as needed.
Question 221
A deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. Which observation should the engineer obtain FIRST to identify the technical condition?
- Produce verified Cloud Build provenance or attestations and promote the resulting immutable digest
- A provenance check binds deployed digest to the intended source and trusted build
- Inspect build provenance configuration, artifact digest, builder identity and verification policy
- Reuse the same mutable tag and assert it proves the source revision
Explanation
Correct Answer
C:Inspecting build provenance configuration, artifact digest, builder identity and verification policy is appropriate because build provenance must be linked to immutable artifact identity. Here, a deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag.
Incorrect Answers
A:Producing verified Cloud Build provenance or attestations and promote the resulting immutable digest is a potential later step, not the cause or baseline requested here. Inspect build provenance configuration, artifact digest, builder identity and verification policy.
B:A provenance check binds deployed digest to the intended source and trusted build does not establish the cause or baseline. Build provenance must be linked to immutable artifact identity.
D:Reusing the same mutable tag and assert it proves the source revision would not address the problem because build provenance must be linked to immutable artifact identity. The more relevant step is: Inspect build provenance configuration, artifact digest, builder identity and verification policy. Here, a deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag.
Question 222
A deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Inspect build provenance configuration, artifact digest, builder identity and verification policy
- Reuse the same mutable tag and assert it proves the source revision
- Do not equate the tag string `release` with cryptographic provenance
- Produce verified Cloud Build provenance or attestations and promote the resulting immutable digest
Explanation
Correct Answer
D:Producing verified Cloud Build provenance or attestations and promote the resulting immutable digest is appropriate because it addresses the observed problem because build provenance must be linked to immutable artifact identity.
Incorrect Answers
A:This is the diagnostic investigation, not the corrective intervention: Produce verified Cloud Build provenance or attestations and promote the resulting immutable digest.
B:Reusing the same mutable tag and assert it proves the source revision would not address the problem because it addresses the observed problem because build provenance must be linked to immutable artifact identity.
C:This preserves a boundary but does not implement the main remedy: Produce verified Cloud Build provenance or attestations and promote the resulting immutable digest.
Question 223
A deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. Which measurement or test BEST shows that the proposed correction works?
- A provenance check binds deployed digest to the intended source and trusted build
- Produce verified Cloud Build provenance or attestations and promote the resulting immutable digest
- Reuse the same mutable tag and assert it proves the source revision
- Contrast source-bound provenance verification with a human-readable image label
Explanation
Correct Answer
A:A provenance check binds deployed digest to the intended source and trusted build is appropriate because it conflicts with the technical condition because build provenance must be linked to immutable artifact identity.
Incorrect Answers
B:This describes an implementation step, not independent evidence of success: A provenance check binds deployed digest to the intended source and trusted build.
C:Reusing the same mutable tag and assert it proves the source revision would not address the problem because it conflicts with the technical condition because build provenance must be linked to immutable artifact identity.
D:This separates two concepts but does not measure the outcome: A provenance check binds deployed digest to the intended source and trusted build.
Question 224
A deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. Before the change, which TWO steps together establish the diagnosis and preserve a key operating constraint? Choose TWO.
- Reuse the same mutable tag and assert it proves the source revision
- Produce verified Cloud Build provenance or attestations and promote the resulting immutable digest
- Do not equate the tag string `release` with cryptographic provenance
- Inspect build provenance configuration, artifact digest, builder identity and verification policy
- A provenance check binds deployed digest to the intended source and trusted build
Explanation
Correct Answers
C:Not equate the tag string `release` with cryptographic provenance is appropriate because build provenance must be linked to immutable artifact identity. Here, a deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. The combined response also requires inspecting build provenance configuration, artifact digest, builder identity and verification policy.
D:Inspecting build provenance configuration, artifact digest, builder identity and verification policy is appropriate because build provenance must be linked to immutable artifact identity. Here, a deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. The combined response also requires not equate the tag string `release` with cryptographic provenance.
Incorrect Answers
A:Reusing the same mutable tag and assert it proves the source revision would not address the problem because build provenance must be linked to immutable artifact identity. The more relevant step is: Do not equate the tag string `release` with cryptographic provenance. Here, a deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. The combined response also includes not equate the tag string `release` with cryptographic provenance and inspecting build provenance configuration, artifact digest, builder identity and verification policy.
B:Producing verified Cloud Build provenance or attestations and promote the resulting immutable digest does not establish the starting evidence. Build provenance must be linked to immutable artifact identity.
E:A provenance check binds deployed digest to the intended source and trusted build does not establish the starting evidence. Build provenance must be linked to immutable artifact identity.
Question 225
A deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. Diagnosis and authorization are complete. Which THREE steps combine the remedy, acceptance evidence and continuing safeguard? Choose THREE.
- Reuse the same mutable tag and assert it proves the source revision
- Contrast source-bound provenance verification with a human-readable image label
- Do not equate the tag string `release` with cryptographic provenance
- A provenance check binds deployed digest to the intended source and trusted build
- Produce verified Cloud Build provenance or attestations and promote the resulting immutable digest
- Inspect build provenance configuration, artifact digest, builder identity and verification policy
Explanation
Correct Answers
C:Not equate the tag string `release` with cryptographic provenance is appropriate because build provenance must be linked to immutable artifact identity. Here, a deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. The combined response also includes a provenance check binds deployed digest to the intended source and trusted build and producing verified Cloud Build provenance or attestations and promote the resulting immutable digest.
D:A provenance check binds deployed digest to the intended source and trusted build is appropriate because build provenance must be linked to immutable artifact identity.
E:Producing verified Cloud Build provenance or attestations and promote the resulting immutable digest is appropriate because build provenance must be linked to immutable artifact identity.
Incorrect Answers
A:Reusing the same mutable tag and assert it proves the source revision would not address the problem because build provenance must be linked to immutable artifact identity. The more relevant step is: Do not equate the tag string `release` with cryptographic provenance. Here, a deployment policy requires evidence of which source revision produced a container, but the team has only a mutable image tag. The combined response also includes not equate the tag string `release` with cryptographic provenance and a provenance check binds deployed digest to the intended source and trusted build.
B:Contrasting source-bound provenance verification with a human-readable image label does not establish the specific decision in the question. Build provenance must be linked to immutable artifact identity.
F:Inspecting build provenance configuration, artifact digest, builder identity and verification policy does not establish the specific decision in the question. Build provenance must be linked to immutable artifact identity.
Question 226
Storage costs rise because every CI run retains unreferenced images, and a developer proposes deleting all tags older than a week. Which observation should the engineer obtain FIRST to identify the technical condition?
- Delete everything with an old creation timestamp including running revision digests
- Cleanup reduces unused storage without breaking pinned deployment digests
- Determine deployed and rollback digests, repository cleanup support, and retention requirements
- Configure a tested cleanup policy that removes eligible unused artifacts while preserving release and rollback images
Explanation
Correct Answer
C:Determining deployed and rollback digests, repository cleanup support, and retention requirements is appropriate because registry retention must account for live references and rollback dependencies.
Incorrect Answers
A: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: Determine deployed and rollback digests, repository cleanup support, and retention requirements. Here, storage costs rise because every CI run retains unreferenced images, and a developer proposes deleting all tags older than a week.
B:Cleanuping reduces unused storage without breaking pinned deployment digests does not establish the cause or baseline. Registry retention must account for live references and rollback dependencies.
D:Configuring a tested cleanup policy that removes eligible unused artifacts while preserving release and rollback images is a potential later step, not the cause or baseline requested here. Determine deployed and rollback digests, repository cleanup support, and retention requirements.
Question 227
Storage costs rise because every CI run retains unreferenced images, and a developer proposes deleting all tags older than a week. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Determine deployed and rollback digests, repository cleanup support, and retention requirements
- Delete everything with an old creation timestamp including running revision digests
- Protect production and legal-hold images before automated deletion
- Configure a tested cleanup policy that removes eligible unused artifacts while preserving release and rollback images
Explanation
Correct Answer
D:This implements the fix: Configure a tested cleanup policy that removes eligible unused artifacts while preserving release and rollback images. It addresses the observed problem because registry retention must account for live references and rollback dependencies.
Incorrect Answers
A:This is the diagnostic investigation, not the corrective intervention: Configure a tested cleanup policy that removes eligible unused artifacts while preserving release and rollback images.
B:Deleting everything with an old creation timestamp including running revision digests would not address the problem because it addresses the observed problem because registry retention must account for live references and rollback dependencies.
C:This preserves a boundary but does not implement the main remedy: Configure a tested cleanup policy that removes eligible unused artifacts while preserving release and rollback images.
Question 228
Storage costs rise because every CI run retains unreferenced images, and a developer proposes deleting all tags older than a week. Which measurement or test BEST shows that the proposed correction works?
- Cleanup reduces unused storage without breaking pinned deployment digests
- Delete everything with an old creation timestamp including running revision digests
- Differentiate an unused CI image from a digest still referenced by a live service
- Configure a tested cleanup policy that removes eligible unused artifacts while preserving release and rollback images
Explanation
Correct Answer
A:Cleanuping reduces unused storage without breaking pinned deployment digests is appropriate because it conflicts with the technical condition because registry retention must account for live references and rollback dependencies.
Incorrect Answers
B:Deleting everything with an old creation timestamp including running revision digests would not address the problem because it conflicts with the technical condition because registry retention must account for live references and rollback dependencies.
C:This separates two concepts but does not measure the outcome: Cleanup reduces unused storage without breaking pinned deployment digests.
D:This describes an implementation step, not independent evidence of success: Cleanup reduces unused storage without breaking pinned deployment digests.
Question 229
Storage costs rise because every CI run retains unreferenced images, and a developer proposes deleting all tags older than a week. Which comparison BEST identifies the technical distinction behind this failure?
- Differentiate an unused CI image from a digest still referenced by a live service
- Protect production and legal-hold images before automated deletion
- Delete everything with an old creation timestamp including running revision digests
- Determine deployed and rollback digests, repository cleanup support, and retention requirements
Explanation
Correct Answer
A:This separates the mechanisms that matter here: Differentiate an unused CI image from a digest still referenced by a live service. The underlying distinction is: Registry retention must account for live references and rollback dependencies.
Incorrect Answers
B:Protecting production and legal-hold images before automated deletion does not establish the failure mechanism. The underlying distinction is: Registry retention must account for live references and rollback dependencies.
C:Deleting everything with an old creation timestamp including running revision digests would not address the problem because the underlying distinction is: Registry retention must account for live references and rollback dependencies.
D:Determining deployed and rollback digests, repository cleanup support, and retention requirements does not establish the failure mechanism. The underlying distinction is: Registry retention must account for live references and rollback dependencies.
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.
Professional Cloud Developer Practice Tests