NEW
Font size
S
M
L
XL
WorksheetsGoogle Professional Architect 5 - 81 to 100
Total questions: 20
Worksheet time: 20mins
Name
Class
Date
1.
Your company operates nationally and plans to use GCP for multiple batch workloads, including some that are not time-critical. You also need to use GCP services that are HIPAA-certified and manage service costs.
How should you design to meet Google best practices?
a)
Provision preemptible VMs to reduce cost. Discontinue use of all GCP services and APIs that are not HIPAA-compliant.
b)
Provision preemptible VMs to reduce cost. Disable and then discontinue use of all GCP services and APIs that are not HIPAA-compliant.
c)
Provision standard VMs in the same region to reduce cost. Discontinue use of all GCP services and APIs that are not HIPAA-compliant.
d)
Provision standard VMs to the same region to reduce cost. Disable and then discontinue use of all GCP services and APIs that are not HIPAA-compliant.
2.
Your customer wants to do resilience testing of their authentication layer. This consists of a regional managed instance group serving a public REST API that reads from and writes to a Cloud SQL instance.
What should you do?
a)
Engage with a security company to run web scrapers that look your for users' authentication data om malicious websites and notify you if any is found.
b)
Deploy intrusion detection software to your virtual machines to detect and log unauthorized access.
c)
Schedule a disaster simulation exercise during which you can shut off all VMs in a zone to see how your application behaves.
d)
Configure a read replica for your Cloud SQL instance in a different zone than the master, and then manually trigger a failover while monitoring KPIs for our REST API.
3.
Your BigQuery project has several users. For audit purposes, you need to see how many queries each user ran in the last month. What should you do?
a)
Connect Google Data Studio to BigQuery. Create a dimension for the users and a metric for the amount of queries per user.
b)
In the BigQuery interface, execute a query on the JOBS table to get the required information.
c)
Use 'bq show' to list all jobs. Per job, use 'bq ls' to list job information and get the required information.
d)
Use Cloud Audit Logging to view Cloud Audit Logs, and create a filter on the query operation to get the required information.
4.
You want to automate the creation of a managed instance group. The VMs have many OS package dependencies. You want to minimize the startup time for new
VMs in the instance group.
What should you do?
a)
Use Terraform to create the managed instance group and a startup script to install the OS package dependencies.
b)
Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
c)
Use Puppet to create the managed instance group and install the OS package dependencies.
d)
Use Deployment Manager to create the managed instance group and Ansible to install the OS package dependencies.
5.
Your company captures all web traffic data in Google Analytics 360 and stores it in BigQuery. Each country has its own dataset. Each dataset has multiple tables.
You want analysts from each country to be able to see and query only the data for their respective countries.
How should you configure the access rights?
a)
Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery jobUser. Share the appropriate dataset with view access with each respective analyst country-group.
b)
Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery jobUser. Share the appropriate tables with view access with each respective analyst country-group.
c)
Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery dataViewer. Share the appropriate dataset with view access with each respective analyst country- group.
d)
Create a group per country. Add analysts to their respective country-groups. Create a single group 'all_analysts', and add all country-groups as members. Grant the 'all_analysts' group the IAM role of BigQuery dataViewer. Share the appropriate table with view access with each respective analyst country-group.
6.
You have been engaged by your client to lead the migration of their application infrastructure to GCP. One of their current problems is that the on-premises high performance SAN is requiring frequent and expensive upgrades to keep up with the variety of workloads that are identified as follows: 20 TB of log archives retained for legal reasons; 500 GB of VM boot/data volumes and templates; 500 GB of image thumbnails; 200 GB of customer session state data that allows customers to restart sessions even if off-line for several days.
Which of the following best reflects your recommendations for a cost-effective storage allocation?
a)
Local SSD for customer session state data. Lifecycle-managed Cloud Storage for log archives, thumbnails, and VM boot/data volumes.
b)
Memcache backed by Cloud Datastore for the customer session state data. Lifecycle-managed Cloud Storage for log archives, thumbnails, and VM boot/data volumes.
c)
Memcache backed by Cloud SQL for customer session state data. Assorted local SSD-backed instances for VM boot/data volumes. Cloud Storage for log archives and thumbnails.
d)
Memcache backed by Persistent Disk SSD storage for customer session state data. Assorted local SSD-backed instances for VM boot/data volumes. Cloud Storage for log archives and thumbnails.
7.
Your web application uses Google Kubernetes Engine to manage several workloads. One workload requires a consistent set of hostnames even after pod scaling and relaunches.
Which feature of Kubernetes should you use to accomplish this?
a)
StatefulSets
b)
Role-based access control
c)
Container environment variables
d)
Persistent Volumes
8.
You are using Cloud CDN to deliver static HTTP(S) website content hosted on a Compute Engine instance group. You want to improve the cache hit ratio.
What should you do?
a)
Customize the cache keys to omit the protocol from the key.
b)
Shorten the expiration time of the cached objects.
c)
Make sure the HTTP(S) header "Cache-Region" points to the closest region of your users.
d)
Replicate the static content in a Cloud Storage bucket. Point CloudCDN toward a load balancer on that bucket.
9.
Your architecture calls for the centralized collection of all admin activity and VM system logs within your project.
How should you collect these logs from both VMs and services?
a)
All admin and VM system logs are automatically collected by Stackdriver.
b)
Stackdriver automatically collects admin activity logs for most services. The Stackdriver Logging agent must be installed on each instance to collect system logs.
c)
Launch a custom syslogd compute instance and configure your GCP project and VMs to forward all logs to it.
d)
Install the Stackdriver Logging agent on a single compute instance and let it collect all audit and access logs for your environment.
10.
You have an App Engine application that needs to be updated. You want to test the update with production traffic before replacing the current application version.
What should you do?
a)
Deploy the update using the Instance Group Updater to create a partial rollout, which allows for canary testing.
b)
Deploy the update as a new version in the App Engine application, and split traffic between the new and current versions.
c)
Deploy the update in a new VPC, and use Google's global HTTP load balancing to split traffic between the update and current applications.
d)
Deploy the update as a new App Engine application, and use Google's global HTTP load balancing to split traffic between the new and current applications.
11.
All Compute Engine instances in your VPC should be able to connect to an Active Directory server on specific ports. Any other traffic emerging from your instances is not allowed. You want to enforce this using VPC firewall rules.
How should you configure the firewall rules?
a)
Create an egress rule with priority 1000 to deny all traffic for all instances. Create another egress rule with priority 100 to allow the Active Directory traffic for all instances.
b)
Create an egress rule with priority 100 to deny all traffic for all instances. Create another egress rule with priority 1000 to allow the Active Directory traffic for all instances.
c)
Create an egress rule with priority 1000 to allow the Active Directory traffic. Rely on the implied deny egress rule with priority 100 to block all traffic for all instances.
d)
Create an egress rule with priority 100 to allow the Active Directory traffic. Rely on the implied deny egress rule with priority 1000 to block all traffic for all instances.
12.
Your customer runs a web service used by e-commerce sites to offer product recommendations to users. The company has begun experimenting with a machine learning model on Google Cloud Platform to improve the quality of results.
What should the customer do to improve their model's results over time?
a)
Export Cloud Machine Learning Engine performance metrics from Stackdriver to BigQuery, to be used to analyze the efficiency of the model.
b)
Build a roadmap to move the machine learning model training from Cloud GPUs to Cloud TPUs, which offer better results.
c)
Monitor Compute Engine announcements for availability of newer CPU architectures, and deploy the model to them as soon as they are available for additional performance.
d)
Save a history of recommendations and results of the recommendations in BigQuery, to be used as training data.
13.
A development team at your company has created a dockerized HTTPS web application. You need to deploy the application on Google Kubernetes Engine (GKE) and make sure that the application scales automatically.
How should you deploy to GKE?
a)
Use the Horizontal Pod Autoscaler and enable cluster autoscaling. Use an Ingress resource to load-balance the HTTPS traffic.
b)
Use the Horizontal Pod Autoscaler and enable cluster autoscaling on the Kubernetes cluster. Use a Service resource of type LoadBalancer to load-balance the HTTPS traffic.
c)
Enable autoscaling on the Compute Engine instance group. Use an Ingress resource to load-balance the HTTPS traffic.
d)
Enable autoscaling on the Compute Engine instance group. Use a Service resource of type LoadBalancer to load-balance the HTTPS traffic.
14.
You need to design a solution for global load balancing based on the URL path being requested. You need to ensure operations reliability and end-to-end in- transit encryption based on Google best practices.
What should you do?
a)
Create a cross-region load balancer with URL Maps.
b)
Create an HTTPS load balancer with URL Maps.
c)
Create appropriate instance groups and instances. Configure SSL proxy load balancing.
d)
Create a global forwarding rule. Configure SSL proxy load balancing.
15.
You have an application that makes HTTP requests to Cloud Storage. Occasionally the requests fail with HTTP status codes of 5xx and 429.
How should you handle these types of errors?
a)
Use gRPC instead of HTTP for better performance.
b)
Implement retry logic using a truncated exponential backoff strategy.
c)
Make sure the Cloud Storage bucket is multi-regional for geo-redundancy.
d)
Monitor https://status.cloud.google.com/feed.atom and only make requests if Cloud Storage is not reporting an incident.
16.
You need to develop procedures to test a disaster plan for a mission-critical application. You want to use Google-recommended practices and native capabilities within GCP.
What should you do?
a)
Use Deployment Manager to automate service provisioning. Use Activity Logs to monitor and debug your tests.
b)
Use Deployment Manager to automate service provisioning. Use Stackdriver to monitor and debug your tests.
c)
Use gcloud scripts to automate service provisioning. Use Activity Logs to monitor and debug your tests.
d)
Use gcloud scripts to automate service provisioning. Use Stackdriver to monitor and debug your tests.
17.
Your company creates rendering software which users can download from the company website. Your company has customers all over the world. You want to minimize latency for all your customers. You want to follow Google-recommended practices.
How should you store the files?
a)
Save the files in a Multi-Regional Cloud Storage bucket.
b)
Save the files in a Regional Cloud Storage bucket, one bucket per zone of the region.
c)
Save the files in multiple Regional Cloud Storage buckets, one bucket per zone per region.
d)
Save the files in multiple Multi-Regional Cloud Storage buckets, one bucket per multi-region.
18.
Your company acquired a healthcare startup and must retain its customers' medical information for up to 4 more years, depending on when it was created. Your corporate policy is to securely retain this data, and then delete it as soon as regulations allow.
Which approach should you take?
a)
Store the data in Google Drive and manually delete records as they expire.
b)
Anonymize the data using the Cloud Data Loss Prevention API and store it indefinitely.
c)
Store the data in Cloud Storage and use lifecycle management to delete files when they expire.
d)
Store the data in Cloud Storage and run a nightly batch script that deletes all expired data.
19.
You are deploying a PHP App Engine Standard service with Cloud SQL as the backend. You want to minimize the number of queries to the database.
What should you do?
a)
Set the memcache service level to dedicated. Create a key from the hash of the query, and return database values from memcache before issuing a query to Cloud SQL.
b)
Set the memcache service level to dedicated. Create a cron task that runs every minute to populate the cache with keys containing query results.
c)
Set the memcache service level to shared. Create a cron task that runs every minute to save all expected queries to a key called "cached_queries".
d)
Set the memcache service level to shared. Create a key called "cached_queries", and return database values from the key before using a query to Cloud SQL.
20.
You need to ensure reliability for your application and operations by supporting reliable task scheduling for compute on GCP. Leveraging Google best practices, what should you do?
a)
Using the Cron service provided by App Engine, publish messages directly to a message-processing utility service running on Compute Engine instances.
b)
Using the Cron service provided by App Engine, publish messages to a Cloud Pub/Sub topic. Subscribe to that topic using a message-processing utility service running on Compute Engine instances.
c)
Using the Cron service provided by Google Kubernetes Engine (GKE), publish messages directly to a message-processing utility service running on Compute Engine instances.
d)
Using the Cron service provided by GKE, publish messages to a Cloud Pub/Sub topic. Subscribe to that topic using a message-processing utility service running on Compute Engine instances.
Reset
