Quiz
Google Cloud Professional Cloud Architect PT 4
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 (16)
1Your web application must comply with the requirements of the European Union's General Data Protection Regulation (GDPR). You are responsible for the technical architecture of your web application. What should you do?
- AA. Ensure that your web application only uses native features and services of Google Cloud Platform, because Google already has various certifications and provides pass-on compliance when you use native features.
- BB. Enable the relevant GDPR compliance setting within the GCPConsole for each of the services in use within your application.
- CC. Ensure that Cloud Security Scanner is part of your test planning strategy in order to pick up any compliance gaps.
- DD. Define a design for the security of data in your web application that meets GDPR requirements.
2You need to set up Microsoft SQL Server on GCP. Management requires that there's no downtime in case of a data center outage in any of the zones within a GCP region. What should you do?
- AA. Configure a Cloud SQL instance with high availability enabled.
- BB. Configure a Cloud Spanner instance with a regional instance configuration.
- CC. Set up SQL Server on Compute Engine, using Always On Availability Groups using Windows Failover Clustering. Place nodes in different subnets.
- DD. Set up SQL Server Always On Availability Groups using Windows Failover Clustering. Place nodes in different zones.
3The development team has provided you with a Kubernetes Deployment file. You have no infrastructure yet and need to deploy the application. What should you do?
- AA. Use gcloud to create a Kubernetes cluster. Use Deployment Manager to create the deployment.
- BB. Use gcloud to create a Kubernetes cluster. Use kubectl to create the deployment.
- CC. Use kubectl to create a Kubernetes cluster. Use Deployment Manager to create the deployment.
- DD. Use kubectl to create a Kubernetes cluster. Use kubectl to create the deployment.
4You need to evaluate your team readiness for a new GCP project. You must perform the evaluation and create a skills gap plan which incorporates the business goal of cost optimization. Your team has deployed two GCP projects successfully to date. What should you do?
- AA. Allocate budget for team training. Set a deadline for the new GCP project.
- BB. Allocate budget for team training. Create a roadmap for your team to achieve Google Cloud certification based on job role.
- CC. Allocate budget to hire skilled external consultants. Set a deadline for the new GCP project.
- DD. Allocate budget to hire skilled external consultants. Create a roadmap for your team to achieve Google Cloud certification based on job role.
5You are designing an application for use only during business hours. For the minimum viable product release, you'd like to use a managed product that automatically ‘scales to zero’ so you don't incur costs when there is no activity. Which primary compute resource should you choose?
- AA. Cloud Functions
- BB. Compute Engine
- CC. Google Kubernetes Engine
- DD. AppEngine flexible environment
6You are creating an App Engine application that uses Cloud Datastore as its persistence layer. You need to retrieve several root entities for which you have the identifiers. You want to minimize the overhead in operations performed by Cloud Datastore. What should you do?
- AA. Create the Key object for each Entity and run a batch get operation
- BB. Create the Key object for each Entity and run multiple get operations, one operation for each entity
- CC. Use the identifiers to create a query filter and run a batch query operation
- DD. Use the identifiers to create a query filter and run multiple query operations, one operation for each entity
7You need to upload files from your on-premises environment to Cloud Storage. You want the files to be encrypted on Cloud Storage using customer-supplied encryption keys. What should you do?
- AA. Supply the encryption key in a .boto configuration file. Use gsutil to upload the files.
- BB. Supply the encryption key using gcloud config. Use gsutil to upload the files to that bucket.
- CC. Use gsutil to upload the files, and use the flag --encryption-key to supply the encryption key.
- DD. Use gsutil to create a bucket, and use the flag --encryption-key to supply the encryption key. Use gsutil to upload the files to that bucket.
8Your customer wants to capture multiple GBs of aggregate real-time key performance indicators (KPIs) from their game servers running on Google Cloud Platform and monitor the KPIs with low latency. How should they capture the KPIs?
- AA. Store time-series data from the game servers in Google Bigtable, and view it using Google Data Studio.
- BB. Output custom metrics to Stackdriver from the game servers, and create a Dashboard in Stackdriver Monitoring Console to view them.
- CC. Schedule BigQuery load jobs to ingest analytics files uploaded to Cloud Storage every ten minutes, and visualize the results in Google Data Studio.
- DD. Insert the KPIs into Cloud Datastore entities, and run ad hoc analysis and visualizations of them in Cloud Datalab.
9You have a Python web application with many dependencies that requires 0.1 CPU cores and 128 MB of memory to operate in production. You want to monitor and maximize machine utilization. You also want to reliably deploy new versions of the application. Which set of steps should you take?
- AA. Perform the following: 1. Create a managed instance group with f1-micro type machines. 2. Use a startup script to clone the repository, check out the production branch, install the dependencies, and start the Python app. 3. Restart the instances to automatically deploy new production releases.
- BB. Perform the following: 1. Create a managed instance group with n1-standard-1 type machines. 2. Build a Compute Engine image from the production branch that contains all of the dependencies and automatically starts the Python app. 3. Rebuild the Compute Engine image, and update the instance template to deploy new production releases.
- CC. Perform the following: 1. Create a Google Kubernetes Engine (GKE) cluster with n1-standard-1 type machines. 2. Build a Docker image from the production branch with all of the dependencies, and tag it with the version number. 3. Create a Kubernetes Deployment with the imagePullPolicy set to 'IfNotPresent' in the staging namespace, and then promote it to the production namespace after testing.
- DD. Perform the following: 1. Create a GKE cluster with n1-standard-4 type machines. 2. Build a Docker image from the master branch with all of the dependencies, and tag it with 'latest'. 3. Create a Kubernetes Deployment in the default namespace with the imagePullPolicy set to 'Always'. Restart the pods to automatically deploy new production releases.
10Your company wants to start using Google Cloud resources but wants to retain their on-premises Active Directory domain controller for identity management.
What should you do?- AA. Use the Admin Directory API to authenticate against the Active Directory domain controller.
- BB. Use Google Cloud Directory Sync to synchronize Active Directory usernames with cloud identities and configure SAML SSO.
- CC. Use Cloud Identity-Aware Proxy configured to use the on-premises Active Directory domain controller as an identity provider.
- DD. Use Compute Engine to create an Active Directory (AD) domain controller that is a replica of the on-premises AD domain controller using Google Cloud Directory Sync.
11You are running a cluster on Kubernetes Engine (GKE) to serve a web application. Users are reporting that a specific part of the application is not responding anymore. You notice that all pods of your deployment keep restarting after 2 seconds. The application writes logs to standard output. You want to inspect the logs to find the cause of the issue. Which approach can you take?
- AA. Review the Stackdriver logs for each Compute Engine instance that is serving as a node in the cluster.
- BB. Review the Stackdriver logs for the specific GKE container that is serving the unresponsive part of the application.
- CC. Connect to the cluster using gcloud credentials and connect to a container in one of the pods to read the logs.
- DD. Review the Serial Port logs for each Compute Engine instance that is serving as a node in the cluster.
12You are using a single Cloud SQL instance to serve your application from a specific zone. You want to introduce high availability. What should you do?
- AA. Create a read replica instance in a different region
- BB. Create a failover replica instance in a different region
- CC. Create a read replica instance in the same region, but in a different zone
- DD. Create a failover replica instance in the same region, but in a different zone
13Your company is running a stateless application on a Compute Engine instance. The application is used heavily during regular business hours and lightly outside of business hours. Users are reporting that the application is slow during peak hours. You need to optimize the application's performance. What should you do?
- AA. Create a snapshot of the existing disk. Create an instance template from the snapshot. Create an autoscaled managed instance group from the instance template.
- BB. Create a snapshot of the existing disk. Create a custom image from the snapshot. Create an autoscaled managed instance group from the custom image.
- CC. Create a custom image from the existing disk. Create an instance template from the custom image. Create an autoscaled managed instance group from the instance template.
- DD. Create an instance template from the existing disk. Create a custom image from the instance template. Create an autoscaled managed instance group from the custom image.
14Your web application has several VM instances running within a VPC. You want to restrict communications between instances to only the paths and ports you authorize, but you don't want to rely on static IP addresses or subnets because the app can autoscale. How should you restrict communications?
- AA. Use separate VPCs to restrict traffic
- BB. Use firewall rules based on network tags attached to the compute instances
- CC. Use Cloud DNS and only allow connections from authorized hostnames
- DD. Use service accounts and configure the web application to authorize particular service accounts to have access
15You are using Cloud SQL as the database backend for a large CRM deployment. You want to scale as usage increases and ensure that you don't run out of storage, maintain 75% CPU usage cores, and keep replication lag below 60 seconds. What are the correct steps to meet your requirements?
- AA. 1. Enable automatic storage increase for the instance. 2. Create a Stackdriver alert when CPU usage exceeds 75%, and change the instance type to reduce CPU usage. 3. Create a Stackdriver alert for replication lag, and shard the database to reduce replication time.
- BB. 1. Enable automatic storage increase for the instance. 2. Change the instance type to a 32-core machine type to keep CPU usage below 75%. 3. Create a Stackdriver alert for replication lag, and deploy memcache to reduce load on the master.
- CC. 1. Create a Stackdriver alert when storage exceeds 75%, and increase the available storage on the instance to create more space. 2. Deploy memcached to reduce CPU load. 3. Change the instance type to a 32-core machine type to reduce replication lag.
- DD. 1. Create a Stackdriver alert when storage exceeds 75%, and increase the available storage on the instance to create more space. 2. Deploy memcached to reduce CPU load. 3. Create a Stackdriver alert for replication lag, and change the instance type to a 32-core machine type to reduce replication lag.
16You are tasked with building an online analytical processing (OLAP) marketing analytics and reporting tool. This requires a relational database that can operate on hundreds of terabytes of data. What is the Google- recommended tool for such applications?
- AA. Cloud Spanner, because it is globally distributed
- BB. Cloud SQL, because it is a fully managed relational database
- CC. Cloud Firestore, because it offers real-time synchronization across devices
- DD. BigQuery, because it is designed for large-scale processing of tabular data
Information
- Description
- Curso Interno de Empresa Google Cloud Professional Cloud Architect Quiz on Google Cloud Professional Cloud Architect PT 4, created by Emmanuel Jimenez on 19/04/2024.
- Author
- Emmanuel Jimenez
- Language
- English
- Views
- 3
- Tags
- Rating
- No ratings yet Rate this quiz