Google Associate Cloud Engineer exam dumps

Google Associate Cloud Engineer practice question 324 of 375

Associate Cloud Engineer. Free level, Google Cloud. Free question with the correct answer and a full explanation.

Google Associate Cloud Engineer Question 324

Select 2Google Cloud Platform

You are tasked with deploying the Ops Agent on a Compute Engine instance to collect both metrics and logs for a production environment. Which steps should you follow to ensure the Ops Agent is correctly configured and deployed?

  1. A

    Install the Ops Agent using a deployment manager template.

  2. B

    Use a startup script to install the Ops Agent and configure it for both metrics and logs collection.

  3. C

    Manually download and install the Ops Agent package from the Google Cloud repository.

  4. D

    Configure the Ops Agent by editing the configuration files to specify which logs and metrics to collect.

  5. E

    Deploy the Ops Agent using Google Cloud Console's VM manager feature.

Show answer and explanation

Correct answers: B, D

Explanation

To deploy the Ops Agent for metrics and logs collection, it's best to automate the installation using startup scripts. This ensures the agent is installed every time an instance is launched. Additionally, configuring the agent's configuration files is necessary to specify what metrics and logs should be collected, making options 2 and 4 the correct choices.

  • A. Incorrect.

    While Deployment Manager can be used for automation, it is not typically used for Ops Agent installation.

  • B. Correct.

    Using a startup script to install the Ops Agent ensures it is automatically installed upon instance startup, which is a common practice for automation.

  • C. Incorrect.

    Manually downloading and installing the Ops Agent is not recommended for automated and scalable deployments.

  • D. Correct.

    Editing the configuration files is necessary to specify which logs and metrics the Ops Agent should collect.

  • E. Incorrect.

    Google Cloud Console's VM manager feature does not provide direct functionality to deploy the Ops Agent.

Timed practice exam

Take a Google Associate Cloud Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam