Free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER Exam Braindumps (page: 11)

Page 11 of 41

You are running an application in a virtual machine (VM) using a custom Debian image. The image has the Stackdriver Logging agent installed. The VM has the cloud-platform scope. The application is logging information via syslog. You want to use Stackdriver Logging in the Google Cloud Platform Console to visualize the logs. You notice that syslog is not showing up in the "All logs" dropdown list of the Logs Viewer.
What is the first thing you should do?

  1. Look for the agent's test log entry in the Logs Viewer.
  2. Install the most recent version of the Stackdriver agent.
  3. Verify the VM service account access scope includes the monitoring.write scope.
  4. SSH to the VM and execute the following commands on your VM: ps ax I grep fluentd

Answer(s): D

Explanation:

https://cloud.google.com/compute/docs/access/service-
accounts#associating_a_service_account_to_an_instance



Your organization wants to implement Site Reliability Engineering (SRE) culture and principles. Recently, a service that you support had a limited outage. A manager on another team asks you to provide a formal explanation of what happened so they can action remediations.
What should you do?

  1. Develop a postmortem that includes the root causes, resolution, lessons learned, and a prioritized list of action items. Share it with the manager only.
  2. Develop a postmortem that includes the root causes, resolution, lessons learned, and a prioritized list of action items. Share it on the engineering organization's document portal.
  3. Develop a postmortem that includes the root causes, resolution, lessons learned, the list of people responsible, and a list of action items for each person. Share it with the manager only.
  4. Develop a postmortem that includes the root causes, resolution, lessons learned, the list of people responsible, and a list of action items for each person. Share it on the engineering organization's document portal.

Answer(s): B



You have a set of applications running on a Google Kubernetes Engine (GKE) cluster, and you are using Stackdriver Kubernetes Engine Monitoring. You are bringing a new containerized application required by your company into production. This application is written by a third party and cannot be modified or reconfigured. The application writes its log information to /var/log/app_messages.log, and you want to send these log entries to Stackdriver Logging.
What should you do?

  1. Use the default Stackdriver Kubernetes Engine Monitoring agent configuration.
  2. Deploy a Fluentd daemonset to GKE. Then create a customized input and output configuration to tail the log file in the application's pods and write to Slackdriver Logging.
  3. Install Kubernetes on Google Compute Engine (GCE> and redeploy your applications. Then customize the built-in Stackdriver Logging configuration to tail the log file in the application's pods and write to Stackdriver Logging.
  4. Write a script to tail the log file within the pod and write entries to standard output. Run the script as a sidecar container with the application's pod. Configure a shared volume between the containers to allow the script to have read access to /var/log in the application container.

Answer(s): B

Explanation:

https://cloud.google.com/architecture/customizing-stackdriver-logs-fluentd

Besides the list of default logs that the Logging agent streams by default, you can customize the Logging agent to send additional logs to Logging or to adjust agent settings by adding input configurations. The configuration definitions in these sections apply to the fluent-plugin-google- cloud output plugin only and specify how logs are transformed and ingested into Cloud Logging. https://cloud.google.com/logging/docs/agent/logging/configuration#configure



You are running a real-time gaming application on Compute Engine that has a production and testing environment. Each environment has their own Virtual Private Cloud (VPC) network. The application frontend and backend servers are located on different subnets in the environment's VPC. You suspect there is a malicious process communicating intermittently in your production frontend servers. You want to ensure that network traffic is captured for analysis.
What should you do?

  1. Enable VPC Flow Logs on the production VPC network frontend and backend subnets only with a sample volume scale of 0.5.
  2. Enable VPC Flow Logs on the production VPC network frontend and backend subnets only with a sample volume scale of 1.0.
  3. Enable VPC Flow Logs on the testing and production VPC network frontend and backend subnets with a volume scale of 0.5. Apply changes in testing before production.
  4. Enable VPC Flow Logs on the testing and production VPC network frontend and backend subnets with a volume scale of 1.0. Apply changes in testing before production.

Answer(s): D



Page 11 of 41



Post your Comments and Discuss Google PROFESSIONAL-CLOUD-DEVOPS-ENGINEER exam with other Community members:

Tanuja Bhusal commented on December 26, 2024
Good Questions
Anonymous
upvote

Harshit Soni commented on November 21, 2024
Good explanation
INDIA
upvote

Harshit Soni commented on November 21, 2024
Questions looks technical and authentic
INDIA
upvote

yata commented on June 27, 2024
will update the after the exam
RESERVED
upvote

Akhilesh Gupta commented on January 30, 2024
Not at all related to the latest questions. Today only appeared and i would say <5% of the questions were from these dumps. Not at all updated.
Anonymous
upvote

senthil commented on January 28, 2024
good to identify the sample questions
UNITED STATES
upvote

kenenth commented on April 23, 2023
This is worth the freaking money and the amount of time you save. Rock on guys!
UNITED KINGDOM
upvote