Recall & Review
beginner
What is a service account key in Google Cloud?
A service account key is a special credential file that allows applications or users to authenticate as a service account to access Google Cloud resources securely.
Click to reveal answer
intermediate
Why should you avoid long-lived service account keys?
Long-lived keys increase the risk of unauthorized access if the key is leaked. It's best to rotate keys regularly and delete unused keys to keep your environment secure.
Click to reveal answer
intermediate
How can you rotate a service account key safely?
Create a new key, update your applications to use the new key, then delete the old key once the new key is confirmed working.
Click to reveal answer
advanced
What is the recommended way to manage service account keys instead of downloading them?
Use Workload Identity Federation or Google Cloud IAM roles with short-lived tokens to avoid managing long-lived keys.
Click to reveal answer
beginner
Where can you manage service account keys in Google Cloud Console?
In the Google Cloud Console, go to IAM & Admin > Service Accounts, select the service account, then go to the Keys tab to create, view, or delete keys.
Click to reveal answer
What is the main risk of keeping service account keys for a long time?
✗ Incorrect
Long-lived keys can be stolen and used by unauthorized users to access your cloud resources.
Which of the following is a best practice for service account key management?
✗ Incorrect
Regular key rotation reduces the risk of compromised keys being used.
Where do you find the option to create a new service account key in Google Cloud Console?
✗ Incorrect
Service account keys are managed under IAM & Admin in the Service Accounts section.
What is a safer alternative to using service account keys for authentication?
✗ Incorrect
Workload Identity Federation allows short-lived credentials without managing long-lived keys.
What should you do after creating a new service account key for rotation?
✗ Incorrect
Deleting old keys after updating ensures no unused keys remain that could be compromised.
Explain the steps to safely rotate a service account key in Google Cloud.
Think about how to avoid downtime and security risks.
You got /3 concepts.
Describe why managing service account keys properly is important for cloud security.
Consider what happens if keys fall into the wrong hands.
You got /4 concepts.