Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 120 of 268

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

Google Professional Cloud DevOps Engineer Question 120

Select 3Google Cloud Platform

Your company has a hybrid cloud environment with workloads running on both Google Cloud and on-premises infrastructure. You need to centralize and analyze logs from the on-premises systems and Google Cloud services in Cloud Logging. Which steps should you take to ensure logs from both environments are ingested into Cloud Logging?

  1. A

    Install the Cloud Logging agent on the on-premises servers and configure it to send logs to Cloud Logging.

  2. B

    Enable Cloud Audit Logs for all Google Cloud services being used.

  3. C

    Set up a VPN or Interconnect between the on-premises network and Google Cloud to securely transfer logs.

  4. D

    Enable VPC Flow Logs for all VPCs in Google Cloud.

  5. E

    Use the Cloud Service Mesh integration to automatically ingest all logs from the on-premises servers into Cloud Logging.

Show answer and explanation

Correct answers: A, B, C

Explanation

To centralize logs from both on-premises systems and Google Cloud, you need to install the Cloud Logging agent on on-premises servers to send logs to Cloud Logging. Additionally, enabling Cloud Audit Logs ensures that Google Cloud service logs are captured. For secure log transfer from on-premises systems, a VPN or Interconnect is required. Other options, such as VPC Flow Logs and Cloud Service Mesh, do not address the given scenario.

  • A. Correct.

    Correct. Installing the Cloud Logging agent on the on-premises servers allows logs from those systems to be sent to Cloud Logging.

  • B. Correct.

    Correct. Enabling Cloud Audit Logs ensures that logs from Google Cloud services are captured and available in Cloud Logging.

  • C. Correct.

    Correct. Setting up a VPN or Interconnect ensures secure communication between on-premises systems and Google Cloud, which is necessary for sending logs.

  • D. Incorrect.

    Incorrect. While VPC Flow Logs capture network traffic metadata for VPCs in Google Cloud, they are not related to ingesting logs from on-premises systems.

  • E. Incorrect.

    Incorrect. Cloud Service Mesh is used for managing microservices and service communication, but it does not automatically ingest logs from on-premises systems into Cloud Logging.

Timed practice exam

Take a Google Professional Cloud DevOps 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