Google Cloud Professional Cloud Security Engineer — Question 255

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?

Answer options

Correct answer: B

Explanation

The correct answer is B because using the undelete command allows you to recover the deleted service account, restoring the application's functionality without creating new accounts or altering permissions. Options A and C do not address the root cause of the issue, and option D could introduce security risks by modifying existing permissions, which is not ideal for a quick recovery.