[Dec 30, 2021] Fully Updated Cloud Developer (Professional-Cloud-Developer) Certification Sample Questions [Q31-Q52]

Share

[Dec 30, 2021] Fully Updated Cloud Developer (Professional-Cloud-Developer) Certification Sample Questions

Latest Google Professional-Cloud-Developer Real Exam Dumps PDF


Career Opportunity

Those individuals who have the Google Professional Cloud Developer certification can take up the job titles, such as Software Engineers, Solutions Architects, Operations Analysts, Web Application Developers, Senior Software Engineers, Information Security Managers, or Data Engineers. The average salary for these positions is $87,000 per annum.


How to book Google Professional Cloud Developer Exams

The registration for the Google Professional Cloud Developer Exam follows the steps given below.

  • Step 1: Visit the Google Cloud Webassessor Website
  • Step 2: Sign in or sign up to your Google Cloud Webassessor account
  • Step 3: Search for the exam name Google Professional Cloud Developer
  • Step 4: Take the date of the exam, choose exam center and make further payment using payment method like credit/debit etc.

 

NEW QUESTION 31
Your application requires service accounts to be authenticated to GCP products via credentials stored on its host Compute Engine virtual machine instances. You want to distribute these credentials to the host instances as securely as possible. What should you do?

  • A. Use HTTP signed URLs to securely provide access to the required resources.
  • B. Commit the credential JSON file into your application's source repository, and have your CI/CD process package it with the software that is deployed to the instance.
  • C. Use the instance's service account Application Default Credentials to authenticate to the required resources.
  • D. Generate a P12 file from the GCP Console after the instance is deployed, and copy the credentials to the host instance before starting the application.

Answer: C

Explanation:
Reference:
https://cloud.google.com/compute/docs/api/how-tos/authorization

 

NEW QUESTION 32
Lew is not certain that his Apple ID is working correctly in macOS. Which of the following methods would allow Lew to verify that he is using his correct Apple ID in macOS?

  • A. Click the Apple menu, select Apple ID, and ensure that Lew's Apple ID is listed.
  • B. Go to the My Apple ID page (appleid.apple.com) and verify the account is signed in.
  • C. Open System Preferences, click iCloud, and verify that the account is signed in.
  • D. Open the Apple ID pane in System Preferences.

Answer: C

Explanation:
Explanation/Reference: https://appletoolbox.com/how-to-sign-in-and-sign-out-of-icloud-on-macos-catalina/

 

NEW QUESTION 33
You are deploying your application to a Compute Engine virtual machine instance with the Stackdriver Monitoring Agent installed. Your application is a unix process on the instance. You want to be alerted if the unix process has not run for at least 5 minutes. You are not able to change the application to generate metrics or logs.
Which alert condition should you configure?

  • A. Metric threshold
  • B. Metric absence
  • C. Process health
  • D. Uptime check

Answer: C

Explanation:
Explanation/Reference: https://cloud.google.com/monitoring/alerts/concepts-indepth

 

NEW QUESTION 34
Your application performs well when tested locally, but it runs significantly slower when you deploy it to App Engine standard environment. You want to diagnose the problem. What should you do?

  • A. Use Stackdriver Debugger Snapshots to look at a point-in-time execution of the application.
  • B. Add logging commands to the application and use Stackdriver Logging to check where the latency problem occurs.
  • C. File a ticket with Cloud Support indicating that the application performs faster locally.
  • D. Use Stackdriver Trace to determine which functions within the application have higher latency.

Answer: B

 

NEW QUESTION 35
Your data is stored in Cloud Storage buckets. Fellow developers have reported that data downloaded from Cloud Storage is resulting in slow API performance. You want to research the issue to provide details to the GCP support team.
Which command should you run?

  • A. gcloud services test -o output.json gs://my-bucket
  • B. gsutil test -o output.json gs://my-bucket
  • C. gcloud compute scp example-instance:~/test-data -o output.json gs://my-bucket
  • D. gsutil perfdiag -o output.json gs://my-bucket

Answer: D

Explanation:
Explanation/Reference: https://groups.google.com/forum/#!topic/gce-discussion/xBl9Jq5HDsY

 

NEW QUESTION 36
Please refer to the following information to answer the questions on the right.
Hannah recently picked up her iMac after a repair. The sound from the speakers was distorted and unclear and a technician determined that a repair would resolve the issue.
Once Hannah returned home with the iMac, the sound issue occurred again.
Hannah has returned. She is angry and she is cursing at the technician.
From the following, which are part of the 5-step conflict resolution model? (Choose two.)

  • A. "Are you sure your children didn't do something to it?"
  • B. "You are right, Hannah. I can see the repair history says you picked up the computer this morning."
  • C. "I feel sorry for you. You had to drive all the way back here."
  • D. "Is this really the same issue? Might it be a different issue?"
  • E. "I understand your frustrations, Hannah. I would feel the same way if my computer was having the same issue after a repair. I am here to help."

Answer: B,E

 

NEW QUESTION 37
You are building an API that will be used by Android and iOS apps The API must:
* Support HTTPs
* Minimize bandwidth cost
* Integrate easily with mobile apps
Which API architecture should you use?

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

Answer: C

Explanation:
Reference:
https://www.devteam.space/blog/how-to-build-restful-api-for-your-mobile-app/

 

NEW QUESTION 38
Your company has a BigQuery data mart that provides analytics information to hundreds of employees. One user of wants to run jobs without interrupting important workloads. This user isn't concerned about the time it takes to run these jobs. You want to fulfill this request while minimizing cost to the company and the effort required on your part.
What should you do?

  • A. Ask the user to run the jobs as batch jobs.
  • B. Create a separate project for the user to run jobs.
  • C. Allow the user to run jobs when important workloads are not running.
  • D. Add the user as a job.user role in the existing project.

Answer: B

 

NEW QUESTION 39
Which of the following is an ESD precaution according to Apple standards?

  • A. The relative humidity in a work area should be lower than 50 percent.
  • B. A person working on an ESD-sensitive circuit should not be touched.
  • C. An ionized air generator can be used instead of grounding a work area.
  • D. Safety apron made of synthetic fibers should be worn.

Answer: B

 

NEW QUESTION 40
You configured your Compute Engine instance group to scale automatically according to overall CPU usage. However, your application's response latency increases sharply before the cluster has finished adding up instances. You want to provide a more consistent latency experience for your end users by changing the configuration ot the instance group autoscaler. Which two configuration changes should you make? (Choose two.)

  • A. Remove the health-check for individual VMs in the instance group.
  • B. Increase the target CPU usage for the instance group autoscaler.
  • C. Add the label "AUTOSCALE" to the instance group template.
  • D. Decrease the cool-down period for instances added to the group.
  • E. Decrease the target CPU usage for the instance group autoscaler.

Answer: B,C

 

NEW QUESTION 41
You have an application deployed in production. When a new version is deployed, some issues don't arise until the application receives traffic from users in production. You want to reduce both the impact and the number of users affected.
Which deployment strategy should you use?

  • A. Blue/green deployment
  • B. Canary deployment
  • C. Recreate deployment
  • D. Rolling deployment

Answer: A

Explanation:
Explanation/Reference: https://thenewstack.io/deployment-strategies/

 

NEW QUESTION 42
Your code is running on Cloud Functions in project A. It is supposed to write an object in a Cloud Storage bucket owned by project B. However, the write call is failing with the error "403 Forbidden".
What should you do to correct the problem?

  • A. Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
  • B. Grant your user account the roles/iam.serviceAccountUser role for the service-PROJECTA@gcf-admin- robot.iam.gserviceaccount.com service account.
  • C. Enable the Cloud Storage API in project B.
  • D. Grant the [email protected] service account the roles/ storage.objectCreator role for the Cloud Storage bucket.

Answer: B

 

NEW QUESTION 43
Your application is built as a custom machine image. You have multiple unique deployments of the machine image. Each deployment is a separate managed instance group with its own template. Each deployment requires a unique set of configuration values. You want to provide these unique values to each deployment but use the same custom machine image in all deployments. You want to use out-of-the-box features of Compute Engine. What should you do?

  • A. Place the unique configuration values in the instance template instance metadata.
  • B. Place the unique configuration values in the persistent disk.
  • C. Place the unique configuration values in the instance template startup script.
  • D. Place the unique configuration values in a Cloud Bigtable table.

Answer: B

Explanation:
Reference:
https://cloud.google.com/compute/docs/instance-groups

 

NEW QUESTION 44
Your application is deployed in a Google Kubernetes Engine (GKE) cluster. When a new version of your application is released, your CI/CD tool updates the spec.template.spec.containers[0].image value to reference the Docker image of your new application version. When the Deployment object applies the change, you want to deploy at least 1 replica of the new version and maintain the previous replicas until the new replica is healthy.
Which change should you make to the GKE Deployment object shown below?

  • A. Set the Deployment strategy to Recreate with maxSurge set to 0, maxUnavailable set to 1.
  • B. Set the Deployment strategy to RollingUpdate with maxSurge set to 1, maxUnavailable set to 0.
  • C. Set the Deployment strategy to RollingUpdate with maxSurge set to 0, maxUnavailable set to 1.
  • D. Set the Deployment strategy to Recreate with maxSurge set to 1, maxUnavailable set to 0.

Answer: D

 

NEW QUESTION 45
You have an analytics application that runs hundreds of queries on BigQuery every few minutes using BigQuery API. You want to find out how much time these queries take to execute. What should you do?

  • A. Use Stackdriver Trace to plot API execution time.
  • B. Use Stackdriver Monitoring to plot slot usage.
  • C. Use Stackdriver Monitoring to plot query execution times.
  • D. Use Stackdriver Trace to plot query execution time.

Answer: C

 

NEW QUESTION 46
You are designing a schema for a table that will be moved from MySQL to Cloud Bigtable. The MySQL table is as follows:

How should you design a row key for Cloud Bigtable for this table?

  • A. Set Account_id_Event_timestamp as a key.
  • B. Set Account_id as a key.
  • C. Set Event_timestamp as a key.
  • D. Set Event_timestamp_Account_id as a key.

Answer: D

 

NEW QUESTION 47
You want to re-architect a monolithic application so that it follows a microservices model. You want to accomplish this efficiently while minimizing the impact of this change to the business.
Which approach should you take?

  • A. Deploy the application to Compute Engine and turn on autoscaling.
  • B. Replace the application's features with appropriate microservices in phases.
  • C. Refactor the monolithic application with appropriate microservices in a single effort and deploy it.
  • D. Build a new application with the appropriate microservices separate from the monolith and replace it when it is complete.

Answer: C

Explanation:
Explanation/Reference: https://cloud.google.com/solutions/migrating-a-monolithic-app-to-microservices-gke

 

NEW QUESTION 48
Please refer to the following information to answer the questions on the right.
Hannah recently picked up her iMac after a repair. The sound from the speakers was distorted and unclear and a technician determined that a repair would resolve the issue.
Once Hannah returned home with the iMac, the sound issue occurred again.
Hannah has returned. She is angry and she is cursing at the technician.
From the following, which are part of the 5-step conflict resolution model? (Choose two.)

  • A. "Are you sure your children didn't do something to it?"
  • B. "l can prove to you exactly how you are wrong about this issue."
  • C. "Is this really the same issue? Might it be a different issue?"
  • D. "If I can ask some questions about the last repair and what has occurred since then, I can figure out what the appropriate next step is. I might be able to suggest a solution. Does that sound okay, Hannah?"
  • E. "Though your frustration is understandable, we are in a family-friendly environment so I am going to have to ask you to be mindful of the language you are using."
  • F. "Calm down!"

Answer: D,F

 

NEW QUESTION 49
You are developing a JPEG image-resizing API hosted on Google Kubernetes Engine (GKE). Callers of the service will exist within the same GKE cluster. You want clients to be able to get the IP address of the service.
What should you do?

  • A. Define a GKE Endpoint. Clients should get the endpoint name from Cloud DNS.
  • B. Define a GKE Service. Clients should use the service name in the URL to connect to the service.
  • C. Define a GKE Service. Clients should use the name of the A record in Cloud DNS to find the service's cluster IP address.
  • D. Define a GKE Endpoint. Clients should get the endpoint name from the appropriate environment variable in the client container.

Answer: D

 

NEW QUESTION 50
You are building a new API. You want to minimize the cost of storing and reduce the latency of serving images.
Which architecture should you use?

  • A. Cloud Content Delivery Network (CDN) backed by Cloud Storage
  • B. Compute Engine backed by Persistent Disk
  • C. Transfer Appliance backed by Cloud Filestore
  • D. App Engine backed by Cloud Storage

Answer: B

 

NEW QUESTION 51
Case study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Company Overview
HipLocal is a community application designed to facilitate communication between people in close proximity. It is used for event planning and organizing sporting events, and for businesses to connect with their local communities. HipLocal launched recently in a few neighborhoods in Dallas and is rapidly growing into a global phenomenon. Its unique style of hyper-local community communication and business outreach is in demand around the world.
Executive Statement
We are the number one local community app; it's time to take our local community services global. Our venture capital investors want to see rapid growth and the same great experience for new local and virtual communities that come online, whether their members are 10 or 10000 miles away from each other.
Solution Concept
HipLocal wants to expand their existing service, with updated functionality, in new regions to better serve their global customers. They want to hire and train a new team to support these regions in their time zones. They will need to ensure that the application scales smoothly and provides clear uptime data.
Existing Technical Environment
HipLocal's environment is a mix of on-premises hardware and infrastructure running in Google Cloud Platform.
The HipLocal team understands their application well, but has limited experience in global scale applications.
Their existing technical environment is as follows:
* Existing APIs run on Compute Engine virtual machine instances hosted in GCP.
* State is stored in a single instance MySQL database in GCP.
* Data is exported to an on-premises Teradata/Vertica data warehouse.
* Data analytics is performed in an on-premises Hadoop environment.
* The application has no logging.
* There are basic indicators of uptime; alerts are frequently fired when the APIs are unresponsive.
Business Requirements
HipLocal's investors want to expand their footprint and support the increase in demand they are seeing. Their requirements are:
* Expand availability of the application to new regions.
* Increase the number of concurrent users that can be supported.
* Ensure a consistent experience for users when they travel to different regions.
* Obtain user activity metrics to better understand how to monetize their product.
* Ensure compliance with regulations in the new regions (for example, GDPR).
* Reduce infrastructure management time and cost.
* Adopt the Google-recommended practices for cloud computing.
Technical Requirements
* The application and backend must provide usage metrics and monitoring.
* APIs require strong authentication and authorization.
* Logging must be increased, and data should be stored in a cloud analytics platform.
* Move to serverless architecture to facilitate elastic scaling.
* Provide authorized access to internal apps in a secure manner.
HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They want to collect some metrics to help them troubleshoot.
What should they do?

  • A. Take frequent snapshots of all of the VMs.
  • B. Install the Stackdriver Logging agent on the VMs.
  • C. Use Stackdriver Trace to look for performance bottlenecks.
  • D. Install the Stackdriver Monitoring agent on the VMs.

Answer: D

Explanation:
Explanation/Reference:

 

NEW QUESTION 52
......

Google Professional-Cloud-Developer Dumps - Secret To Pass in First Attempt: https://examschief.vce4plus.com/Google/Professional-Cloud-Developer-valid-vce-dumps.html