Topic 1 Question 32
You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do?
Use Shared VPC to connect all projects, and link Stackdriver to one of the projects.
For each project, create a Stackdriver account. In each project, create a service account for that project and grant it the role of Stackdriver Account Editor in all other projects.
Configure a single Stackdriver account, and link all projects to the same account.
Configure a single Stackdriver account for one of the projects. In Stackdriver, create a Group and add the other project names as criteria for that Group.
ユーザの投票
コメント(17)
First of all D is incorrect, Groups are used to define alerts on set of resources(such as VM instances, databases, and load balancers). FYI tried adding Two projects into a group it did not allowed me as the "AND"/"OR" criteria for the group failed with this combination of resources.
C is correct because, When you intially click on Monitoring(Stackdriver Monitoring) it creates a workspac(a stackdriver account) linked to the ACTIVE(CURRENT) Project from which it was clicked.
Now if you change the project and again click onto Monitoring it would create an another workspace(a stackdriver account) linked to the changed ACTIVE(CURRENT) Project, we don't want this as this would not consolidate our result into a single dashboard(workspace/stackdriver account).
If you have accidently created two diff workspaces merge them under Monitoring > Settings > Merge Workspaces > MERGE.
If we have only one workspace and two projects we can simply add other GCP Project under Monitoring > Settings > GCP Projects > Add GCP Projects.
In both of these cases we did not create a GROUP, we just linked GCP Project to the workspace(stackdriver account).
👍 79sahedge2020/12/23C is correct not D
👍 33coldpar2020/03/15- 正解だと思う選択肢: C
Answer C. Configure a single Stackdriver account and link all projects to the same account.
By linking all projects to the same Stackdriver account, you can consolidate monitoring and reporting for all resources across multiple projects. This can be done by following the instructions provided by Stackdriver on how to add projects to an account.
Answer A is not the best solution since Shared VPC does not consolidate the monitoring and reporting of resources distributed over different projects.
Answer B is not an efficient solution as it requires creating multiple Stackdriver accounts, which can lead to confusion and inefficiency.
Answer D is not the best solution as it only groups the projects under one account, but it does not consolidate monitoring and reporting.
👍 4Buruguduystunstugudunstuy2023/02/18
シャッフルモード