0% found this document useful (0 votes)
219 views35 pages

Aindumps - Professional Cloud Developer.v2021!04!27.by - Yusuf.46q

- The application should use the Google Drive API and OAuth 2.0 to authenticate users and write files to their Drive. When a user visits the application, it should redirect them to Google to authenticate and grant the necessary permissions. The application will then receive an authorization code to obtain access and refresh tokens to make API calls on the user's behalf. - The application should catch timeout or error exceptions from API calls and omit displaying the API response in cases where data is not critical, to avoid delaying rendering of other parts of the UI. Making asynchronous API requests allows the UI to continue loading while the request is in progress. - To minimize costs while allowing a user to run non-critical BigQuery jobs without interrup
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
219 views35 pages

Aindumps - Professional Cloud Developer.v2021!04!27.by - Yusuf.46q

- The application should use the Google Drive API and OAuth 2.0 to authenticate users and write files to their Drive. When a user visits the application, it should redirect them to Google to authenticate and grant the necessary permissions. The application will then receive an authorization code to obtain access and refresh tokens to make API calls on the user's behalf. - The application should catch timeout or error exceptions from API calls and omit displaying the API response in cases where data is not critical, to avoid delaying rendering of other parts of the UI. Making asynchronous API requests allows the UI to continue loading while the request is in progress. - To minimize costs while allowing a user to run non-critical BigQuery jobs without interrup
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

Professional Cloud Developer

Passing Score: 800


Time Limit: 120 min
File Version: 1

Professional Cloud Developer

https://www.gratisexam.com/

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Exam A

QUESTION 1
You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud DataProc
Hadoop cluster in a GCP environment.

https://www.gratisexam.com/

Which command should you use?

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]/

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Explanation:
The gsutil cp command allows you to copy data between your local file. storage. boto files generated by running "gsutil config"

QUESTION 2
You have deployed an HTTP(s) Load Balancer with the gcloud commands shown below.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Health checks to port 80 on the Compute Engine virtual machine instance are failing and no traffic is sent to your instances. You want to resolve the problem.

Which commands should you run?

A. gcloud compute instances add-access-config ${NAME}-backend-instance-1


B. gcloud compute instances add-tags ${NAME}-backend-instance-1 --tags http-server
C. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --source-ranges
130.211.0.0/22,35.191.0.0/16 --direction INGRESS
D. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --destination-ranges
130.211.0.0/22,35.191.0.0/16 --direction EGRESS

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/vpc/docs/special-configurations

QUESTION 3
Your website is deployed on Compute Engine. Your marketing team wants to test conversion rates between 3 different website designs.

Which approach should you use?

A. Deploy the website on App Engine and use traffic splitting.


B. Deploy the website on App Engine as three separate services.
C. Deploy the website on Cloud Functions and use traffic splitting.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
D. Deploy the website on Cloud Functions as three separate functions.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/appengine/docs/standard/python/splitting-traffic

QUESTION 4
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. Rolling deployment
D. Recreate deployment

Correct Answer: A
Section: (none)
Explanation

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

QUESTION 5
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster. The application exposes an HTTP-based health check at /healthz. You
want to use this health check endpoint to determine whether traffic should be routed to the pod by the load balancer.

Which code snippet should you include in your Pod configuration?

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
A.

B.

C.

D.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
Explanation:
For the GKE ingress controller to use your readinessProbes as health checks, the Pods for an Ingress must exist at the time of Ingress creation. If your replicas are
scaled to 0, the default health check will apply.

QUESTION 6

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Your teammate has asked you to review the code below. Its purpose is to efficiently add a large number of small rows to a BigQuery table.

Which improvement should you suggest your teammate make?

A. Include multiple rows with each request.


B. Perform the inserts in parallel by creating multiple threads.
C. Write each row to a Cloud Storage object, then load into BigQuery.
D. Write each row to a Cloud Storage object in parallel, then load into BigQuery.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 7
You are using Cloud Build to build and test application source code stored in Cloud Source Repositories. The build process requires a build tool not available in the
Cloud Build environment.

What should you do?

A. Download the binary from the internet during the build process.
B. Build a custom cloud builder image and reference the image in your build steps.
C. Include the binary in your Cloud Source Repositories repository and reference it in your build scripts.
D. Ask to have the binary added to the Cloud Build environment by filing a feature request against the Cloud Build public Issue Tracker.

Correct Answer: B
Section: (none)
Explanation

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Explanation/Reference:

QUESTION 8
Your service adds text to images that it reads from Cloud Storage. During busy times of the year, requests to Cloud Storage fail with an HTTP 429 "Too Many
Requests" status code.

How should you handle this error?

A. Add a cache-control header to the objects.


B. Request a quota increase from the GCP Console.
C. Retry the request with a truncated exponential backoff strategy.
D. Change the storage class of the Cloud Storage bucket to Multi-regional.

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:
Reference: https://developers.google.com/gmail/api/v1/reference/quota

QUESTION 9
You plan to make a simple HTML application available on the internet. This site keeps information about FAQs for your application. The application is static and
contains images, HTML, CSS, and Javascript. You want to make this application available on the internet with as few steps as possible.

What should you do?

A. Upload your application to Cloud Storage.


B. Upload your application to an App Engine environment.
C. Create a Compute Engine instance with Apache web server installed. Configure Apache web server to host the application.
D. Containerize your application first. Deploy this container to Google Kubernetes Engine (GKE) and assign an external IP address to the GKE pod hosting the
application.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/storage/docs/hosting-static-website

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
QUESTION 10
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. Add the user as a job.user role in the existing project.
D. Allow the user to run jobs when important workloads are not running.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 11
You want to notify on-call engineers about a service degradation in production while minimizing development time.

What should you do?

A. Use Cloud Function to monitor resources and raise alerts.


B. Use Cloud Pub/Sub to monitor resources and raise alerts.
C. Use Stackdriver Error Reporting to capture errors and raise alerts.
D. Use Stackdriver Monitoring to monitor resources and raise alerts.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:

QUESTION 12
You are writing a single-page web application with a user-interface that communicates with a third-party API for content using XMLHttpRequest. The data displayed
on the UI by the API results is less critical than other data displayed on the same web page, so it is acceptable for some requests to not have the API data displayed

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
in the UI. However, calls made to the API should not delay rendering of other parts of the user interface. You want your application to perform well when the API
response is an error or a timeout.

What should you do?

A. Set the asynchronous option for your requests to the API to false and omit the widget displaying the API results when a timeout or error is encountered.
B. Set the asynchronous option for your request to the API to true and omit the widget displaying the API results when a timeout or error is encountered.
C. Catch timeout or error exceptions from the API call and keep trying with exponential backoff until the API response is successful.
D. Catch timeout or error exceptions from the API call and display the error response in the UI widget.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:

QUESTION 13
You are creating an App Engine application that writes a file to any user's Google Drive.

How should the application authenticate to the Google Drive API?

A. With an OAuth Client ID that uses the https://www.googleapis.com/auth/drive.file scope to obtain an access token for each user.
B. With an OAuth Client ID with delegated domain-wide authority.
C. With the App Engine service account and https://www.googleapis.com/auth/drive.file scope that generates a signed JWT.
D. With the App Engine service account with delegated domain-wide authority.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
Reference: https://developers.google.com/drive/api/v3/about-auth

QUESTION 14
You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amount (a number). You want to calculate the
sum of all transaction amounts for each unique account number efficiently.

Which data structure should you use?

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
A. A linked list
B. A hash table
C. A two-dimensional array
D. A comma-delimited string

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 15
Your company has a BigQuery dataset named "Master" that keeps information about employee travel and expenses. This information is organized by employee
department. That means employees should only be able to view information for their department. You want to apply a security framework to enforce this
requirement with the minimum number of steps.

What should you do?

A. Create a separate dataset for each department. Create a view with an appropriate WHERE clause to select records from a particular dataset for the specific
department. Authorize this view to access records from your Master dataset. Give employees the permission to this department-specific dataset.
B. Create a separate dataset for each department. Create a data pipeline for each department to copy appropriate information from the Master dataset to the
specific dataset for the department. Give employees the permission to this department-specific dataset.
C. Create a dataset named Master dataset. Create a separate view for each department in the Master dataset. Give employees access to the specific view for their
department.
D. Create a dataset named Master dataset. Create a separate table for each department in the Master dataset. Give employees access to the specific table for their
department.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 16
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.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/storage/docs/request-rate

QUESTION 17
Your application is controlled by a managed instance group. You want to share a large read-only data set between all the instances in the managed instance group.
You want to ensure that each instance can start quickly and can access the data set via its filesystem with very low latency. You also want to minimize the total cost
of the solution.

What should you do?

A. Move the data to a Cloud Storage bucket, and mount the bucket on the filesystem using Cloud Storage FUSE.
B. Move the data to a Cloud Storage bucket, and copy the data to the boot disk of the instance via a startup script.
C. Move the data to a Compute Engine persistent disk, and attach the disk in read-only mode to multiple Compute Engine virtual machine instances.
D. Move the data to a Compute Engine persistent disk, take a snapshot, create multiple disks from the snapshot, and attach each disk to its own instance.

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:

QUESTION 18
You are developing an HTTP API hosted on a Compute Engine virtual machine instance that needs to be invoked by multiple clients within the same Virtual Private
Cloud (VPC). You want clients to be able to get the IP address of the service.

What should you do?

A. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Clients should use this IP address to connect to the

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
service.
B. Reserve a static external IP address and assign it to an HTTP(S) load balancing service's forwarding rule. Then, define an A record in Cloud DNS. Clients should
use the name of the A record to connect to the service.
C. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[INSTANCE_NAME].[ZONE].c.
[PROJECT_ID].internal/.
D. Ensure that clients use Compute Engine internal DNS by connecting to the instance name with the url https://[API_NAME]/[API_VERSION]/.

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:

QUESTION 19
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.

Correct Answer: C
Section: (none)
Explanation

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

QUESTION 20
Your existing application keeps user state information in a single MySQL database. This state information is very user-specific and depends heavily on how long a
user has been using an application. The MySQL database is causing challenges to maintain and enhance the schema for various users.

Which storage option should you choose?

A. Cloud SQL
B. Cloud Storage

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
C. Cloud Spanner
D. Cloud Datastore/Firestore

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/solutions/migrating-mysql-to-cloudsql-concept

QUESTION 21
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. App Engine backed by Cloud Storage


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

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 22
Your company's development teams want to use Cloud Build in their projects to build and push Docker images to Container Registry. The operations team requires
all Docker images to be published to a centralized, securely managed Docker registry that the operations team manages.

What should you do?

A. Use Container Registry to create a registry in each development team's project. Configure the Cloud Build build to push the Docker image to the project's
registry. Grant the operations team access to each development team's registry.
B. Create a separate project for the operations team that has Container Registry configured. Assign appropriate permissions to the Cloud Build service account in
each developer team's project to allow access to the operation team's registry.
C. Create a separate project for the operations team that has Container Registry configured. Create a Service Account for each development team and assign the
appropriate permissions to allow it access to the operations team's registry. Store the service account key file in the source code repository and use it to
authenticate against the operations team's registry.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
D. Create a separate project for the operations team that has the open source Docker Registry deployed on a Compute Engine virtual machine instance. Create a
username and password for each development team. Store the username and password in the source code repository and use it to authenticate against the
operations team's Docker registry.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/container-registry/

QUESTION 23
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster. Your application can scale horizontally, and each instance of your
application needs to have a stable network identity and its own persistent disk.

Which GKE object should you use?

A. Deployment
B. StatefulSet
C. ReplicaSet
D. ReplicaController

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
Reference: https://livebook.manning.com/book/kubernetes-in-action/chapter-10/46

QUESTION 24
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?

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

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:

QUESTION 25
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 [email protected] service account.
C. Grant the [email protected] service account the roles/storage.objectCreator role for the Cloud Storage bucket.
D. Enable the Cloud Storage API in project B.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 26
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

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
• 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. Install the Stackdriver Monitoring agent on the VMs.
D. Use Stackdriver Trace to look for performance bottlenecks.

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:

QUESTION 27
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

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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.

Which service should HipLocal use to enable access to internal apps?

A. Cloud VPN

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
B. Cloud Armor
C. Virtual Private Cloud
D. Cloud Identity-Aware Proxy

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/iap/docs/cloud-iap-for-on-prem-apps-overview

QUESTION 28
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

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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 Google App Engine services.


B. Use serverless Google Cloud Functions.
C. Use Knative to build and deploy serverless applications.
D. Use Google Kubernetes Engine for automated deployments.
E. Use a large Google Compute Engine cluster for deployments.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Correct Answer: BC
Section: (none)
Explanation

Explanation/Reference:

QUESTION 29
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

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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 improve the resilience of their MySQL deployment, while also meeting their business and technical requirements.

Which configuration should they choose?

A. Use the current single instance MySQL on Compute Engine and several read-only MySQL servers on Compute Engine.
B. Use the current single instance MySQL on Compute Engine, and replicate the data to Cloud SQL in an external master configuration.
C. Replace the current single instance MySQL instance with Cloud SQL, and configure high availability.
D. Replace the current single instance MySQL instance with Cloud SQL, and Google provides redundancy without further configuration.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
QUESTION 30
You are using Cloud Build to create a new Docker image on each source code commit to a Cloud Source Repositories repository. Your application is built on every
commit to the master branch. You want to release specific commits made to the master branch in an automated method.

What should you do?

A. Manually trigger the build for new releases.


B. Create a build trigger on a Git tag pattern. Use a Git tag convention for new releases.
C. Create a build trigger on a Git branch name pattern. Use a Git branch naming convention for new releases.
D. Commit your source code to a second Cloud Source Repositories repository with a second Cloud Build trigger. Use this repository for new releases only.

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:
Reference: https://docs.docker.com/docker-hub/builds/

QUESTION 31
You are running an application on App Engine that you inherited. You want to find out whether the application is using insecure binaries or is vulnerable to XSS
attacks.

Which service should you use?

A. Cloud Amor
B. Stackdriver Debugger
C. Cloud Security Scanner
D. Stackdriver Error Reporting

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/security-scanner

QUESTION 32
You are working on a social media application. You plan to add a feature that allows users to upload images. These images will be 2 MB – 1 GB in size. You want to
minimize their infrastructure operations overhead for this feature.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
What should you do?

A. Change the application to accept images directly and store them in the database that stores other user information.
B. Change the application to create signed URLs for Cloud Storage. Transfer these signed URLs to the client application to upload images to Cloud Storage.
C. Set up a web server on GCP to accept user images and create a file store to keep uploaded files. Change the application to retrieve images from the file store.
D. Create a separate bucket for each user in Cloud Storage. Assign a separate service account to allow write access on each bucket. Transfer service account
credentials to the client application based on user information. The application uses this service account to upload images to Cloud Storage.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/blog/products/storage-data-transfer/uploading-images-directly-to-cloud-storage-by-using-signed-url

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

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:

QUESTION 34
Your company has a data warehouse that keeps your application information in BigQuery. The BigQuery data warehouse keeps 2 PBs of user data. Recently, your
company expanded your user base to include EU users and needs to comply with these requirements:

Your company must be able to delete all user account information upon user request.
All EU user data must be stored in a single region specifically for EU users.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Which two actions should you take? (Choose two.)

A. Use BigQuery federated queries to query data from Cloud Storage.


B. Create a dataset in the EU region that will keep information about EU users only.
C. Create a Cloud Storage bucket in the EU region to store information for EU users only.
D. Re-upload your data using to a Cloud Dataflow pipeline by filtering your user records out.
E. Use DML statements in BigQuery to update/delete user records based on their requests.

Correct Answer: CE
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/solutions/bigquery-data-warehouse

QUESTION 35
Your analytics system executes queries against a BigQuery dataset. The SQL query is executed in batch and passes the contents of a SQL file to the BigQuery CLI.
Then it redirects the BigQuery CLI output to another process. However, you are getting a permission error from the BigQuery CLI when the queries are executed.

You want to resolve the issue. What should you do?

A. Grant the service account BigQuery Data Viewer and BigQuery Job User roles.
B. Grant the service account BigQuery Data Editor and BigQuery Data Viewer roles.
C. Create a view in BigQuery from the SQL query and SELECT* from the view in the CLI.
D. Create a new dataset in BigQuery, and copy the source table to the new dataset Query the new dataset and table from the CLI.

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 36
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 of the instance group autoscaler.

Which two configuration changes should you make? (Choose two.)

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
A. Add the label “AUTOSCALE” to the instance group template.
B. Decrease the cool-down period for instances added to the group.
C. Increase the target CPU usage for the instance group autoscaler.
D. Decrease the target CPU usage for the instance group autoscaler.
E. Remove the health-check for individual VMs in the instance group.

Correct Answer: AC
Section: (none)
Explanation

Explanation/Reference:

QUESTION 37
You have an application controlled by a managed instance group. When you deploy a new version of the application, costs should be minimized and the number of
instances should not increase. You want to ensure that, when each new instance is created, the deployment only continues if the new instance is healthy.

What should you do?

A. Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.


B. Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
C. Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
D. Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.

Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups

QUESTION 38
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. gsutil test –o output.json gs://my-bucket

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
B. gsutil perfdiag –o output.json gs://my-bucket
C. gcloud compute scp example-instance:~/test-data –o output.json gs://my-bucket
D. gcloud services test –o output.json gs://my-bucket

Correct Answer: B
Section: (none)
Explanation

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

QUESTION 39
Your company has created an application that uploads a report to a Cloud Storage bucket. When the report is uploaded to the bucket, you want to publish a
message to a Cloud Pub/Sub topic. You want to implement a solution that will take a small amount to effort to implement.

What should you do?

A. Configure the Cloud Storage bucket to trigger Cloud Pub/Sub notifications when objects are modified.
B. Create an App Engine application to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.
C. Create a Cloud Function that is triggered by the Cloud Storage bucket. In the Cloud Function, publish a message to the Cloud Pub/Sub topic.
D. Create an application deployed in a Google Kubernetes Engine cluster to receive the file; when it is received, publish a message to the Cloud Pub/Sub topic.

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:
Reference: https://cloud.google.com/storage/docs/pubsub-notifications

QUESTION 40
Your company stores their source code in a Cloud Source Repositories repository. Your company wants to build and test their code on each source code commit to
the repository and requires a solution that is managed and has minimal operations overhead.

Which method should they use?

A. Use Cloud Build with a trigger configured for each source code commit.
B. Use Jenkins deployed via the Google Cloud Platform Marketplace, configured to watch for source code commits.
C. Use a Compute Engine virtual machine instance with an open source continuous integration tool, configured to watch for source code commits.
D. Use a source code commit trigger to push a message to a Cloud Pub/Sub topic that triggers an App Engine service to build the source code.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Correct Answer: A
Section: (none)
Explanation

Explanation/Reference:

QUESTION 41
You are writing a Compute Engine hosted application in project A that needs to securely authenticate to a Cloud Pub/Sub topic in project B.

What should you do?

A. Configure the instances with a service account owned by project B. Add the service account as a Cloud Pub/Sub publisher to project A.
B. Configure the instances with a service account owned by project A. Add the service account as a publisher on the topic.
C. Configure Application Default Credentials to use the private key of a service account owned by project B. Add the service account as a Cloud Pub/Sub publisher
to project A.
D. Configure Application Default Credentials to use the private key of a service account owned by project A. Add the service account as a publisher on the topic

Correct Answer: B
Section: (none)
Explanation

Explanation/Reference:

QUESTION 42
You are developing a corporate tool on Compute Engine for the finance department, which needs to authenticate users and verify that they are in the finance
department. All company employees use G Suite.

What should you do?

A. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Verify the
provided JSON Web Token within the application.
B. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Issue client-
side certificates to everybody in the finance team and verify the certificates in the application.
C. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Verify the provided JSON Web Token within the application.
D. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Issue client side certificates to everybody in the finance team and
verify the certificates in the application.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:

QUESTION 43
Your API backend is running on multiple cloud providers. You want to generate reports for the network latency of your API.

Which two steps should you take? (Choose two.)

A. Use Zipkin collector to gather data.


B. Use Fluentd agent to gather data.
C. Use Stackdriver Trace to generate reports.
D. Use Stackdriver Debugger to generate report.
E. Use Stackdriver Profiler to generate report.

Correct Answer: CE
Section: (none)
Explanation

Explanation/Reference:

QUESTION 44
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

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
• Provide authorized access to internal apps in a secure manner.

Which database should HipLocal use for storing user activity?

A. BigQuery
B. Cloud SQL
C. Cloud Spanner
D. Cloud Datastore

Correct Answer: C
Section: (none)
Explanation

Explanation/Reference:

QUESTION 45
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.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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 data science team wants to analyze user reviews.

How should they prepare the data?

A. Use the Cloud Data Loss Prevention API for redaction of the review dataset.

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
B. Use the Cloud Data Loss Prevention API for de-identification of the review dataset.
C. Use the Cloud Natural Language Processing API for redaction of the review dataset.
D. Use the Cloud Natural Language Processing API for de-identification of the review dataset.

Correct Answer: D
Section: (none)
Explanation

Explanation/Reference:

QUESTION 46
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

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
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.

In order for HipLocal to store application state and meet their stated business requirements, which database service should they migrate to?

A. Cloud Spanner
B. Cloud Datastore
C. Cloud Memorystore as a cache
D. Separate Cloud SQL clusters for each region

Correct Answer: A
Section: (none)
Explanation

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2
Explanation/Reference:

https://www.gratisexam.com/

https://www.gratisexam.com/
885CB989129A5F974833949052CFB2F2

You might also like