Google Professional Cloud Developer Practice Exam PR000109
gcp-examquestions2020-08-25T10:45:13+07:00Notes: Hi all, Google Professional Cloud Developer 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 Professional Cloud Developer Guarantee Part because it includes real questions and highlighted answers are collected in our exam. It will help you pass the exam in an easier way.
For PDF Version: https://gcp-examquestions.com/gcp-pro-cloud-developer-practice/
Quiz-summary
0 of 20 questions completed
Questions:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
Information
GCP-CLOUD-DEVELOPER-PART1
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 20 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
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- Answered
- Review
- Question 1 of 20
1. Question
You have a service running on Compute Engine virtual machine instances behind a global load balancer. You need to ensure that when the instance fails, it is recovered. What should you do?
CorrectIncorrectHint
Hint Answers: D is correct because the managed instance group health check will recreate the instance when it fails, and this is the platform-native way to satisfy this use case.
https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances#monitoring_groups%29 - Question 2 of 20
2. Question
You are analyzing your application’s performance. You observe that certain Cloud Bigtable tables in your cluster are used much more than others, causing inconsistent application performance for end users. You discover that some tablets have large sections of similarly named row keys and are heavily utilized, while other tablets are running idle. You discover that a user’s ZIP code is the first component of the row key, and your application is being heavily used by profiles originating from that ZIP code. You want to change how you generate row keys so that they are human readable and so that Cloud Bigtable demand is more evenly distributed within the cluster. What should you do?
CorrectIncorrectHint
Hint Answers: B is correct because using a sufficient number of delimited attributes can provide sufficient spreading.
https://cloud.google.com/bigtable/docs/schema-design#types_of_row_keys
https://cloud.google.com/bigtable/docs/schema-design-time-series#ensure_that_your_row_key_avoids_hotspotting - Question 3 of 20
3. Question
Which architecture should HipLocal use for log analysis?
CorrectIncorrectHint
Hint Answers: C is correct because it utilizes GCP’s scalable logging solution with an automated sink to BigQuery in order to provide analytics.
https://cloud.google.com/logging/docs/export/configure_export_v2 - Question 4 of 20
4. Question
Your company has a successful multi-player game that has become popular in the US. Now, it wants to expand to other regions. It is launching a new feature that allows users to trade points. This feature will work for users across the globe. Your company’s current MySQL backend is reaching the limit of the Compute Engine instance that hosts the game. Your company wants to migrate to a different database that will provide global consistency and high availability across the regions. Which database should they choose?
CorrectIncorrectHint
Hint Answers: C is correct because only Cloud Spanner provides global consistency and availability.
- Question 5 of 20
5. Question
Your company plans to expand their analytics use cases. One of the new use cases requires your data analysts to analyze events using SQL on a near real–time basis. You expect rapid growth and want to use managed services as much as possible. What should you do?
CorrectIncorrectHint
Hint Answers: C is correct because all three products involved can scale to significant volumes, and writing the data to BigQuery allows for immediate analysis via SQL.
- Question 6 of 20
6. Question
HipLocal needs to migrate their existing data analytics platform to Google Cloud without any major change in code. Which service should they use?
CorrectIncorrectHint
Hint Answer: B
- Question 7 of 20
7. Question
Your organization develops and tests multiple applications on Compute Engine virtual machine instances across 3 environments; Test, Staging, and Production. The separate development teams for each application require minimal access to Production but broad access in Test and Staging. You need to design the Resource Manager structure to support your organization in following least-privilege best practices. What should you do?
CorrectIncorrectHint
Hint Answers: D is correct because a project provides good isolation for each application team, and managing membership via a group is easier to maintain over time.
https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations - Question 8 of 20
8. Question
Your application in App Engine standard environment receives a large amount of traffic. You are concerned that deploying changes to the application could affect all users negatively. You want to avoid full-scale load testing due to cost concerns, but you still want to deploy new features as quickly as possible. Which approach should you take?
CorrectIncorrectHint
Hint Answers: D is correct because traffic splitting allows real user testing without impacting all users and reduces load testing costs.
http://cloud.google.com/trace - Question 9 of 20
9. Question
You have two tables in an ANSI-SQL compliant database with identical columns that you need to quickly combine into a single table, removing duplicate rows from the result set. What should you do?
CorrectIncorrectHint
Hint Answers: D is correct because the UNION operator combines result sets while removing duplicates.
https://www.techonthenet.com/sql/union.php - Question 10 of 20
10. Question
Your website is deployed on Compute Engine. Your marketing team wants to test conversion rates between 3 different website designs. You are not able to make changes to your application code. What should you do?
CorrectIncorrectHint
Hint Answers: A is correct because it allows routing traffic to a single domain and split traffic based on IP or Cookie.
https://cloud.google.com/appengine/docs/standard/python/splitting-traffic - Question 11 of 20
11. Question
You are building a storage layer for an analytics Hadoop cluster for your company. This cluster will run multiple jobs on a nightly basis, and you need to access the data frequently. You want to use Cloud Storage for this purpose. Which storage option should you choose?
CorrectIncorrectHint
Hint Answer: B
- Question 12 of 20
12. Question
You have an application that accepts inputs from users. The application needs to kick off different background tasks based on these inputs. You want to allow for automated asynchronous execution of these tasks as soon as input is submitted by the user. Which product should you use?
CorrectIncorrectHint
Hint Answers: A is correct because this is the standard use case.
- Question 13 of 20
13. Question
You have a data warehouse built on BigQuery that contains a table with array fields. To analyze the data for a specific use case using Standard SQL, you need to read all elements from the array and write them with all other non-array fields in a table. You don’t want to lose any records if they don’t match records in the array fields. What should you do?
CorrectIncorrectHint
Hint Answers: D is correct because it does not lose records when the join is performed.
https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#join-types - Question 14 of 20
14. Question
As part of their expansion, HipLocal is creating new projects in order to separate resources. They want to build a system to automate enabling of their APIs. What should they do?
CorrectIncorrectHint
Hint Answers: C is correct because the Compute API will be required to provision VMs.
- Question 15 of 20
15. Question
You have deployed your website in a managed instance group. The managed instance group is configured to have a size of three instances and to perform an HTTP health check on port 80. When the managed instance group is created, three instances are created and started. When you connect to the instance using SSH, you confirm that the website is running and available on port 80. However, the managed instance group is re-creating the instances when they fail verification. What should you do?
CorrectIncorrectHint
Hint Answers: D is correct because the instance has been created and the website is being served, but the health check is failing verification.
https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances#monitoring_groups - Question 16 of 20
16. Question
Your team is using App Engine to write every Cloud Pub/Sub message to both a Cloud Storage object and a BigQuery table. You want to achieve the greatest resource efficiency. Which architecture should you implement?
CorrectIncorrectHint
Hint Answers: B is correct because each App Engine service will get its own message to write and can retry/fail independently.
- Question 17 of 20
17. Question
Your teammate has asked you to review the code below. Its purpose is to query account entities in Cloud Datastore for those with a balance greater than 10000 and an age less than 4. Which improvement should you suggest your teammate make?
CorrectIncorrectHint
Hint Answers: D is correct because two inequality comparisons aren’t permitted in a Datastore query and it requires two queries to be merged.
- Question 18 of 20
18. Question
Your organization has grown, and new teams need access to manage network connectivity within and across projects. You are now seeing intermittent timeout errors in your application. You want to find the cause of the problem. What should you do?
CorrectIncorrectHint
Hint Answers: C is correct because it uses the substrate specific logging to capture everything.
- Question 19 of 20
19. Question
Your application starts on the VM as a systemd service. Your application outputs its log information to stdout. You need to send the application logs to Stackdriver without changing the application. What should you do?
CorrectIncorrectHint
Hint Answers: C is correct because a service running in systemd that outputs to stdout will have logs in syslog and will be scraped by the logging agent. (https://github.com/GoogleCloudPlatform/fluentd-catch-all-config/tree/master/configs/config.d)
- Question 20 of 20
20. Question
You are capturing important audit activity in Stackdriver Logging. You need to read the information from Stackdriver Logging to perform real-time analysis of the logs. You will have multiple processes performing different types of analysis on the logging data. What should you do?
CorrectIncorrectHint
Hint Answers: C is correct because this solution is real time. (https://cloud.google.com/logging/docs/export/using_exported_logs#pubsub-availability)
Leave a Reply