Professional-Cloud-Developer Dumps To Pass Cloud Developer Exam in One Day (Updated 228 Questions)
Professional-Cloud-Developer Exam Brain Dumps - Study Notes and Theory
NEW QUESTION 117
Your application takes an input from a user and publishes it to the user's contacts. This input is stored in a table in Cloud Spanner. Your application is more sensitive to latency and less sensitive to consistency.
How should you perform reads from Cloud Spanner for this application?
- A. Perform stale reads using single-read methods.
- B. Perform Read-Only transactions.
- C. Perform stale reads using read-write transactions.
- D. Perform strong reads using single-read methods.
Answer: C
Explanation:
Explanation/Reference: https://cloud.google.com/solutions/best-practices-cloud-spanner-gaming-database
NEW QUESTION 118
You have decided to migrate your Compute Engine application to Google Kubernetes Engine. You need to build a container image and push it to Artifact Registry using Cloud Build. What should you do? (Choose two.) A) Run gcloud builds submit in the directory that contains the application source code.
B)
Run gcloud run deploy app-name --image gcr.io/$PROJECT_ID/app-name in the directory that contains the application source code.
C)
Run gcloud container images add-tag gcr.io/$PROJECT_ID/app-name gcr.io/$PROJECT_ID/app-name:latest in the directory that contains the application source code.
D)
In the application source directory, create a file named cloudbuild.yaml that contains the following contents:
E)
In the application source directory, create a file named cloudbuild.yaml that contains the following contents:
- A. Option D
- B. Option E
- C. Option B
- D. Option C
- E. Option A
Answer: A,E
Explanation:
Explanation
https://cloud.google.com/sdk/gcloud/reference/builds/submit
https://cloud.google.com/artifact-registry/docs/configure-cloud-build
NEW QUESTION 119
You are load testing your server application. During the first 30 seconds, you observe that a previously inactive Cloud Storage bucket is now servicing 2000 write requests per second and 7500 read requests per second.
Your application is now receiving intermittent 5xx and 429 HTTP responses from the Cloud Storage JSON API as the demand escalates. You want to decrease the failed responses from the Cloud Storage API.
What should you do?
- A. Distribute the uploads across a large number of individual storage buckets.
- B. Use the XML API instead of the JSON API for interfacing with Cloud Storage.
- C. Pass the HTTP response codes back to clients that are invoking the uploads from your application.
- D. Limit the upload rate from your application clients so that the dormant bucket's peak request rate is reached more gradually.
Answer: A
Explanation:
Explanation/Reference: https://cloud.google.com/storage/docs/request-rate
NEW QUESTION 120
Which of the following gestures should be avoided when welcoming a customer? (Choose two.)
- A. Fidgeting
- B. Making eye contact
- C. Standing straight
- D. Opening hands
- E. Folding arms
Answer: A,E
NEW QUESTION 121
Your App Engine standard configuration is as follows:
service: production
instance_class: B1
You want to limit the application to 5 instances.
Which code snippet should you include in your configuration?
manual_scaling:
- A. instances: 5
min_pending_latency: 30ms
manual_scaling: - B. instances: 5
min_pending_latency: 30ms
basic_scaling: - C. max_instances: 5
idle_timeout: 10m - D. max_instances: 5
idle_timeout: 10m
basic_scaling:
Answer: B
NEW QUESTION 122
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 wants to reduce the number of on-call engineers and eliminate manual scaling.
Which two services should they choose? (Choose two.)
- A. Use serverless Google Cloud Functions.
- B. Use Google Kubernetes Engine for automated deployments.
- C. Use Knative to build and deploy serverless applications.
- D. Use Google App Engine services.
- E. Use a large Google Compute Engine cluster for deployments.
Answer: A,C
NEW QUESTION 123
You recently developed a new application. You want to deploy the application on Cloud Run without a Dockerfile. Your organization requires that all container images are pushed to a centrally managed container repository. How should you build your container using Google Cloud services? (Choose two.)
- A. Include the --platform=kubernetes flag with the gcloud run deploy CLI command.
- B. Submit a Cloud Build job to push the image.
- C. Use the pack build command with pack CLI.
- D. Push your source code to Artifact Registry.
- E. Include the --source flag with the gcloud run deploy CLI command.
Answer: C,D
Explanation:
Explanation
https://cloud.google.com/run/docs/deploying#images
https://cloud.google.com/blog/products/containers-kubernetes/google-cloud-now-supports-buildpacks
NEW QUESTION 124
You are developing a microservice-based application that will be deployed on a Google Kubernetes Engine cluster. The application needs to read and write to a Spanner database. You want to follow security best practices while minimizing code changes. How should you configure your application to retrieve Spanner credentials?
- A. Store the application credentials as Kubernetes Secrets, and expose them as environment variables.
- B. Configure the appropriate routing rules, and use a VPC-native cluster to directly connect to the database.
- C. Configure the appropriate service accounts, and use Workload Identity to run the pods.
- D. Store the application credentials using Cloud Key Management Service, and retrieve them whenever a database connection is made.
Answer: C
Explanation:
Explanation
https://cloud.google.com/kubernetes-engine/docs/concepts/workload-identity
NEW QUESTION 125
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. Use the instance's service account Application Default Credentials to authenticate to the required resources.
- C. 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.
- 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: B
Explanation:
Reference: https://cloud.google.com/compute/docs/api/how-tos/authorization
NEW QUESTION 126
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. "Is this really the same issue? Might it be a different issue?"
- B. "I feel sorry for you. You had to drive all the way back here."
- C. "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."
- D. "Are you sure your children didn't do something to it?"
- E. "You are right, Hannah. I can see the repair history says you picked up the computer this morning."
Answer: C,E
NEW QUESTION 127
HipLocal wants to reduce the number of on-call engineers and eliminate manual scaling.
Which two services should they choose? (Choose two.)
- A. Use serverless Google Cloud Functions.
- B. Use Google Kubernetes Engine for automated deployments.
- C. Use Knative to build and deploy serverless applications.
- D. Use Google App Engine services.
- E. Use a large Google Compute Engine cluster for deployments.
Answer: A,C
NEW QUESTION 128
You are evaluating developer tools to help drive Google Kubernetes Engine adoption and integration with your development environment, which includes VS Code and IntelliJ. What should you do?
- A. Use Cloud Shell to manage your infrastructure and applications from the command line.
- B. Use Cloud Code to develop applications.
- C. Use a Cloud Notebook instance to ingest and process data and deploy models.
- D. Use the Cloud Shell integrated Code Editor to edit code and configuration files.
Answer: B
Explanation:
Reference: https://cloud.google.com/code
NEW QUESTION 129
Your application is logging to Stackdriver. You want to get the count of all requests on all /api/alpha/* endpoints.
What should you do?
- A. Add a Stackdriver counter metric for endpoint:/api/alpha/*.
- B. Export the logs to Cloud Storage and count lines matching /api/alpha.
- C. Add a Stackdriver counter metric for path:/api/alpha/.
- D. Export the logs to Cloud Pub/Sub and count lines matching /api/alpha.
Answer: B
Explanation:
Explanation/Reference:
NEW QUESTION 130
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. Use the instance's service account Application Default Credentials to authenticate to the required resources.
- C. 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.
- 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: B
Explanation:
Reference:
https://cloud.google.com/compute/docs/api/how-tos/authorization
NEW QUESTION 131
Technician Tommy is replacing a logic board on a Mac mini. Which of the following should he hold when handling the logic board?
- A. The connectors
- B. Any components
- C. The edges of the logic board
- D. The heat sinks
Answer: C
Explanation:
Explanation/Reference: https://www.ifixit.com/Guide/Mac+mini+Late+2014+Logic+Board+Replacement/33077
NEW QUESTION 132
You need to migrate a standalone Java application running in an on-premises Linux virtual machine (VM) to Google Cloud in a cost-effective manner. You decide not to take the lift-and-shift approach, and instead you plan to modernize the application by converting it to a container. How should you accomplish this task?
- A. Use Migrate for Compute Engine to migrate the VM to a Compute Engine instance, and use Cloud Build to convert it to a container.
- B. Export the VM as a raw disk and import it as an image. Create a Compute Engine instance from the Imported image.
- C. Use Migrate for Anthos to migrate the VM to your Google Kubernetes Engine (GKE) cluster as a container.
- D. Use Jib to build a Docker image from your source code, and upload it to Artifact Registry. Deploy the application in a GKE cluster, and test the application.
Answer: D
Explanation:
Explanation
https://cloud.google.com/blog/products/application-development/introducing-jib-build-java-docker-images-bette
NEW QUESTION 133
Which database should HipLocal use for storing user activity?
- A. Cloud Datastore
- B. Cloud SQL
- C. BigQuery
- D. Cloud Spanner
Answer: C
NEW QUESTION 134
......
Google Professional Cloud Developer Certification Path
The Google Professional Cloud Developer Certification is the highest level of certification mainly focussing to the Google Professional Cloud Developer. There is no prerequisite for this exam but still it would be best to follow some sequence in order to prove immense knowledge as a Google Professional Cloud Developer. You can complete Google Associate Certifications then approach for the professional certification. For more information related to Google cloud certification track Google-certification-path
Professional-Cloud-Developer Dumps PDF - Want To Pass Professional-Cloud-Developer Fast: https://www.exam4tests.com/Professional-Cloud-Developer-valid-braindumps.html
100% Guaranteed Results Professional-Cloud-Developer Unlimited 228 Questions: https://drive.google.com/open?id=1r730JCgTmE5ydotto6HtSPE4p2kVp9Em