Quiz
Google Cloud Professional Cloud Architect PT 9
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 (21)
1Your company has a stateless web API that performs scientific calculations. The web API runs on a single Google Kubernetes Engine (GKE) cluster. The cluster is currently deployed in us-central1. Your company has expanded to offer your API to customers in Asia. You want to reduce the latency for users in Asia.
What should you do?- AA. Create a second GKE cluster in asia-southeast1, and expose both APIs using a Service of type LoadBalancer. Add the public IPs to the Cloud DNS zone.
- BB. Use a global HTTP(s) load balancer with Cloud CDN enabled.
- CC. Create a second GKE cluster in asia-southeast1, and use kubemci to create a global HTTP(s) load balancer.
- DD. Increase the memory and CPU allocated to the application in the cluster.
2You are migrating third-party applications from optimized on-premises virtual machines to Google Cloud. You are unsure about the optimum CPU and memory options. The applications have a consistent usage pattern across multiple weeks. You want to optimize resource usage for the lowest cost. What should you do?
- AA. Create an instance template with the smallest available machine type, and use an image of the third-party application taken from a current on-premises virtual machine. Create a managed instance group that uses average CPU utilization to autoscale the number of instances in the group. Modify the average CPU utilization threshold to optimize the number of instances running.
- BB. Create an App Engine flexible environment, and deploy the third-party application using a Dockerfile and a custom runtime. Set CPU and memory options similar to your application's current on-premises virtual machine in the app.yaml file.
- CC. Create multiple Compute Engine instances with varying CPU and memory options. Install the Cloud Monitoring agent, and deploy the third-party application on each of them. Run a load test with high traffic levels on the application, and use the results to determine the optimal settings.
- DD. Create a Compute Engine instance with CPU and memory options similar to your application's current onpremises virtual machine. Install the Cloud Monitoring agent, and deploy the third-party application. Run a load test with normal traffic levels on the application, and follow the Rightsizing Recommendations in the Cloud Console.
3Your company has a Google Cloud project that uses BigQuery for data warehousing. They have a VPN tunnel between the on-premises environment and Google Cloud that is configured with Cloud VPN. The security team wants to avoid data exfiltration by malicious insiders, compromised code, and accidental oversharing.
What should they do?- AA. Configure Private Google Access for on-premises only.
- BB. Perform the following tasks: 1. Create a service account. 2. Give the BigQuery JobUser role and Storage Reader role to the service account. 3. Remove all other IAM access from the project.
- CC. Configure VPC Service Controls and configure Private Google Access.
- DD. Configure Private Google Access.
4You are working at an institution that processes medical data. You are migrating several workloads onto Google Cloud. Company policies require all workloads to run on physically separated hardware, and workloads from different clients must also be separated. You created a sole-tenant node group and added a node for each client.
You need to deploy the workloads on these dedicated hosts. What should you do?- AA. Add the node group name as a network tag when creating Compute Engine instances in order to host each workload on the correct node group.
- BB. Add the node name as a network tag when creating Compute Engine instances in order to host each workload on the correct node.
- CC. Use node affinity labels based on the node group name when creating Compute Engine instances in order to host each workload on the correct node group.
- DD. Use node affinity labels based on the node name when creating Compute Engine instances in order to host each workload on the correct node
5Your company's test suite is a custom C++ application that runs tests throughout each day on Linux virtual machines. The full test suite takes several hours to complete, running on a limited number of on-premises servers reserved for testing. Your company wants to move the testing infrastructure to the cloud, to reduce the amount of time it takes to fully test a change to the system, while changing the tests as little as possible.
Which cloud infrastructure should you recommend?- AA. Google Compute Engine unmanaged instance groups and Network Load Balancer
- BB. Google Compute Engine managed instance groups with auto-scaling
- CC. Google Cloud Dataproc to run Apache Hadoop jobs to process each test
- DD. Google App Engine with Google StackDriver for logging
6A lead software engineer tells you that his new application design uses websockets and HTTP sessions that are not distributed across the web servers. You want to help him ensure his application will run properly on Google Cloud Platform. What should you do?
- AA. Help the engineer to convert his websocket code to use HTTP streaming
- BB. Review the encryption requirements for websocket connections with the security team
- CC. Meet with the cloud operations team and the engineer to discuss load balancer options
- DD. Help the engineer redesign the application to use a distributed user session service that does not rely on websockets and HTTP sessions.
7The application reliability team at your company this added a debug feature to their backend service to send all server events to Google Cloud Storage for eventual analysis. The event records are at least 50 KB and at most 15 MB and are expected to peak at 3,000 events per second. You want to minimize data loss.
Which process should you implement?- AA. ¢ Append metadata to file body ¢ Compress individual files ¢ Name files with serverName " Timestamp ¢ Create a new bucket if bucket is older than 1 hour and save individual files to the new bucket. Otherwise, save files to existing bucket.
- BB. ¢ Batch every 10,000 events with a single manifest file for metadata ¢ Compress event files and manifest file into a single archive file ¢ Name files using serverName " EventSequence ¢ Create a new bucket if bucket is older than 1 day and save the single archive file to the new bucket. Otherwise, save the single archive file to existing bucket.
- CC. ¢ Compress individual files ¢ Name files with serverName " EventSequence ¢ Save files to one bucket ¢ Set custom metadata headers for each object after saving
- DD. ¢ Append metadata to file body ¢ Compress individual files ¢ Name files with a random prefix pattern ¢ Save files to one bucket
8A recent audit revealed that a new network was created in your GCP project. In this network, a GCE instance has an SSH port open to the world. You want to discover this network's origin.
What should you do?- AA. Search for Create VM entry in the Stackdriver alerting console
- BB. Navigate to the Activity page in the Home section. Set category to Data Access and search for Create VMentry
- CC. In the Logging section of the console, specify GCE Network as the logging section. Search for the Create Insert entry
- DD. Connect to the GCE instance using project SSH keys. Identify previous logins in system logs, and match these with the project owners list
9You want to make a copy of a production Linux virtual machine in the US-Central region. You want to manage and replace the copy easily if there are changes on the production virtual machine. You will deploy the copy as a new instance in a different project in the US-East region. What steps must you take?
- AA. Use the Linux dd and netcat commands to copy and stream the root disk contents to a new virtual machine instance in the US-East region.
- BB. Create a snapshot of the root disk and select the snapshot as the root disk when you create a new virtual machine instance in the US-East region.
- CC. Create an image file from the root disk with Linux dd command, create a new virtual machine instance in the US-East region
- DD. Create a snapshot of the root disk, create an image file in Google Cloud Storage from the snapshot, and create a new virtual machine instance in the US-East region using the image file the root disk.
10Your company runs several databases on a single MySQL instance. They need to take backups of a specific database at regular intervals. The backup activity needs to complete as quickly as possible and cannot be allowed to impact disk performance. How should you configure the storage?
- AA. Configure a cron job to use the gcloud tool to take regular backups using persistent disk snapshots.
- BB. Mount a Local SSD volume as the backup location. After the backup is complete, use gsutil to move the backup to Google Cloud Storage.
- CC. Use gcsfise to mount a Google Cloud Storage bucket as a volume directly on the instance and write backups to the mounted location using mysqldump.
- DD. Mount additional persistent disk volumes onto each virtual machine (VM) instance in a RAID10 array and use LVM to create snapshots to send to Cloud Storage
11You are helping the QA team to roll out a new load-testing tool to test the scalability of your primary cloud services that run on Google Compute Engine with Cloud Bigtable.
Which three requirements should they include? (Choose three.)- AA. Ensure that the load tests validate the performance of Cloud Bigtable
- BB. Create a separate Google Cloud project to use for the load-testing environment
- CC. Schedule the load-testing tool to regularly run against the production environment
- DD. Ensure all third-party systems your services use is capable of handling high load
- EE. Instrument the production services to record every transaction for replay by the load-testing tool
- FF. Instrument the load-testing tool and the target services with detailed logging and metrics collection
12Your customer is moving their corporate applications to Google Cloud Platform. The security team wants detailed visibility of all projects in the organization. You provision the Google Cloud Resource Manager and set up yourself as the org admin.
What Google Cloud Identity and Access Management (Cloud IAM) roles should you give to the security team?- AA. Org viewer, project owner
- BB. Org viewer, project viewer
- CC. Org admin, project browser
- DD. Project owner, network admin
13Your company places a high value on being responsive and meeting customer needs quickly. Their primary business objectives are release speed and agility. You want to reduce the chance of security errors being accidentally introduced.
Which two actions can you take? (Choose two.)- AA. Ensure every code check-in is peer reviewed by a security SME
- BB. Use source code security analyzers as part of the CI/CD pipeline
- CC. Ensure you have stubs to unit test all interfaces between components
- DD. Enable code signing and a trusted binary repository integrated with your CI/CD pipeline
- EE. Run a vulnerability security scanner as part of your continuous-integration /continuous-delivery (CI/CD) pipeline
14You want to enable your running Google Kubernetes Engine cluster to scale as demand for your application changes.
What should you do?- AA. Add additional nodes to your Kubernetes Engine cluster using the following command: gcloud container clusters resize CLUSTER_Name " -size 10
- BB. Add a tag to the instances in the cluster with the following command: gcloud compute instances add-tags INSTANCE - -tags enable- autoscaling max-nodes-10
- CC. Update the existing Kubernetes Engine cluster with the following command: gcloud alpha container clusters update mycluster - -enable- autoscaling - -min-nodes=1 - -max-nodes=10
- DD. Create a new Kubernetes Engine cluster with the following command: gcloud alpha container clusters create mycluster - -enable- autoscaling - -min-nodes=1 - -max-nodes=10 and redeploy your application
15Your marketing department wants to send out a promotional email campaign. The development team wants to minimize direct operation management. They project a wide range of possible customer responses, from 100 to 500,000 click-through per day. The link leads to a simple website that explains the promotion and collects user information and preferences.
Which infrastructure should you recommend? (Choose two.)- AA. Use Google App Engine to serve the website and Google Cloud Datastore to store user data.
- BB. Use a Google Container Engine cluster to serve the website and store data to persistent disk.
- CC. Use a managed instance group to serve the website and Google Cloud Bigtable to store user data.
- DD. Use a single Compute Engine virtual machine (VM) to host a web server, backend by Google Cloud SQL.
16Your company just finished a rapid lift and shift to Google Compute Engine for your compute needs. You have another 9 months to design and deploy a more cloud-native solution. Specifically, you want a system that is no-ops and auto-scaling.
Which two compute products should you choose? (Choose two.)- AA. Compute Engine with containers
- BB. Google Kubernetes Engine with containers
- CC. Google App Engine Standard Environment
- DD. Compute Engine with custom instance types
- EE. Compute Engine with managed instance groups
17One of your primary business objectives is being able to trust the data stored in your application. You want to log all changes to the application data.
How can you design your logging system to verify authenticity of your logs?- AA. Write the log concurrently in the cloud and on premises
- BB. Use a SQL database and limit who can modify the log table
- CC. Digitally sign each timestamp and log entry and store the signature
- DD. Create a JSON dump of each log entry and store it in Google Cloud Storage
18Your company has a Google Workspace account and Google Cloud Organization. Some developers in the company have created Google Cloud projects outside of the Google Cloud Organization.
You want to create an Organization structure that allows developers to create projects, but prevents them from modifying production projects. You want to manage policies for all projects centrally and be able to set more restrictive policies for production projects.
You want to minimize disruption to users and developers when business needs change in the future. You want to follow Google-recommended practices. Now should you design the Organization structure?- AA. 1. Create a second Google Workspace account and Organization. 2. Grant all developers the Project Creator IAM role on the new Organization. 3. Move the developer projects into the new Organization. 4. Set the policies for all projects on both Organizations. 5. Additionally, set the production policies on the original Organization.
- BB. 1. Create a folder under the Organization resource named Production. 2. Grant all developers the Project Creator IAM role on the new Organization. 3. Move the developer projects into the new Organization. 4. Set the policies for all projects on the Organization. 5. Additionally, set the production policies on the Production folder.
- CC. 1. Create folders under the Organization resource named Development and Production. 2. Grant all developers the Project Creator IAM role on the Development folder. 3. Move the developer projects into the Development folder. 4. Set the policies for all projects on the Organization. 5. Additionally, set the production policies on the Production folder.
- DD. 1. Designate the Organization for production projects only. 2. Ensure that developers do not have the Project Creator IAM role on the Organization. 3. Create development projects outside of the Organization using the developer Google Workspace accounts. 4. Set the policies for all projects on the Organization. 5. Additionally, set the production policies on the individual production projects.
19Your company has an application running on Compute Engine that allows users to play their favorite music. There are a fixed number of instances. Files are stored in Cloud Storage, and data is streamed directly to users. Users are reporting that they sometimes need to attempt to play popular songs multiple times before they are successful.
You need to improve the performance of the application. What should you do?- AA. 1. Mount the Cloud Storage bucket using gcsfuse on all backend Compute Engine instances. 2. Serve music files directly from the backend Compute Engine instance.
- BB. 1. Create a Cloud Filestore NFS volume and attach it to the backend Compute Engine instances. 2. Download popular songs in Cloud Filestore. 3. Serve music files directly from the backend Compute Engine instance.
- CC. 1. Copy popular songs into CloudSQL as a blob. 2. Update application code to retrieve data from CloudSQL when Cloud Storage is overloaded.
- DD. 1. Create a managed instance group with Compute Engine instances. 2. Create a global load balancer and configure it with two backends: ג ›—Managed instance group ג ›—Cloud Storage bucket 3. Enable Cloud CDN on the bucket backend.
20The operations team in your company wants to save Cloud VPN log events for one year. You need to configure the cloud infrastructure to save the logs. What should you do?
- AA. Set up a filter in Cloud Logging and a Cloud Storage bucket as an export target for the logs you want to save.
- BB. Enable the Compute Engine API, and then enable logging on the firewall rules that match the traffic you want to save.
- CC. Set up a Cloud Logging Dashboard titled Cloud VPN Logs, and then add a chart that queries for the VPN metrics over a one-year time period.
- DD. Set up a filter in Cloud Logging and a topic in Pub/Sub to publish the logs.
21You are working with a data warehousing team that performs data analysis. The team needs to process data from external partners, but the data contains personally identifiable information (PII). You need to process and store the data without storing any of the PIIE data. What should you do?
- AA. Create a Dataflow pipeline to retrieve the data from the external sources. As part of the pipeline, use the Cloud Data Loss Prevention (Cloud DLP) API to remove any PII data. Store the result in BigQuery.
- BB. Create a Dataflow pipeline to retrieve the data from the external sources. As part of the pipeline, store all non-PII data in BigQuery and store all PII data in a Cloud Storage bucket that has a retention policy set.
- CC. Ask the external partners to upload all data on Cloud Storage. Configure Bucket Lock for the bucket. Create a Dataflow pipeline to read the data from the bucket. As part of the pipeline, use the Cloud Data Loss Prevention (Cloud DLP) API to remove any PII data. Store the result in BigQuery.
- DD. Ask the external partners to import all data in your BigQuery dataset. Create a dataflow pipeline to copy the data into a new table. As part of the Dataflow bucket, skip all data in columns that have PII data
Information
- Description
- Curso Interno de Empresa Google Cloud Professional Cloud Architect Quiz on Google Cloud Professional Cloud Architect PT 9, created by Emmanuel Jimenez on 23/04/2024.
- Author
- Emmanuel Jimenez
- Language
- English
- Views
- 3
- Tags
- Rating
- No ratings yet Rate this quiz