You are implementing Firestore for Mountkirk Games. Mountkirk Games wants to give a new game programmatic access to a legacy game's Firestore database. Access should be as restricted as possible. What should you do?
A.
Create a service account (SA) in the legacy game's Google Cloud project, add a second SA in the new game's IAM page, and then give the Organization Admin role to both SAs.
B.
Create a service account (SA) in the legacy game's Google Cloud project, give the SA the Organization Admin role, and then give it the Firebase Admin role 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 (SA) in the legacy game's Google Cloud project, give it the Firebase Admin role, and then migrate the new game to the legacy game's project.
I think it should not simply give out the Organization admin role so A and B is out. We should not migrate the new game to the lagacy game's project and thus D is out. So remain C is the only choice.
All of these are stupic tbh, all you need to do is create a SA in the new game's project , grant it access to firebase in the legacy project and you're done.
As per the best practice, we should have separate projects for every environment for each application. We should not add new applications to an existing project. So D is out. Option C is the answer.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
MamthaSJ
Highly Voted 3 years, 4 months agoWFCheong
Highly Voted 1 year, 11 months agoToothpick
Most Recent 4 months agoBugmenot240411
6 months, 1 week agoGino17m
6 months, 4 weeks agothewalker
1 year agogonlafer
1 year, 12 months agomegumin
2 years agoAzureDP900
2 years, 1 month agomuky31dec
2 years, 9 months agovincy2202
2 years, 11 months agoravisar
2 years, 12 months agojoe2211
3 years agoNik22
3 years, 2 months agomegumin
2 years agoPeppaPig
3 years, 3 months agoRamanathanPV
3 years, 3 months agokopper2019
3 years, 4 months ago