Topic 1 Question 86
Your organization wants to collect system logs that will be used to generate dashboards in Cloud Operations for their Google Cloud project. You need to configure all current and future Compute Engine instances to collect the system logs, and you must ensure that the Ops Agent remains up to date. What should you do?
Use the gcloud CLI to install the Ops Agent on each VM listed in the Cloud Asset Inventory,
Select all VMs with an Agent status of Not detected on the Cloud Operations VMs dashboard. Then select Install agents.
Use the gcloud CLI to create an Agent Policy.
Install the Ops Agent on the Compute Engine image by using a startup script
ユーザの投票
コメント(5)
I vote for C as agent must install in current and feature VMs. https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/managing-agent-policies
👍 4PrayasMohanty2023/10/10- 正解だと思う選択肢: C
Answer C is the only one that can keep agents up to date, if automatic updates are set.
👍 3florian_cartron2023/10/09 Option A suggests using the gcloud CLI to install the Ops Agent on each VM manually, which can be time-consuming and error-prone, especially when dealing with a large number of instances.
option B is the most efficient and appropriate choice for deploying and ensuring the continued use of the Ops Agent on both existing and future Compute Engine instances in your Google Cloud project.
👍 2ManishKS2023/09/30
シャッフルモード