
Answer-first summary for fast verification
Answer: Create a service account (SA) in the legacy game's Google Cloud project, add this SA in the new game's IAM page, and then give it the Firebase Admin role in both projects.
The correct answer is C. The correct approach to ensure that a service account (SA) can access both the legacy game's and the new game's Google Cloud resources with the necessary Firebase Admin permissions is to create the SA in the legacy game's Google Cloud project. Then, you need to add this SA to the new game's IAM page and grant it the Firebase Admin role in both projects. This will allow the SA to have the required permissions across both projects seamlessly. Options A and B are incorrect because they do not explicitly provide steps for ensuring access to both projects with the required permissions. Option D is incorrect because managing roles separately for service accounts in both projects can lead to potential permission management issues and inconsistencies.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are transitioning a legacy game to a new game project in Google Cloud. You need to ensure that a service account (SA) can access both the legacy game's and the new game's Google Cloud resources with the required Firebase Admin permissions. What steps should you take to achieve this?
A
Create a new service account in the legacy game's Google Cloud project, add it to the new game's IAM page, and give it the Firebase Admin role in both projects.
B
Create a new service account in the new game's Google Cloud project, and give necessary permissions in both projects.
C
Create a service account (SA) in the legacy game's Google Cloud project, add this SA in the new game's IAM page, and then give it the Firebase Admin role in both projects.
D
Create a service account in both projects independently and manage their roles separately.