Quiz
Google Cloud Professional Cloud Architect PT 5
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (19)
1You have deployed an application to Google Kubernetes Engine (GKE), and are using the Cloud SQL proxy container to make the Cloud SQL database available to the services running on Kubernetes. You are notified that the application is reporting database connection issues. Your company policies require a post- mortem. What should you do?
- AA. Use gcloud sql instances restart.
- BB. Validate that the Service Account used by the Cloud SQL proxy container still has the Cloud Build Editor role.
- CC. In the GCP Console, navigate to Stackdriver Logging. Consult logs for (GKE) and Cloud SQL.
- DD. In the GCP Console, navigate to Cloud SQL. Restore the latest backup. Use kubectl to restart all pods.
2Your company pushes batches of sensitive transaction data from its application server VMs to Cloud Pub/Sub for processing and storage. What is the Google- recommended way for your application to authenticate to the required Google Cloud services?
- AA. Ensure that VM service accounts are granted the appropriate Cloud Pub/Sub IAM roles.
- BB. Ensure that VM service accounts do not have access to Cloud Pub/Sub, and use VM access scopes to grant the appropriate Cloud Pub/Sub IAM roles.
- CC. Generate an OAuth2 access token for accessing Cloud Pub/Sub, encrypt it, and store it in Cloud Storage for access from each VM.
- DD. Create a gateway to Cloud Pub/Sub using a Cloud Function, and grant the Cloud Function service account the appropriate Cloud Pub/Sub IAM roles.
3You want to establish a Compute Engine application in a single VPC across two regions. The application must communicate over VPN to an on-premises network.
How should you deploy the VPN?- AA. Use VPC Network Peering between the VPC and the on-premises network.
- BB. Expose the VPC to the on-premises network using IAM and VPC Sharing.
- CC. Create a global Cloud VPN Gateway with VPN tunnels from each region to the on-premises peer gateway.
- DD. Deploy Cloud VPN Gateway in each region. Ensure that each region has at least one VPN tunnel to the onpremises peer gateway.
4You want your Google Kubernetes Engine cluster to automatically add or remove nodes based on CPU load.
What should you do?- AA. Configure a HorizontalPodAutoscaler with a target CPU usage. Enable the Cluster Autoscaler from the GCP Console.
- BB. Configure a HorizontalPodAutoscaler with a target CPU usage. Enable autoscaling on the managed instance group for the cluster using the gcloud command.
- CC. Create a deployment and set the maxUnavailable and maxSurge properties. Enable the Cluster Autoscaler using the gcloud command.
- DD. Create a deployment and set the maxUnavailable and maxSurge properties. Enable autoscaling on the cluster managed instance group from the GCP Console.
5You need to develop procedures to verify resilience of disaster recovery for remote recovery using GCP. Your production environment is hosted on-premises. You need to establish a secure, redundant connection between your on-premises network and the GCP network.
What should you do?- AA. Verify that Dedicated Interconnect can replicate files to GCP. Verify that direct peering can establish a secure connection between your networks if Dedicated Interconnect fails.
- BB. Verify that Dedicated Interconnect can replicate files to GCP. Verify that Cloud VPN can establish a secure connection between your networks if Dedicated Interconnect fails.
- CC. Verify that the Transfer Appliance can replicate files to GCP. Verify that direct peering can establish a secure connection between your networks if the Transfer Appliance fails.
- DD. Verify that the Transfer Appliance can replicate files to GCP. Verify that Cloud VPN can establish a secure connection between your networks if the Transfer Appliance fails.
6Your 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?
- AA. Provision preemptible VMs to reduce cost. Discontinue use of all GCP services and APIs that are not HIPAAcompliant.
- BB. Provision preemptible VMs to reduce cost. Disable and then discontinue use of all GCP services and APIs that are not HIPAA-compliant.
- CC. Provision standard VMs in the same region to reduce cost. Discontinue use of all GCP services and APIs that are not HIPAA-compliant.
- DD. 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.
7Your 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?
- AA. Engage with a security company to run web scrapers that look your for users' authentication data on malicious websites and notify you if any is found.
- BB. Deploy intrusion detection software to your virtual machines to detect and log unauthorized access.
- CC. Schedule a disaster simulation exercise during which you can shut off all VMs in a zone to see how your application behaves.
- DD. 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.
8Your 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?
- AA. Connect Google Data Studio to BigQuery. Create a dimension for the users and a metric for the amount ofqueries per user.
- BB. In the BigQuery interface, execute a query on the JOBS table to get the required information.
- CC. Use 'bq show' to list all jobs. Per job, use 'bq ls' to list job information and get the required information.
- DD. Use Cloud Audit Logging to view Cloud Audit Logs, and create a filter on the query operation to get the required information.
9You 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?- AA. Use Terraform to create the managed instance group and a startup script to install the OS package dependencies.
- BB. Create a custom VM image with all OS package dependencies. Use Deployment Manager to create the managed instance group with the VM image.
- CC. Use Puppet to create the managed instance group and install the OS package dependencies.
- DD. Use Deployment Manager to create the managed instance group and Ansible to install the OS package dependencies.
10Your 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?- AA. 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.
- BB. 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.
- CC. 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.
- DD. 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.
11You 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?- AA. Local SSD for customer session state data. Lifecycle-managed Cloud Storage for log archives, thumbnails, and VM boot/data volumes.
- BB. Memcache backed by Cloud Datastore for the customer session state data. Lifecycle-managed Cloud Storage for log archives, thumbnails, and VM boot/data volumes.
- CC. 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.
- DD. Memcache backed by Persistent Disk SSD storage for customer session state data. Assorted local SSDbacked instances for VM boot/data volumes. Cloud Storage for log archives and thumbnails.
12Your 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?- AA. StatefulSets
- BB. Role-based access control
- CC. Container environment variables
- DD. Persistent Volumes
13You 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?- AA. Customize the cache keys to omit the protocol from the key.
- BB. Shorten the expiration time of the cached objects.
- CC. Make sure the HTTP(S) header Cache-Region points to the closest region of your users.
- DD. Replicate the static content in a Cloud Storage bucket. Point CloudCDN toward a load balancer on that bucket.
14Your 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?- AA. All admin and VM system logs are automatically collected by Stackdriver.
- BB. Stackdriver automatically collects admin activity logs for most services. The Stackdriver Logging agent must be installed on each instance to collect system logs.
- CC. Launch a custom syslogd compute instance and configure your GCP project and VMs to forward all logs to it.
- DD. Install the Stackdriver Logging agent on a single compute instance and let it collect all audit and access logs for your environment.
15You 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?- AA. Deploy the update using the Instance Group Updater to create a partial rollout, which allows for canary testing.
- BB. Deploy the update as a new version in the App Engine application, and split traffic between the new and current versions.
- CC. Deploy the update in a new VPC, and use Google's global HTTP load balancing to split traffic between the update and current applications.
- DD. 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.
16All 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?- AA. 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.
- BB. 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.
- CC. 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.
- DD. 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.
17Your 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?- AA. Export Cloud Machine Learning Engine performance metrics from Stackdriver to BigQuery, to be used to analyze the efficiency of the model.
- BB. Build a roadmap to move the machine learning model training from Cloud GPUs to Cloud TPUs, which offer better results.
- CC. 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.
- DD. Save a history of recommendations and results of the recommendations in BigQuery, to be used as training data.
18A 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?- AA. Use the Horizontal Pod Autoscaler and enable cluster autoscaling. Use an Ingress resource to load-balance the HTTPS traffic.
- BB. 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.
- CC. Enable autoscaling on the Compute Engine instance group. Use an Ingress resource to load-balance the HTTPS traffic.
- DD. Enable autoscaling on the Compute Engine instance group. Use a Service resource of type LoadBalancer to load-balance the HTTPS traffic.
19You 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?- AA. Create a cross-region load balancer with URL Maps.
- BB. Create an HTTPS load balancer with URL Maps.
- CC. Create appropriate instance groups and instances. Configure SSL proxy load balancing.
- DD. Create a global forwarding rule. Configure SSL proxy load balancing.
Information
- Description
- Curso Interno de Empresa Google Cloud Professional Cloud Architect Quiz on Google Cloud Professional Cloud Architect PT 5, created by Emmanuel Jimenez on 22/04/2024.
- Author
- Emmanuel Jimenez
- Language
- English
- Views
- 5
- Tags
- Rating
- No ratings yet Rate this quiz