Google Cloud Certified – Professional Cloud Developer Sample Questions

  1. Home
  2. Google Cloud Certified – Professional Cloud Developer Sample Questions
Google Cloud Certified - Professional Cloud Developer Sample Questions

Google Professional Cloud Developer Exam is for Professional Cloud Developer who assists with building versatile and exceptionally accessible applications utilizing Google suggested practices and instruments that influence completely oversaw administrations. Google Professional Cloud Developer test centers around your capacity to use Google Cloud Professional administrations and prescribed rehearses to construct, test, send, and oversee adaptable and exceptionally accessible applications. Google Professional Cloud Developer Exam surveys the capacity of the possibility to plan profoundly adaptable, accessible, and dependable cloud-local applications, construct and test applications, convey applications, incorporate Google Cloud Platform benefits and oversee application execution checking.

Candidates intending to take the Google Professional Cloud Developer Exam ought to have involved insight into cutting-edge data sets, runtime conditions, and designer instruments. This individual ought to have the capability with somewhere around one broadly useful programming language to characterize new APIs and summon Google APIs and are talented with utilizing Stackdriver to create significant measurements and logs to investigate and follow code.

1.) You need to transfer documents from an on-premises virtual machine to Google Cloud Storage as a feature of information movement. These documents will be consumed by the Cloud DataProc Hadoop group in a GCP climate.
Which order would it be advisable for you to utilize?

A. gsutil cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
B. gcloud cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
C. hadoop fs cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/
D. gcloud dataproc cp [LOCAL_OBJECT] gs://[DESTINATION_BUCKET_NAME]/

Right Answer: A

2.) You moved your applications to the Google Cloud Platform and kept your current checking stage. You currently observe that your warning framework is excessively delayed for time-basic issues.
How would it be advisable for you to respond?

A. Supplant your whole checking stage with Stackdriver.
B. Introduce the Stackdriver specialists on your Compute Engine occurrences.
C. Use Stackdriver to catch and alarm logs, then transport them to your current stage.
D. Relocate some traffic back to your old stage and perform AB testing on the two stages simultaneously.

Right Answer: A

Explanation: Cloud Monitoring

3.) You are wanting to move a MySQL data set to the oversaw Cloud SQL information base for Google Cloud. You have Compute Engine virtual machine occasions that will interface with this Cloud SQL example. You would rather not whitelist IPs for the Compute Engine occasions to have the option to get to Cloud SQL.
How would it be advisable for you to respond?

A. Empower private IP for the Cloud SQL occasion.
B. Whitelist an undertaking to get to Cloud SQL, and add Compute Engine cases in the whitelisted project.
C. Make a job in Cloud SQL that permits admittance to the data set from outside cases, and relegate the Compute Engine occasions to that job.
D. Make a CloudSQL occasion on one undertaking. Make Compute motor examples in an alternate venture. Make a VPN between these two tasks to permit interior admittance to CloudSQL.

Right Answer: A

Explanation: About connection options

4.) Your site is conveyed on Compute Engine. Your promoting group needs to test change rates between 3 different web architectures.
Which approach would it be advisable for you to utilize?

A. Send the site on App Engine and use traffic parting.
B. Convey the site on App Engine as three separate administrations.
C. Send the site on Cloud Functions and use traffic parting.
D. Convey the site on Cloud Functions as three separate capabilities.

Right Answer: A

Explanation: Splitting Traffic

5.) You really want to duplicate registry neighborhood contents and each of their items from your nearby workstation to a Compute Engine virtual machine case.
Which order would it be a good idea for you to utilize?

A. gsutil cp – – project ג€my-gcp-projectג€ – r ~/nearby scripts/gcp-case name:~/server-scripts/ – – zone ג€us-east1-bג€
B. gsutil cp – – project ג€my-gcp-projectג€ – R ~/nearby scripts/gcp-case name:~/server-scripts/ – – zone ג€us-east1-bג€
C. gcloud figure scp – – project ג€my-gcp-projectג€ – – recurse ~/nearby scripts/gcp-occasion name:~/server-scripts/ – – zone ג€us-east1-bג€
D. gcloud figure mv – – project ג€my-gcp-projectג€ – – recurse ~/nearby scripts/gcp-example name:~/server-scripts/ – – zone ג€us-east1-bג€

Right Answer: C

Explanation: gcloud computes copy-files

6.) You are conveying your application to a Compute Engine virtual machine example with the Stackdriver Monitoring Agent introduced. Your application is a Unix interaction on the occasion. You need to be alarmed on the off chance that the Unix interaction has not run for something like 5 minutes. You can’t change the application to create measurements or logs.
Which ready condition would it be advisable for you to design?

A. Uptime check
B. Process wellbeing
C. Metric nonattendance
D. Metric edge

Right Answer: B

Explanation: Behavior of metric-based alerting policies

7.) You have two tables in an ANSI-SQL consistent data set with indistinguishable segments that you want to rapidly join into a solitary table, eliminating copy columns from the outcome set.
How would it be advisable for you to respond?

A. Utilize the JOIN administrator in SQL to consolidate the tables.
B. Utilize settled WITH proclamations to join the tables.
C. Utilize the UNION administrator in SQL to join the tables.
D. Utilize the UNION ALL administrator in SQL to consolidate the tables.

Right Answer: C

Explanation: SQL: UNION ALL Operator

8.) You have an application conveyed underway. At the point when another rendition is sent, a few issues don’t emerge until the application gets traffic from clients underway. You need to decrease both the effect and the number of clients impacted.
Which organization technique would it be a good idea for you to utilize?

A. blue/green deployment
B. Canary deployment
C. Recreate deployment
D. Rolling deployment

Right Answer: A

Explanation: Strategies for Application Deployment

9.) Your organization needs to grow its clients outside the United States for their well-known application. The organization needs to guarantee 99.999% accessibility of the data set for their application and furthermore needs to limit the read idleness for their clients across the globe.
Which two moves would it be a good idea for them to make? (Pick two.)

A. Make a multi-territorial Cloud Spanner example with the “nam-asia-eur1” setup.
B. Make a multi-territorial Cloud Spanner example with a “nam3” setup.
C. Make a bunch with no less than 3 Spanner hubs.
D. Make a bunch with no less than 1 Spanner hub.
E. Make at least two Cloud Spanner cases in isolated areas with no less than one hub.
F. Make a Cloud Dataflow pipeline to repeat information across various data sets.

Right Answer: BF

10.) You really want to move an interior document transfer API with an authorized 500-MB record size breaking point to App Engine.
How would it be advisable for you to respond?

A. Use FTP to transfer documents.
B. Use CPanel to transfer documents.
C. Utilize marked URLs to transfer records.
D. Change the API to be a multipart document transfer API.

Right Answer: C

Explanation: Google Cloud Platform

11.) You are fostering a JPEG picture resizing API facilitated on Google Kubernetes Engine (GKE). Guests of the assistance will exist inside a similar GKE group. You maintain that clients should have the option to get the IP address of the assistance.
How would it be advisable for you to respond?

A. Characterize a GKE Service. Clients ought to involve the name of the A record in Cloud DNS to find the help’s bunch IP address.
B. Characterize a GKE Service. Clients ought to utilize the assistance name in the URL to associate with the help.
C. Characterize a GKE Endpoint. Clients ought to get the endpoint name from the proper climate variable in the client compartment.
D. Characterize a GKE Endpoint. Clients ought to get the endpoint name from Cloud DNS.

Right Answer: C

12.) You are utilizing Cloud Build to assemble and test application source code put away in Cloud Source Repositories. The build process requires a build tool not accessible in the Cloud Build climate.
How would it be a good idea for you to respond?

A. Download the binary from the web during the build process.
B. Fabricate a custom cloud developer picture and reference the picture in your construct steps.
C. Remember the binary for your Cloud Source Repositories archive and reference it in your assemble scripts.
D. Request to have the twofold added to the Cloud Build climate by documenting an element demand against the Cloud Build public Issue Tracker.

Right Answer: B

13.) You are conveying your application to a Compute Engine virtual machine occurrence. Your application is designed to compose its log documents to circle. You need to see the logs in Stackdriver Logging without changing the application code.
How would it be advisable for you to respond?

A. Introduce the Stackdriver Logging specialist and arrange it to send the application logs.
B. Utilize a Stackdriver Logging Library to log straightforwardly from the application to Stackdriver Logging.
C. Give the log record envelope way in the metadata of the occurrence to arrange it to send the application logs.
D. Change the application to log to/var/log so that its logs are consequently shipped off Stackdriver Logging.

Right Answer: A

14.) Your administration adds text to pictures that it peruses from Cloud Storage. During active seasons, solicitations to Cloud Storage fall flat with an HTTP 429 “Such a large number of Requests” status code. How might you deal with this mistake?

A. Add a store control header to the items.
B. Demand a quantity increment from the GCP Console.
C. Retry the solicitation with a shortened remarkable backoff technique.
D. Change the capacity class of the Cloud Storage container to Multi-local.

Right Answer: C

Explanation: Usage limits

15.) You are building an API that will be utilized by Android and iOS applications. The API must:
ג€¢ Support HTTPs
ג€¢ Limit transmission capacity cost
ג€¢ Coordinate effectively with portable applications
Which API engineering would it be advisable for you to utilize?

A. RESTful APIs
B. MQTT for APIs
C. gRPC-based APIs
D. Soap-based APIs

Right Answer: A

Explanation: How To Build A REST API For Mobile App?

16.) Your application takes input from a client and distributes it to the client’s contacts. This information is put away in a table in Cloud Spanner. Your application is more delicate to idleness and less touchy to consistency.
How could you perform peruses from Cloud Spanner for this application?

A. Perform Read-Only exchanges.
B. Perform lifeless peruses utilizing single-read strategies.
C. Perform solid peruses utilizing single-read techniques.
D. Perform old peruses utilizing read-compose exchanges.

Right Answer: B

Explanation: How To Build A REST API For Mobile App?

17.) You intend to make a straightforward HTML application accessible on the web. This site saves the data about FAQs for your application. The application is static and contains pictures, HTML, CSS, and Javascript. You need to make this application accessible on the web with a couple of steps as could really be expected.
How would it be a good idea for you to respond?

A. Transfer your application to Cloud Storage.
B. Transfer your application to an App Engine climate.
C. Make a Compute Engine case with Apache web server introduced. Design the Apache web server to have the application.
D. Containerize your application first. Convey this compartment to Google Kubernetes Engine (GKE) and appoint an outer IP address to the GKE unit facilitating the application.

Right Answer: A

Explanation: Host a static website

18.) Your organization has sent another API to the App Engine Standard climate. During testing, the API isn’t acting true to form. You need to screen the application after some time to analyze the issue inside the application code without redeploying the application.
Which device would it be advisable for you to utilize?

A. Stackdriver Trace
B. Stackdriver Monitoring
C. Stackdriver Debug Snapshots
D. Stackdriver Debug Log focuses

Right Answer: D

Explanation: GCP Stackdriver Tutorial: Debug Snapshots, Traces, Logging, and Log points

19.) You need to utilize the Stackdriver Logging Agent to send an application’s log document to Stackdriver from a Compute Engine virtual machine occasion.
Subsequent to introducing the Stackdriver Logging specialist, what would it be advisable for you to do first?

A. Empower the Error Reporting API on the venture.
B. Award the occurrence full admittance to all Cloud APIs.
C. Design the application log record as a custom source.
D. Make a Stackdriver Logs Export Sink with a channel that matches the application’s log passages.

Right Answer: C

20.) Your organization has a BigQuery information store that gives examination data to many representatives. One client needs to run positions without hindering significant jobs. This client isn’t worried about the time it takes to run these positions. You need to satisfy this solicitation while limiting the expense for the organization and the work expected on your part.
How would it be a good idea for you to respond?

A. Request that the client run the positions as a bunch of occupations.
B. Make a different venture for the client to run positions.
C. Add the client as a task. client job in the current undertaking.
D. Permit the client to run positions when significant jobs are not running.

Right Answer: A

Google Cloud Certified - Professional Cloud Developer Practice Tests
Menu