Google
PROFESSIONAL-CLOUD-SECURITY-ENGINEER · Question #18
Your team uses a service account to authenticate data transfers from a given Compute Engine virtual machine instance of to a specified Cloud Storage bucket. An engineer accidentally deletes the…
The correct answer is B. Use the undelete command to recover the deleted service account. https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts/undelete
Submitted by joshua94· Apr 18, 2026Configuring access within a cloud solution environment
Question
Your team uses a service account to authenticate data transfers from a given Compute Engine virtual machine instance of to a specified Cloud Storage bucket. An engineer accidentally deletes the service account, which breaks application functionality. You want to recover the application as quickly as possible without compromising security. What should you do?
Options
- ATemporarily disable authentication on the Cloud Storage bucket.
- BUse the undelete command to recover the deleted service account.
- CCreate a new service account with the same name as the deleted service account.
- DUpdate the permissions of another existing service account and supply those credentials to the
How the community answered
(42 responses)- A5% (2)
- B74% (31)
- C14% (6)
- D7% (3)
Explanation
https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts/undelete
Topics
#Service Accounts#IAM Recovery#Accidental Deletion#Cloud Storage Access
Community Discussion
No community discussion yet for this question.