Google Cloud Professional DevOps Engineer Practice Exam Part 1 Quiz Format
gcp-examquestions2020-09-10T15:36:43+07:00Notes: Hi all, Google Cloud Professional DevOps Engineer Practice Exam will familiarize you with types of questions you may encounter on the certification exam and help you determine your readiness or if you need more preparation and/or experience. Successful completion of the practice exam does not guarantee you will pass the certification exam as the actual exam is longer and covers a wider range of topics.
We highly recommend you should take Google Cloud Professional DevOps Engineer Professional Guarantee Part because it include real questions and highlighted answers are collected in our exam. It will help you pass exam in easier way.
For PDF Version: https://www.gcp-examquestions.com/gcp-pro-devops-engineer-practice-exam-part-1-pdf
For Audio Version:
Quiz-summary
0 of 13 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
Information
GCP-DEVOPS-1-13
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 13 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- Answered
- Review
- Question 1 of 13
1. Question
You are helping with the design of an e-commerce application. The web application receives web requests and stores sales transactions in a database. A batch job runs every hour to trigger analysis of sales numbers, available inventory, and forecasted sales numbers. You want to identify minimal Service Level Indicators (SLIs) for the application to ensure that forecasted numbers are based on the latest sales numbers. Which SLIs should you set for the application?
CorrectIncorrectHint
A. Is not correct because Web Application Quality and Batch Job Coverage SLIs don’t help in meeting the objective.
B. Is not correct because the latency of the web application, although important to measure, doesn’t help with meeting the objective of the latest data available in the database.
C. Is the correct answer because these are the minimal set of SLIs to measure in order to meet the objective of using the latest data in a batch job.
D. Is not correct because Web Application Quality and Batch Job Coverage SLIs don’t help in meeting the objective. - Question 2 of 13
2. Question
Your Site Reliability Engineering team does toil work to archive unused data in tables within your application’s relational database. This toil is required to ensure that your application has a low Latency Service Level Indicator (SLI) to meet your Service Level Objective (SLO). Toil is preventing your team from focusing on a high-priority engineering project that will improve the Availability SLI of your application. You want to reduce repetitive tasks to avoid burnout, improve organizational efficiency, and follow the Site Reliability Engineering recommended practices. What should you do?
CorrectIncorrectHint
A is incorrect because toil does not diminish on its own. It needs to be eliminated with action.
B is correct because the organizational culture should allow for openly expressing concerns in the benefit of service reliability.
C is incorrect because changing the SLO will not eliminate toil.
D is incorrect because the SRE team will still be overwhelmed with toil that will also block future projects. - Question 3 of 13
3. Question
Your application runs in Google Kubernetes Engine (GKE). You want to use Spinnaker with the Kubernetes Provider V2 to perform blue/green deployments and control which version of the application receives traffic. What should you do?
CorrectIncorrectHint
A is incorrect because Spinnaker needs to update and not create a new service for deployment.
B is correct because Spinnaker can update the replica set in place without conflicting with Kubernetes.
C is incorrect because this would conflict with Kubernetes operations on the deployment.
D is incorrect because Spinnaker does not manage deployment objects in this way. - Question 4 of 13
4. Question
You are deploying an application to a Kubernetes cluster that requires a username and password to connect to another service. When you deploy the application, you want to ensure that the credentials are used securely in multiple environments with minimal code changes. What should you do?
CorrectIncorrectHint
A is incorrect because it would produce an insecure artifact, which anyone could run without going through proper RBAC channels.
B is correct because it enables secrets usage without needing to modify the code per environment, update build pipelines, or store secrets insecurely.
C is incorrect because it requires modification of deployment code per environment, which will produce an insecure intermediary artifact.
D is incorrect because it will expose the parameters in an insecure fashion and would require changing deployment code for every environment. - Question 5 of 13
5. Question
You need to create a large number of projects for many different teams. You want to use a Cloud Deployment Manager (DM) deployment to create those projects in a folder called my-folder. What should you do?
CorrectIncorrectHint
A is not correct because you can’t use DM at the folder level. This command will result in an error.
B is not correct because this label doesn’t do anything; DM uses its own service account.
C is not correct because this Org Policy Constraint Is unrelated to the problem.
D is correct. - Question 6 of 13
6. Question
Several teams in your company want to use Cloud Build to deploy to their own Google Kubernetes Engine (GKE) clusters. The clusters are in projects that are dedicated to each team. The teams only have access to their own projects. One team should not have access to the cluster of another team. You are in charge of designing the Cloud Build setup, and want to follow Google-recommended practices. What should you do?
CorrectIncorrectHint
A is not correct because, even if you authenticated yourself with the gcloud CLI, Cloud Build runs with its own service account, and not your identity.
B is not correct because this grants access to all the clusters, for all the teams.
C is correct because this ensures that each team cannot execute builds that touch another team’s cluster.
D is not correct because this grants access to all the clusters, for all the teams. - Question 7 of 13
7. Question
You have an application deployed on Google Kubernetes Engine (GKE). The application logs are captured by Stackdriver Logging. You need to remove sensitive data before it reaches the Stackdriver Logging API. What should you do?
CorrectIncorrectHint
A is incorrect because you cannot modify the behavior of the logging.
B is correct because you can configure the Fluentd logging behavior.
C is incorrect because this does not prevent the data from arriving in Stackdriver.
D is incorrect because this does not prevent the data from arriving in Stackdriver. - Question 8 of 13
8. Question
You have a Compute Engine instance that uses the default Debian image. The application hosted on this instance recently suffered a series of crashes that you weren’t able to debug in real time: the application process died suddenly every time. The application usually consumes 50% of the instance’s memory, and normally never more than 70%, but you suspect that a memory leak was responsible for the crashes. You want to validate this hypothesis. What should you do?
CorrectIncorrectHint
A is not correct because this metric doesn’t help you debug the issue.
B is not correct because it doesn’t allow you to investigate the issue in real time.
C is not correct because the agent won’t retroactively send monitoring data.
D is correct because it allows you to investigate the issue in real time. - Question 9 of 13
9. Question
You are running a production application on Compute Engine. You want to monitor the key metrics of CPU, Memory, and Disk I/O time. You want to ensure that the metrics are visible by the team and will be explorable if an issue occurs. What should you do? (Choose 2)
CorrectIncorrectHint
A is incorrect because this will not identify all issues; instead, it will identify a specific issue.
B is incorrect because this will introduce significant overhead.
C is correct because alerts allow reaction to issues that have not been previously identified.
D is correct because dashboards are a powerful tool to identify issues early.
E is incorrect because this will introduce significant delay. - Question 10 of 13
10. Question
You support a Python application running in production on Compute Engine. You want to debug some of the application code by inspecting the value of a specific variable. What should you do?
CorrectIncorrectHint
A is not correct because, although it is a good option, it requires the additional step of viewing the logs in Logs Viewer.
B is not correct because the state of the local application might be very different from the state of the production application.
C is not correct because it is the option with the most effort and is prone to errors.
D is correct. This is the recommended approach (see references). - Question 11 of 13
11. Question
You have a data processing pipeline that uses Cloud Dataproc to load data into BigQuery. A team of analysts works with the data using a Business Intelligence (BI) tool running on Windows Virtual Machines (VMs) in Compute Engine. The BI tool is in use 24 hours a day, 7 days a week, and will be used increasingly over the coming years. The BI tool communicates to BigQuery only. Cloud Dataproc nodes are the main part of the GCP cost of this application. You want to reduce the cost without affecting the performance. What should you do?
CorrectIncorrectHint
A is correct. This will ensure that the BI Tool is as cheap as possible on Compute Engine, and the ephemeral usage of Cloud Dataproc will also reduce costs.
B is incorrect. The Committed Use Discount for the Cloud Dataproc nodes will result in a recurring charge, even when the cluster has been deleted.
C is incorrect. This will not be enough. Further cost reduction can be achieved.
D is incorrect. This will not be enough. Further cost reduction can be achieved. - Question 12 of 13
12. Question
You work with a video rendering application that publishes small tasks as messages to a Cloud Pub/Sub topic. You need to deploy the application that will execute these tasks on multiple virtual machines (VMs). Each task takes less than 1 hour to complete. The rendering is expected to be completed within a month. You need to minimize rendering costs. What should you do?
CorrectIncorrectHint
A is incorrect. This is not the cheapest method.
B is incorrect because CUDs are for a 1-year minimum, so you would be overbilled for 11 months.
C is correct because Preemptible VMs are the cheapest way of running a VM. Running them in a MIG will start new instances when some are terminated.
D is incorrect because CUDs are for a 1-year minimum, so you would be overbilled for 11 months. - Question 13 of 13
13. Question
You support a website with a global audience. The website has a frontend web service and a backend database service that runs on different clusters. All clusters are scaled to handle at least ⅓ of the total user traffic. You use 4 different regions in Google Cloud Platform and Cloud Load Balancing to direct traffic to a region closer to the user. You are applying a critical security patch to the backend database. You successfully patch the database in the first 2 regions, but you make a configuration error while patching Region 3. The unsuccessful patching causes 50% of user requests to Region 3 to time out. You want to mitigate the impact of unsuccessful patching on users. What should you do?
CorrectIncorrectHint
A is incorrect because adding more Frontend servers will not fix the backend configuration problem.
B is incorrect because running a backend without the critical security patch is a big risk.
C is correct because the remaining 3 regions can handle the total traffic load, which gives you time to fix the configuration error in Region 3 and then apply the patch.
D is incorrect because backing up the database will not help at this point, and the additional load on the server could make the problem worse.
Leave a Reply