100% Latest & Updated Google Professional Cloud Developer Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 80
A legal-record bucket must retain invoices for seven years; a developer wants to use an ordinary deletion cron and call it an immutable retention policy. Which safeguard MUST remain in place during and after the correction?
- Depend only on a custom cleanup script to guarantee that no administrator can delete evidence
- Contrast enforceable storage retention controls with best-effort scheduled deletion
- Attempts to delete protected objects before expiration fail and authorized expiry handling works later
- Obtain formal approval before irreversible lock actions and do not shorten retention casually
Explanation
Correct Answer
D:This preserves the essential security or operating boundary: Obtain formal approval before irreversible lock actions and do not shorten retention casually. The reason is: Regulatory retention requires enforceable policy, with special caution around locking.
Incorrect Answers
A:Depending only on a custom cleanup script to guarantee that no administrator can delete evidence would not address the problem because regulatory retention requires enforceable policy, with special caution around locking. The more relevant step is: Obtain formal approval before irreversible lock actions and do not shorten retention casually. Here, a legal-record bucket must retain invoices for seven years; a developer wants to use an ordinary deletion cron and call it an immutable retention policy.
B:This states a comparison, not the enduring safeguard: Obtain formal approval before irreversible lock actions and do not shorten retention casually.
C:This measures whether the fix works rather than specifying the ongoing constraint: Obtain formal approval before irreversible lock actions and do not shorten retention casually.
Question 81
An application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. Which observation should the engineer obtain FIRST to identify the technical condition?
- Inspect credential exposure history, current secret accessors, token lifecycle, and rotation capability
- Encrypt only the Git repository name and leave the valid token committed in source
- Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights
- New revisions read the approved secret and historic leaked credentials no longer authenticate
Explanation
Correct Answer
A:Inspecting credential exposure history, current secret accessors, token lifecycle, and rotation capability is appropriate because secrets require runtime access control and exposure-aware rotation. Here, an application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private.
Incorrect Answers
B:Encrypting only the Git repository name and leave the valid token committed in source would not address the problem because secrets require runtime access control and exposure-aware rotation. The more relevant step is: Inspect credential exposure history, current secret accessors, token lifecycle, and rotation capability. Here, an application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private.
C:Revoking the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights is a potential later step, not the cause or baseline requested here. Inspect credential exposure history, current secret accessors, token lifecycle, and rotation capability.
D:Newing revisions read the approved secret and historic leaked credentials no longer authenticate does not establish the cause or baseline. Secrets require runtime access control and exposure-aware rotation.
Question 82
An application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Encrypt only the Git repository name and leave the valid token committed in source
- Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights
- Inspect credential exposure history, current secret accessors, token lifecycle, and rotation capability
- Avoid writing secret values into environment diagnostics or CI logs
Explanation
Correct Answer
B:Revoking the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights is appropriate because it addresses the observed problem because secrets require runtime access control and exposure-aware rotation.
Incorrect Answers
A:Encrypting only the Git repository name and leave the valid token committed in source would not address the problem because it addresses the observed problem because secrets require runtime access control and exposure-aware rotation.
C:This is the diagnostic investigation, not the corrective intervention: Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights.
D:This preserves a boundary but does not implement the main remedy: Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights.
Question 83
An application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. Which measurement or test BEST shows that the proposed correction works?
- Encrypt only the Git repository name and leave the valid token committed in source
- Distinguish secret version access at runtime from baking credentials into immutable images
- New revisions read the approved secret and historic leaked credentials no longer authenticate
- Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights
Explanation
Correct Answer
C:Newing revisions read the approved secret and historic leaked credentials no longer authenticate is appropriate because it conflicts with the technical condition because secrets require runtime access control and exposure-aware rotation.
Incorrect Answers
A:Encrypting only the Git repository name and leave the valid token committed in source would not address the problem because it conflicts with the technical condition because secrets require runtime access control and exposure-aware rotation.
B:This separates two concepts but does not measure the outcome: New revisions read the approved secret and historic leaked credentials no longer authenticate.
D:This describes an implementation step, not independent evidence of success: New revisions read the approved secret and historic leaked credentials no longer authenticate.
Question 84
An application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. Before the change, which TWO steps together establish the diagnosis and preserve a key operating constraint? Choose TWO.
- Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights
- Inspect credential exposure history, current secret accessors, token lifecycle, and rotation capability
- Avoid writing secret values into environment diagnostics or CI logs
- New revisions read the approved secret and historic leaked credentials no longer authenticate
- Encrypt only the Git repository name and leave the valid token committed in source
Explanation
Correct Answers
B:Inspecting credential exposure history, current secret accessors, token lifecycle, and rotation capability is appropriate because secrets require runtime access control and exposure-aware rotation. Here, an application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. The combined response also requires avoiding writing secret values into environment diagnostics or ci logs.
C:Avoiding writing secret values into environment diagnostics or ci logs is appropriate because secrets require runtime access control and exposure-aware rotation. Here, an application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. The combined response also requires inspecting credential exposure history, current secret accessors, token lifecycle, and rotation capability.
Incorrect Answers
A:Revoking the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights does not establish the starting evidence. Secrets require runtime access control and exposure-aware rotation.
D:Newing revisions read the approved secret and historic leaked credentials no longer authenticate does not establish the starting evidence. Secrets require runtime access control and exposure-aware rotation.
E:Encrypting only the Git repository name and leave the valid token committed in source would not address the problem because secrets require runtime access control and exposure-aware rotation. The more relevant step is: Inspect credential exposure history, current secret accessors, token lifecycle, and rotation capability. Here, an application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. The combined response also includes inspecting credential exposure history, current secret accessors, token lifecycle, and rotation capability and avoiding writing secret values into environment diagnostics or ci logs.
Question 85
An application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. Diagnosis and authorization are complete. Which THREE steps combine the remedy, acceptance evidence and continuing safeguard? Choose THREE.
- Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights
- Distinguish secret version access at runtime from baking credentials into immutable images
- Inspect credential exposure history, current secret accessors, token lifecycle, and rotation capability
- Encrypt only the Git repository name and leave the valid token committed in source
- Avoid writing secret values into environment diagnostics or CI logs
- New revisions read the approved secret and historic leaked credentials no longer authenticate
Explanation
Correct Answers
A:Revoking the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights is appropriate because secrets require runtime access control and exposure-aware rotation.
E:Avoiding writing secret values into environment diagnostics or ci logs is appropriate because secrets require runtime access control and exposure-aware rotation. Here, an application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. The combined response also includes revoking the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights and newing revisions read the approved secret and historic leaked credentials no longer authenticate.
F:Newing revisions read the approved secret and historic leaked credentials no longer authenticate is appropriate because secrets require runtime access control and exposure-aware rotation.
Incorrect Answers
B:Distinguishing secret version access at runtime from baking credentials into immutable images does not establish the specific decision in the question. Secrets require runtime access control and exposure-aware rotation.
C:Inspecting credential exposure history, current secret accessors, token lifecycle, and rotation capability does not establish the specific decision in the question. Secrets require runtime access control and exposure-aware rotation.
D:Encrypting only the Git repository name and leave the valid token committed in source would not address the problem because secrets require runtime access control and exposure-aware rotation. The more relevant step is: Revoke the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights. Here, an application embeds a payment provider token inside its Git repository and container image; a team wants to keep doing so because the repo is private. The combined response also includes revoking the exposed token, store replacements in Secret Manager, and give the runtime identity minimal accessor rights and avoiding writing secret values into environment diagnostics or ci logs.
Question 86
A GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key. Which observation should the engineer obtain FIRST to identify the technical condition?
- Authorized release workflows can publish while arbitrary fork workflows cannot assume the service identity
- Check external OIDC issuer claims, available federation trust policy, and needed artifact permissions
- Configure Workload Identity Federation to exchange trusted short-lived identity for scoped deployment access
- Copy the same long-lived JSON private key into more CI jobs and call that keyless access
Explanation
Correct Answer
B:Checking external OIDC issuer claims, available federation trust policy, and needed artifact permissions is appropriate because external CI should prefer short-lived federated credentials with restricted trust conditions.
Incorrect Answers
A:Authorizeding release workflows can publish while arbitrary fork workflows cannot assume the service identity does not establish the cause or baseline. External CI should prefer short-lived federated credentials with restricted trust conditions.
C:Configuring Workload Identity Federation to exchange trusted short-lived identity for scoped deployment access is a potential later step, not the cause or baseline requested here. Check external OIDC issuer claims, available federation trust policy, and needed artifact permissions.
D:Copying the same long-lived JSON private key into more CI jobs and call that keyless access would not address the problem because external CI should prefer short-lived federated credentials with restricted trust conditions. The more relevant step is: Check external OIDC issuer claims, available federation trust policy, and needed artifact permissions. Here, a GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key.
Question 87
A GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key. After the diagnosis is confirmed, which action MOST DIRECTLY corrects the problem?
- Copy the same long-lived JSON private key into more CI jobs and call that keyless access
- Configure Workload Identity Federation to exchange trusted short-lived identity for scoped deployment access
- Constrain attribute mappings and conditions to approved repositories, branches, and environments
- Check external OIDC issuer claims, available federation trust policy, and needed artifact permissions
Explanation
Correct Answer
B:This implements the fix: Configure Workload Identity Federation to exchange trusted short-lived identity for scoped deployment access. It addresses the observed problem because external CI should prefer short-lived federated credentials with restricted trust conditions.
Incorrect Answers
A:Copying the same long-lived JSON private key into more CI jobs and call that keyless access would not address the problem because it addresses the observed problem because external CI should prefer short-lived federated credentials with restricted trust conditions.
C:This preserves a boundary but does not implement the main remedy: Configure Workload Identity Federation to exchange trusted short-lived identity for scoped deployment access.
D:This is the diagnostic investigation, not the corrective intervention: Configure Workload Identity Federation to exchange trusted short-lived identity for scoped deployment access.
Question 88
A GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key. Which measurement or test BEST shows that the proposed correction works?
- Configure Workload Identity Federation to exchange trusted short-lived identity for scoped deployment access
- Copy the same long-lived JSON private key into more CI jobs and call that keyless access
- Authorized release workflows can publish while arbitrary fork workflows cannot assume the service identity
- Contrast identity federation from exporting a persistent private key
Explanation
Correct Answer
C:Authorizeding release workflows can publish while arbitrary fork workflows cannot assume the service identity is appropriate because it conflicts with the technical condition because external CI should prefer short-lived federated credentials with restricted trust conditions.
Incorrect Answers
A:This describes an implementation step, not independent evidence of success: Authorized release workflows can publish while arbitrary fork workflows cannot assume the service identity.
B:Copying the same long-lived JSON private key into more CI jobs and call that keyless access would not address the problem because it conflicts with the technical condition because external CI should prefer short-lived federated credentials with restricted trust conditions.
D:This separates two concepts but does not measure the outcome: Authorized release workflows can publish while arbitrary fork workflows cannot assume the service identity.
Question 89
A GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key. Which comparison BEST identifies the technical distinction behind this failure?
- Contrast identity federation from exporting a persistent private key
- Copy the same long-lived JSON private key into more CI jobs and call that keyless access
- Check external OIDC issuer claims, available federation trust policy, and needed artifact permissions
- Constrain attribute mappings and conditions to approved repositories, branches, and environments
Explanation
Correct Answer
A:This separates the mechanisms that matter here: Contrast identity federation from exporting a persistent private key. The underlying distinction is: External CI should prefer short-lived federated credentials with restricted trust conditions.
Incorrect Answers
B:Copying the same long-lived JSON private key into more CI jobs and call that keyless access would not address the problem because the underlying distinction is: External CI should prefer short-lived federated credentials with restricted trust conditions.
C:Checking external OIDC issuer claims, available federation trust policy, and needed artifact permissions does not establish the failure mechanism. The underlying distinction is: External CI should prefer short-lived federated credentials with restricted trust conditions.
D:Considering whether constrain attribute mappings and conditions to approved repositories, branches, and environments does not establish the failure mechanism. The underlying distinction is: External CI should prefer short-lived federated credentials with restricted trust conditions.
Question 90
A GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key. Which safeguard MUST remain in place during and after the correction?
- Authorized release workflows can publish while arbitrary fork workflows cannot assume the service identity
- Constrain attribute mappings and conditions to approved repositories, branches, and environments
- Copy the same long-lived JSON private key into more CI jobs and call that keyless access
- Contrast identity federation from exporting a persistent private key
Explanation
Correct Answer
B:This preserves the essential security or operating boundary: Constrain attribute mappings and conditions to approved repositories, branches, and environments. The reason is: External CI should prefer short-lived federated credentials with restricted trust conditions.
Incorrect Answers
A:This measures whether the fix works rather than specifying the ongoing constraint: Constrain attribute mappings and conditions to approved repositories, branches, and environments.
C:Copying the same long-lived JSON private key into more CI jobs and call that keyless access would not address the problem because external CI should prefer short-lived federated credentials with restricted trust conditions. The more relevant step is: Constrain attribute mappings and conditions to approved repositories, branches, and environments. Here, a GitHub Actions runner outside Google Cloud pushes release artifacts using a long-lived downloaded service-account key.
D:This states a comparison, not the enduring safeguard: Constrain attribute mappings and conditions to approved repositories, branches, and environments.
Professional Cloud Developer Practice Tests