Professional Cloud Architect Exam QuestionsBrowse all questions from this exam

Professional Cloud Architect Exam - Question 221


Mountkirk Games needs to create a repeatable and configurable mechanism for deploying isolated application environments. Developers and testers can access each other's environments and resources, but they cannot access staging or production resources. The staging environment needs access to some services from production.

What should you do to isolate development environments from staging and production?

Show Answer
Correct Answer: D

Creating separate projects for development, staging, and production environments ensures that each environment is isolated. In this setup, developers and testers can access each other's environments because they are within the same project, while staging and production environments are in distinct projects. This configuration adheres to best practices for resource isolation, allowing access management to be more precisely controlled. Additionally, staging having access to production services is achievable with proper IAM roles and permissions across projects.

Discussion

17 comments
Sign in to comment
shandyOption: D
Nov 27, 2019

Correct Answer is D. https://cloud.google.com/appengine/docs/standard/php/creating-separate-dev-environments

tartar
Aug 10, 2020

D is ok

tartar
Aug 14, 2020

not D, A

ACE_ASPIRE
Sep 24, 2021

hey man...it should be D...

KOERA99
Nov 6, 2021

It's D!!!!

nitinz
Mar 5, 2021

it is A

Wonka
Jan 19, 2022

its standard but look at requirement given here

euclidOption: A
Dec 26, 2019

Correct is A

AWS56
Jan 12, 2020

Agree with A

army234
Apr 2, 2021

Incorrect. Not a best practice to have Staging and Prod resources in the same project. D is correct

Wonka
Jan 19, 2022

by standard it is absolutely incorrect but here it is requirement. will you still separate it out?

TiagoM
Apr 26, 2021

"The staging environment needs access to some services from production" Its not the best practice, but A has less effort

walkwolf3
Jan 14, 2022

D In the requirement, the staging environment needs access to production, not the other way around. Answer A could allow staging and production to access each other. In answer D, staging and production are in different project, you can limit the access from either side. So D is correct.

hogtrough
Jan 18, 2022

End goal is to separate dev from staging/production. Putting staging/production in same project fits the requirements. Further effort would be required to change access between Staging and Production projects that is out of scope of question. It is not best practice, but fits requirements of question.

Wonka
Jan 19, 2022

yes and there is no mention of test environment in option D.

Ishu_awsguy
Sep 13, 2022

Best approach is D. A will also work based on question requirement

dany5Option: B
Jul 4, 2023

Different project don't isolate resources on each others because you can share a VPC (sharedVPC) and launch resources on the same subnet from differents projects. To isolate resources the only way is with differents VPC, ans B

4694cda
Apr 22, 2024

different project by default isolates the resources

SarinOption: A
Nov 2, 2023

Although D is follows industry standards its an incomplete answer, it does not say anything about test. A is a much complete answer

Roro_BrotherOption: D
Dec 15, 2023

Definitively D

yas_cloudOption: A
Mar 19, 2024

I guess this is a tie up between best practices vs what this org (Mountkirk) demands. If this was a standard question on how to setup each env, then answer D fits. But for this use case, seems like A fits the bill. Further more, if all environments/projects are within same org setup, then resources can still be accesses across.

dija123Option: A
Apr 11, 2024

We have to follow the case requirements not the best practices.

gary_cooperOption: A
Jul 18, 2023

Create a project for development and test and another for staging and production

MurtuzaOption: D
Sep 25, 2023

There is another thread on this topic to iron out the choices and its mostly leaning D https://www.reddit.com/r/googlecloud/comments/kbkoev/gcp_question_environment_separations/

b6f53d8Option: B
Oct 8, 2023

I think it is B, because you can create separate project for each environment (Test, dev, stage, prod) and connect to right network. You can use firewall rules to set communication between stage and prod.

CyanideXOption: D
Oct 21, 2023

D for sure

CyanideXOption: D
Oct 21, 2023

D for me.

BisoWafikOption: D
Nov 15, 2023

as per conventional best practices.

Ahmed_SafwatOption: D
Nov 15, 2023

D is ok

thewalkerOption: D
Nov 30, 2023

D repeatable and configurable mechanism - so a network each for dev/test, staging and prod is ideal. But as this option is not there I am choosing D - each one having a project.

lanjr01Option: D
Mar 4, 2024

Answer is D: Question asked is - "What should you do to isolate development environments from staging and production?". If the question meant to include "Test Environment", the question would have looked like this - "What should you do to isolate development & test environments from staging and production?" but that is not the case so the only logical answer will be to vote D.

nhatneOption: D
Jul 1, 2024

better to separate each environment, why have to merge them?