Free Professional Cloud Developer Exam Braindumps (page: 11)

Page 11 of 82

You are using Cloud Build to build a Docker image. You need to modify the build to execute unit and run integration tests.
When there is a failure, you want the build history to clearly display the stage at which the build failed.
What should you do?

  1. Add RUN commands in the Dockerfile to execute unit and integration tests.
  2. Create a Cloud Build build config file with a single build step to compile unit and integration tests.
  3. Create a Cloud Build build config file that will spawn a separate cloud build pipeline for unit and integration tests.
  4. Create a Cloud Build build config file with separate cloud builder steps to compile and execute unit and integration tests.

Answer(s): D



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?

  1. Grant your user account the roles/storage.objectCreator role for the Cloud Storage bucket.
  2. Grant your user account the roles/iam.serviceAccountUser role for the service-PROJECTA@gcf-admin-robot.iam.gserviceaccount.com service account.
  3. Grant the service-PROJECTA@gcf-admin-robot.iam.gserviceaccount.com service account the roles/storage.objectCreator role for the Cloud Storage bucket.
  4. Enable the Cloud Storage API in project B.

Answer(s): C



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, and that they analyze and respond to any issues that occur.

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.
•Release cycles include development freezes to allow for QA testing.
•The application has no logging.
•Applications are manually deployed by infrastructure engineers during periods of slow traffic on weekday evenings.
•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.
•Support 10x as many concurrent users.
•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.
oDevelop standardized workflows and processes around application lifecycle management.
oDefine service level indicators (SLIs) and service level objectives (SLOs).

Technical Requirements
•Provide secure communications between the on-premises data center and cloud-hosted applications and infrastructure.
•The application must provide usage metrics and monitoring.
•APIs require authentication and authorization.
•Implement faster and more accurate validation of new features.
•Logging and performance metrics must provide actionable information to be able to provide debugging information and alerts.
•Must scale to meet user demand.

HipLocal's .net-based auth service fails under intermittent load.

What should they do?

  1. Use App Engine for autoscaling.
  2. Use Cloud Functions for autoscaling.
  3. Use a Compute Engine cluster for the service.
  4. Use a dedicated Compute Engine virtual machine instance for the service.

Answer(s): C


Reference:

https://www.qwiklabs.com/focuses/611?parent=catalog



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, and that they analyze and respond to any issues that occur.

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.
•Release cycles include development freezes to allow for QA testing.
•The application has no logging.
•Applications are manually deployed by infrastructure engineers during periods of slow traffic on weekday evenings.
•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.
•Support 10x as many concurrent users.
•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.
oDevelop standardized workflows and processes around application lifecycle management.
oDefine service level indicators (SLIs) and service level objectives (SLOs).

Technical Requirements
•Provide secure communications between the on-premises data center and cloud-hosted applications and infrastructure.
•The application must provide usage metrics and monitoring.
•APIs require authentication and authorization.
•Implement faster and more accurate validation of new features.
•Logging and performance metrics must provide actionable information to be able to provide debugging information and alerts.
•Must scale to meet user demand.


HipLocal's APIs are having occasional application failures. They want to collect application information specifically to troubleshoot the issue. What should they do?

  1. Take frequent snapshots of the virtual machines.
  2. Install the Cloud Logging agent on the virtual machines.
  3. Install the Cloud Monitoring agent on the virtual machines.
  4. Use Cloud Trace to look for performance bottlenecks.

Answer(s): B



Page 11 of 82



Post your Comments and Discuss Google Professional Cloud Developer exam with other Community members:

DaveP commented on November 19, 2023
Some of these answers are wrong according to the Google sample questions.
UNITED STATES
upvote

devansh commented on June 21, 2023
does anyone recently took the exam , i have it in 2 days , are these dumps only enough for the prep?
Anonymous
upvote