ExamGecko
Home Home / Google / Professional Cloud Architect

Google Professional Cloud Architect Practice Test - Questions Answers, Page 6

Question list
Search
Search

List of questions

Search

Related questions











Your company plans to migrate a multi-petabyte data set to the cloud. The data set must be available 24hrs a day. Your business analysts have experience only with using a SQL interface.

How should you store the data to optimize it for ease of analysis?

A.
Load data into Google BigQuery
A.
Load data into Google BigQuery
Answers
B.
Insert data into Google Cloud SQL
B.
Insert data into Google Cloud SQL
Answers
C.
Put flat files into Google Cloud Storage
C.
Put flat files into Google Cloud Storage
Answers
D.
Stream data into Google Cloud Datastore
D.
Stream data into Google Cloud Datastore
Answers
Suggested answer: A

Explanation:

BigQuery is Google's serverless, highly scalable, low cost enterprise data warehouse designed to make all your data analysts productive. Because there is no infrastructure to manage, you can focus on analyzing data to find meaningful insights using familiar SQL and you don't need a database administrator.

BigQuery enables you to analyze all your data by creating a logical data warehouse over managed, columnar storage as well as data from object storage, and spreadsheets. References: https://cloud.google.com/bigquery/

The operations manager asks you for a list of recommended practices that she should consider when migrating a J2EE application to the cloud.

Which three practices should you recommend? Choose 3 answers.

A.
Port the application code to run on Google App Engine
A.
Port the application code to run on Google App Engine
Answers
B.
Integrate Cloud Dataflow into the application to capture real-time metrics
B.
Integrate Cloud Dataflow into the application to capture real-time metrics
Answers
C.
Instrument the application with a monitoring tool like Stackdriver Debugger
C.
Instrument the application with a monitoring tool like Stackdriver Debugger
Answers
D.
Select an automation framework to reliably provision the cloud infrastructure
D.
Select an automation framework to reliably provision the cloud infrastructure
Answers
E.
Deploy a continuous integration tool with automated testing in a staging environment
E.
Deploy a continuous integration tool with automated testing in a staging environment
Answers
F.
Migrate from MySQL to a managed NoSQL database like Google Cloud Datastore or Bigtable
F.
Migrate from MySQL to a managed NoSQL database like Google Cloud Datastore or Bigtable
Answers
Suggested answer: A, D, E

Explanation:

References: https://cloud.google.com/appengine/docs/standard/java/tools/uploadinganapp

https://cloud.google.com/appengine/docs/standard/java/building-app/cloud-sql

A news feed web service has the following code running on Google App Engine. During peak load, users report that they can see news articles they already viewed.

What is the most likely cause of this problem?

A.
The session variable is local to just a single instance
A.
The session variable is local to just a single instance
Answers
B.
The session variable is being overwritten in Cloud Datastore
B.
The session variable is being overwritten in Cloud Datastore
Answers
C.
The URL of the API needs to be modified to prevent caching
C.
The URL of the API needs to be modified to prevent caching
Answers
D.
The HTTP Expires header needs to be set to -1 stop caching
D.
The HTTP Expires header needs to be set to -1 stop caching
Answers
Suggested answer: A

An application development team believes their current logging tool will not meet their needs for their new cloud-based product. They want a better tool to capture errors and help them analyze their historical log data. You want to help them find a solution that meets their needs.

What should you do?

A.
Direct them to download and install the Google StackDriver logging agent
A.
Direct them to download and install the Google StackDriver logging agent
Answers
B.
Send them a list of online resources about logging best practices
B.
Send them a list of online resources about logging best practices
Answers
C.
Help them define their requirements and assess viable logging tools
C.
Help them define their requirements and assess viable logging tools
Answers
D.
Help them upgrade their current tool to take advantage of any new features
D.
Help them upgrade their current tool to take advantage of any new features
Answers
Suggested answer: C

You need to reduce the number of unplanned rollbacks of erroneous production deployments in your company's web hosting platform. Improvement to the QA/Test processes accomplished an 80% reduction.

Which additional two approaches can you take to further reduce the rollbacks? Choose 2 answers.

A.
Introduce a green-blue deployment model
A.
Introduce a green-blue deployment model
Answers
B.
Replace the QA environment with canary releases
B.
Replace the QA environment with canary releases
Answers
C.
Fragment the monolithic platform into microservices
C.
Fragment the monolithic platform into microservices
Answers
D.
Reduce the platform's dependency on relational database systems
D.
Reduce the platform's dependency on relational database systems
Answers
E.
Replace the platform's relational database systems with a NoSQL database
E.
Replace the platform's relational database systems with a NoSQL database
Answers
Suggested answer: A, C

To reduce costs, the Director of Engineering has required all developers to move their development infrastructure resources from on-premises virtual machines (VMs) to Google Cloud Platform. These resources go through multiple start/ stop events during the day and require state to persist. You have been asked to design the process of running a development environment in Google Cloud while providing cost visibility to the finance department.

Which two steps should you take? Choose 2 answers.

A.
Use the - -no-auto-delete flag on all persistent disks and stop the VM
A.
Use the - -no-auto-delete flag on all persistent disks and stop the VM
Answers
B.
Use the - -auto-delete flag on all persistent disks and terminate the VM
B.
Use the - -auto-delete flag on all persistent disks and terminate the VM
Answers
C.
Apply VM CPU utilization label and include it in the BigQuery billing export
C.
Apply VM CPU utilization label and include it in the BigQuery billing export
Answers
D.
Use Google BigQuery billing export and labels to associate cost to groups
D.
Use Google BigQuery billing export and labels to associate cost to groups
Answers
E.
Store all state into local SSD, snapshot the persistent disks, and terminate the VM
E.
Store all state into local SSD, snapshot the persistent disks, and terminate the VM
Answers
F.
Store all state in Google Cloud Storage, snapshot the persistent disks, and terminate the VM
F.
Store all state in Google Cloud Storage, snapshot the persistent disks, and terminate the VM
Answers
Suggested answer: A, D

Your company wants to track whether someone is present in a meeting room reserved for a scheduled meeting. There are 1000 meeting rooms across 5 offices on 3 continents. Each room is equipped with a motion sensor that reports its status every second. The data from the motion detector includes only a sensor ID and several different discrete items of information. Analysts will use this data, together with information about account owners and office locations.

Which database type should you use?

A.
Flat file
A.
Flat file
Answers
B.
NoSQL
B.
NoSQL
Answers
C.
Relational
C.
Relational
Answers
D.
Blobstore
D.
Blobstore
Answers
Suggested answer: B

Explanation:

Relational databases were not designed to cope with the scale and agility challenges that face modern applications, nor were they built to take advantage of the commodity storage and processing power available today. NoSQL fits well for:

Developers are working with applications that create massive volumes of new, rapidly changing data types "" structured, semi-structured, unstructured and polymorphic data.

Incorrect Answers:

D: The Blobstore API allows your application to serve data objects, called blobs, that are much larger than the size allowed for objects in the Datastore service. Blobs are useful for serving large files, such as video or image files, and for allowing users to upload large data files.

References: https://www.mongodb.com/nosql-explained

You set up an autoscaling instance group to serve web traffic for an upcoming launch. After configuring the instance group as a backend service to an HTTP(S) load balancer, you notice that virtual machine (VM) instances are being terminated and re-launched every minute. The instances do not have a public IP address. You have verified the appropriate web response is coming from each instance using the curl command. You want to ensure the backend is configured correctly.

What should you do?

A.
Ensure that a firewall rules exists to allow source traffic on HTTP/HTTPS to reach the load balancer.
A.
Ensure that a firewall rules exists to allow source traffic on HTTP/HTTPS to reach the load balancer.
Answers
B.
Assign a public IP to each instance and configure a firewall rule to allow the load balancer to reach the instance public IP.
B.
Assign a public IP to each instance and configure a firewall rule to allow the load balancer to reach the instance public IP.
Answers
C.
Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.
C.
Ensure that a firewall rule exists to allow load balancer health checks to reach the instances in the instance group.
Answers
D.
Create a tag on each instance with the name of the load balancer. Configure a firewall rule with the name of the load balancer as the source and the instance tag as the destination.
D.
Create a tag on each instance with the name of the load balancer. Configure a firewall rule with the name of the load balancer as the source and the instance tag as the destination.
Answers
Suggested answer: C

Explanation:

The best practice when configuration a health check is to check health and serve traffic on the same port. However, it is possible to perform health checks on one port, but serve traffic on another. If you do use two different ports, ensure that firewall rules and services running on instances are configured appropriately. If you run health checks and serve traffic on the same port, but decide to switch ports at some point, be sure to update both the backend service and the health check.

Backend services that do not have a valid global forwarding rule referencing it will not be health checked and will have no health status.

References: https://cloud.google.com/compute/docs/load-balancing/http/backend-service

You write a Python script to connect to Google BigQuery from a Google Compute Engine virtual machine. The script is printing errors that it cannot connect to BigQuery.

What should you do to fix the script?

A.
Install the latest BigQuery API client library for Python
A.
Install the latest BigQuery API client library for Python
Answers
B.
Run your script on a new virtual machine with the BigQuery access scope enabled
B.
Run your script on a new virtual machine with the BigQuery access scope enabled
Answers
C.
Create a new service account with BigQuery access and execute your script with that user
C.
Create a new service account with BigQuery access and execute your script with that user
Answers
D.
Install the bq component for gcloud with the command gcloud components install bq.
D.
Install the bq component for gcloud with the command gcloud components install bq.
Answers
Suggested answer: B

Your customer is moving an existing corporate application to Google Cloud Platform from an on-premises data center. The business owners require minimal user disruption. There are strict security team requirements for storing passwords.

What authentication strategy should they use?

A.
Use G Suite Password Sync to replicate passwords into Google
A.
Use G Suite Password Sync to replicate passwords into Google
Answers
B.
Federate authentication via SAML 2.0 to the existing Identity Provider
B.
Federate authentication via SAML 2.0 to the existing Identity Provider
Answers
C.
Provision users in Google using the Google Cloud Directory Sync tool
C.
Provision users in Google using the Google Cloud Directory Sync tool
Answers
D.
Ask users to set their Google password to match their corporate password
D.
Ask users to set their Google password to match their corporate password
Answers
Suggested answer: C

Explanation:

Provision users to Google's directory

The global Directory is available to both Cloud Platform and G Suite resources and can be provisioned by a number of means. Provisioned users can take advantage of rich authentication features including single sign-on (SSO), OAuth, and two-factor verification.

You can provision users automatically using one of the following tools and services:

Google Cloud Directory Sync (GCDS)

Google Admin SDK

A third-party connector

GCDS is a connector that can provision users and groups on your behalf for both Cloud Platform and G Suite. Using GCDS, you can automate the addition, modification, and deletion of users, groups, and non-employee contacts. You can synchronize the data from your LDAP directory server to your Cloud Platform domain by using LDAP queries. This synchronization is one-way: the data in your LDAP directory server is never modified.

References: https://cloud.google.com/docs/enterprise/best-practices-for-enterprise-organizations#authentication-and-identity

Total 285 questions
Go to page: of 29