wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Cloud Architect 50 preg (196-147) v1

Total questions: 48

Worksheet time: 25mins

Name
Class
Date
1.

You have deployed an application on Anthos clusters (formerly Anthos GKE). According to the SRE practices at your company, you need to be alerted if request latency is above a certain threshold for a specified amount of time. What should you do?

a)

Install Anthos Service Mesh on your cluster. Use the Google Cloud Console to define a Service Level Objective (SLO), and create an alerting policy based on this SLO.

b)

Enable the Cloud Trace API on your project, and use Cloud Monitoring Alerts to send an alert based on the Cloud Trace metrics.

c)

Use Cloud Profiler to follow up the request latency. Create a custom metric in Cloud Monitoring based on the results of Cloud Profiler, and create an Alerting policy in case this metric exceeds the threshold.

d)

Configure Anthos Config Management on your cluster, and create a yaml file that defines the SLO and alerting policy you want to deploy in your cluster.

2.

What should you provision?

a)

An HA Cloud VPN gateway connected with two tunnels to an on-premises VPN gateway.

b)

A Classic Cloud VPN gateway connected with two tunnels to an on-premises VPN gateway.

c)

Two HA Cloud VPN gateways connected to two on-premises VPN gateways. Configure each HA Cloud VPN gateway to have two tunnels, each connected to different on-premises VPN gateways.

d)

A Classic Cloud VPN gateway connected with one tunnel to an on-premises VPN gateway.

3.

What should you do?

a)

Enable Private Google Access on sub-b.

b)

Configure Cloud NAT and select sub-b in the NAT mapping section.

c)

Configure a bastion host instance in sub-a to connect to instances in sub-b.

d)

Enable Identity-Aware Proxy for TCP forwarding for instances in sub-b.

4.

Your company has an application running on App Engine that allows users to upload music files and share them with other people. You want to allow users to upload files directly into Cloud Storage from their browser session. The payload should not be passed through the backend. What should you do?

a)

b)

c)

d)

5.

What should you do?

a)

Change the Target type to DELTA_PER_MINUTE.

b)

Change the Metric identifier to agent.googleapis.com/memory/bytes_used.

c)

Change the filter to metric.label.state = 'used' AND metric.label.state = 'buffered' AND metric.label.state = 'cached' AND metric.label.state = 'slab'.

d)

Change the filter to metric.label.state = 'free' and the Target utilization to 20.

6.

Which feature should you enable?

a)

Bucket Lock.

b)

Object Versioning.

c)

Object change notification.

d)

Object Lifecycle Management.

7.

What should you do?

a)

Set up a network peering between vpc-a and vpc-b.

b)

Set up a VPN between vpc-a and vpc-b using Cloud VPN.

c)

Configure IAP TCP forwarding on the instance in vpc-b, and then launch the following gcloud command from one of the instances in vpc-a gcloud: gcloud compute start-iap-tunnel INSTANCE_NAME_IN_VPC_8 22 \ --local-host-port=localhost:22.

d)

1. Create an additional instance in vpc-a. 2. Create an additional instance in vpc-b. 3. Install OpenVPN in newly created instances. 4. Configure a VPN tunnel between vpc-a and vpc-b with the help of OpenVPN.

8.

Your company has a Google Cloud project that uses BigQuery for data warehousing on a pay-per-use basis. You want to monitor queries in real time to discover the most costly queries and which users spend the most. What should you do?

a)

b)

c)

d)

9.

What should you do?

a)

Create a second GKE cluster for the batch workloads only. Allocate the 200 original nodes across both clusters.

b)

Configure CPU and memory limits on the namespaces in the cluster. Configure all Pods to have a CPU and memory limits.

c)

Configure a HorizontalPodAutoscaler for all stateless workloads and for all compatible stateful workloads. Configure the cluster to use node auto scaling.

d)

Change the node pool to use preemptible VMs.

10.

What should you do?

a)

Configure liveness and readiness probes in the Pod specification.

b)

Configure health checks on the managed instance group.

c)

Create a Scheduled Task to check whether the application is available.

d)

Configure an uptime alert in Cloud Monitoring.

11.

You are managing several internal applications that are deployed on Compute Engine. Business users inform you that an application has become very slow over the past few days. You want to find the underlying cause in order to solve the problem. What should you do first?

a)

Inspect the logs and metrics from the instances in Cloud Logging and Cloud Monitoring.

b)

Change the Compute Engine Instances behind the application to a machine type with more CPU and memory.

c)

Restore a backup of the application database from a time before the application became slow.

d)

Deploy the applications on a managed instance group with autoscaling enabled. Add a load balancer in front of the managed instance group, and have the users connect to the IP of the load balancer.

12.

What should you do?

a)

Set up VPC peering and peer each Shared VPC together.

b)

Migrate the projects from the acquired company into your company's Google Cloud organization. Re-launch the instances in your companies Shared VPC.

c)

Set up a Cloud VPN gateway in each Shared VPC and peer Cloud VPNs.

d)

Configure SSH port forwarding on each application to provide connectivity between applications in the different Shared VPCs.

13.

You are managing several projects on Google Cloud and need to interact on a daily basis with BigQuery, Bigtable, and Kubernetes Engine using the gcloud CL tool. You are travelling a lot and work on different workstations during the week. You want to avoid having to manage the gcloud CLI manually. What should you do?

a)

Use Google Cloud Shell in the Google Cloud Console to interact with Google Cloud.

b)

Create a Compute Engine instance and install gcloud on the instance. Connect to this instance via SSH to always use the same gcloud installation when interacting with Google Cloud.

c)

Install gcloud on all of your workstations. Run the command gcloud components auto-update on each workstation.

d)

Use a package manager to install gcloud on your workstations instead of installing it manually.

14.

What should you do next?

a)

Modify the shutdown script to wait for 30 seconds before triggering the Cloud Function.

b)

Do not use the Cloud Function. Modify the shutdown script to restart if it has not completed in 30 seconds.

c)

Set up a Cloud Monitoring sink that triggers the Cloud Function after an instance removal log message arrives in Cloud Logging.

d)

Modify the shutdown script to wait for 30 seconds and then publish a message to a Pub/Sub queue.

15.

Your operations team currently stores 10 TB of data in an object storage service from a third-party provider. They want to move this data to a Cloud Storage bucket as quickly as possible, following Google-recommended practices. They want to minimize the cost of this data migration. Which approach should they use?

a)

Use the gsutil mv command to move the data.

b)

Use the Storage Transfer Service to move the data.

c)

Download the data to a Transfer Appliance, and ship it to Google.

d)

Download the data to the on-premises data center, and upload it to the Cloud Storage bucket.

16.

What should you do?

a)

b)

c)

d)

17.

What should you do?

a)

Advise your clients to use HBase APIs instead of NodeJS APIs.

b)

Delete records older than 30 days.

c)

Review your RowKey strategy and ensure that keys are evenly spread across the alphabet.

d)

Double the number of nodes you currently have.

18.

Your company has just recently activated Cloud Identity to manage users. The Google Cloud Organization has been configured as well. The security team needs to secure projects that will be part of the Organization. They want to prohibit IAM users outside the domain from gaining permissions from now on. What should they do?

a)

b)

c)

d)

19.

What should you do?

a)

b)

c)

d)

20.

You want to allow your operations team to store logs from all the production projects in your Organization, without including logs from other projects. All of the production projects are contained in a folder. You want to ensure that all logs for existing and new production projects are captured automatically. What should you do?

a)

Create an aggregated export on the Production folder. Set the log sink to be a Cloud Storage bucket in an operations project.

b)

Create an aggregated export on the Organization resource. Set the log sink to be a Cloud Storage bucket in an operations project.

c)

Create log exports in the production projects. Set the log sinks to be a Cloud Storage bucket in an operations project.

d)

Create log exports in the production projects. Set the log sinks to be BigQuery datasets in the production projects, and grant IAM access to the operations team to run queries on the datasets.

21.

You 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?

a)

b)

c)

d)

22.

The 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?

a)

Set up a filter in Cloud Logging and a Cloud Storage bucket as an export target for the logs you want to save.

b)

Enable the Compute Engine API, and then enable logging on the firewall rules that match the traffic you want to save.

c)

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.

d)

Set up a filter in Cloud Logging and a topic in Pub/Sub to publish the logs.

23.

What should you do?

a)

b)

c)

d)

24.

Now should you design the Organization structure?

a)

b)

c)

d)

25.

One 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?

a)

Write the log concurrently in the cloud and on premises.

b)

Use a SQL database and limit who can modify the log table.

c)

Digitally sign each timestamp and log entry and store the signature.

d)

Create a JSON dump of each log entry and store it in Google Cloud Storage.

26.

Your 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.)

a)

Compute Engine with containers.

b)

Google Kubernetes Engine with containers.

c)

Google App Engine Standard Environment.

d)

Compute Engine with custom instance types.

e)

Compute Engine with managed instance groups.

27.

Which infrastructure should you recommend? (Choose two.)

a)

Use Google App Engine to serve the website and Google Cloud Datastore to store user data.

b)

Use a Google Container Engine cluster to serve the website and store data to persistent disk.

c)

Use a managed instance group to serve the website and Google Cloud Bigtable to store user data.

d)

Use a single Compute Engine virtual machine (VM) to host a web server, backend by Google Cloud SQL.

28.

You want to enable your running Google Kubernetes Engine cluster to scale as demand for your application changes. What should you do?

a)

Add additional nodes to your Kubernetes Engine cluster using the following command: gcloud container clusters resize CLUSTER_Name " -size 10.

b)

Add a tag to the instances in the cluster with the following command: gcloud compute instances add-tags INSTANCE - -tags enableautoscaling max-nodes-10.

c)

Update the existing Kubernetes Engine cluster with the following command: gcloud alpha container clusters update mycluster - -enableautoscaling - -min-nodes=1 - -max-nodes=10.

d)

Create a new Kubernetes Engine cluster with the following command: gcloud alpha container clusters create mycluster - -enableautoscaling - -min-nodes=1 - -max-nodes=10 and redeploy your application.

29.

Your 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.)

a)

Ensure every code check-in is peer reviewed by a security SME.

b)

Use source code security analyzers as part of the CI/CD pipeline.

c)

Ensure you have stubs to unit test all interfaces between components.

d)

Enable code signing and a trusted binary repository integrated with your CI/CD pipeline.

e)

Run a vulnerability security scanner as part of your continuous-integration /continuous-delivery (CI/CD) pipeline.

30.

Your 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?

a)

Org viewer, project owner.

b)

Org viewer, project viewer.

c)

Org admin, project browser.

d)

Project owner, network admin.

31.

You 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.)

a)

Ensure that the load tests validate the performance of Cloud Bigtable.

b)

Create a separate Google Cloud project to use for the load-testing environment.

c)

Ensure all third-party systems your services use is capable of handling high load.

d)

Instrument the production services to record every transaction for replay by the load-testing tool.

e)

Instrument the load-testing tool and the target services with detailed logging and metrics collection.

32.

Your 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?

a)

Configure a cron job to use the gcloud tool to take regular backups using persistent disk snapshots.

b)

Mount a Local SSD volume as the backup location. After the backup is complete, use gsutil to move the backup to Google Cloud Storage.

c)

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.

d)

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.

33.

You 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?

a)

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.

b)

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.

c)

Create an image file from the root disk with Linux dd command, create a new virtual machine instance in the US-East region.

d)

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.

34.

A 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?

a)

Search for Create VM entry in the Cloud Monitor alerting console.

b)

Navigate to the Activity page in the Home section. Set category to Data Access and search for Create VM entry.

c)

In the Logging section of the console, specify GCE Network as the logging section. Search for the Create Insert entry.

d)

Connect to the GCE instance using project SSH keys. Identify previous logins in system logs, and match these with the project owners list.

35.

The 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?

a)

b)

c)

d)

36.

A 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?

a)

Help the engineer to convert his websocket code to use HTTP streaming.

b)

Review the encryption requirements for websocket connections with the security team.

c)

Meet with the cloud operations team and the engineer to discuss load balancer options.

d)

Help the engineer redesign the application to use a distributed user session service that does not rely on websockets and HTTP sessions.

37.

Which cloud infrastructure should you recommend?

a)

Google Compute Engine unmanaged instance groups and Network Load Balancer.

b)

Google Compute Engine managed instance groups with auto-scaling.

c)

Google Cloud Dataproc to run Apache Hadoop jobs to process each test.

d)

Google App Engine with Google Cloud Monitor for logging.

38.

What should you do?

a)

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.

b)

Add the node name as a network tag when creating Compute Engine instances in order to host each workload on the correct node.

c)

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.

d)

Use node affinity labels based on the node name when creating Compute Engine instances in order to host each workload on the correct node.

39.

What should they do?

a)

Configure Private Google Access for on-premises only.

b)

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.

c)

Configure VPC Service Controls and configure Private Google Access.

d)

Configure Private Google Access.

40.

You 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?

a)

b)

c)

d)

41.

Your 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?

a)

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.

b)

Use a global HTTP(s) load balancer with Cloud CDN enabled.

c)

Create a second GKE cluster in asia-southeast1, and use kubemci to create a global HTTP(s) load balancer.

d)

Increase the memory and CPU allocated to the application in the cluster.

42.

Your company is planning to upload several important files to Cloud Storage. After the upload is completed, they want to verify that the uploaded content is identical to what they have on-premises. You want to minimize the cost and effort of performing this check. What should you do?

a)

b)

c)

d)

43.

What should you do?

a)

Configure private Google access for on-premises hosts only.

b)

Configure private Google access.

c)

Configure private services access.

d)

Configure serverless VPC access.

44.

Your team needs to create a Google Kubernetes Engine (GKE) cluster to host a newly built application that requires access to third-party services on the internet. Your company does not allow any Compute Engine instance to have a public IP address on Google Cloud. You need to create a deployment strategy that adheres to these guidelines. What should you do?

a)

Configure the GKE cluster as a private cluster, and configure Cloud NAT Gateway for the cluster subnet.

b)

Configure the GKE cluster as a private cluster. Configure Private Google Access on the Virtual Private Cloud (VPC).

c)

Configure the GKE cluster as a route-based cluster. Configure Private Google Access on the Virtual Private Cloud (VPC).

d)

Create a Compute Engine instance, and install a NAT Proxy on the instance. Configure all workloads on GKE to pass through this proxy to access third-party services on the Internet.

45.

Your organization has stored sensitive data in a Cloud Storage bucket. For regulatory reasons, your company must be able to rotate the encryption key used to encrypt the data in the bucket. The data will be processed in Dataproc. You want to follow Google-recommended practices for security. What should you do?

a)

Create a key with Cloud Key Management Service (KMS). Encrypt the data using the encrypt method of Cloud KMS.

b)

Create a key with Cloud Key Management Service (KMS). Set the encryption key on the bucket to the Cloud KMS key.

c)

Generate a GPG key pair. Encrypt the data using the GPG key. Upload the encrypted data to the bucket.

d)

Generate an AES-256 encryption key. Encrypt the data in the bucket using the customer-supplied encryption keys feature.

46.

You are designing a Data Warehouse on Google Cloud and want to store sensitive data in BigQuery. Your company requires you to generate the encryption keys outside of Google Cloud. You need to implement a solution. What should you do?

a)

Generate a new key in Cloud Key Management Service (Cloud KMS). Store all data in Cloud Storage using the customer-managed key option and select the created key. Set up a Dataflow pipeline to decrypt the data and to store it in a new BigQuery dataset.

b)

Generate a new key in Cloud KMS. Create a dataset in BigQuery using the customer-managed key option and select the created key.

c)

Import a key in Cloud KMS. Store all data in Cloud Storage using the customer-managed key option and select the created key. Set up a Dataflow pipeline to decrypt the data and to store it in a new BigQuery dataset.

d)

Import a key in Cloud KMS. Create a dataset in BigQuery using the customer-supplied key option and select the created key.

47.

What should you do?

a)

b)

c)

d)

48.

Your company wants to migrate their 10-TB on-premises database export into Cloud Storage. You want to minimize the time it takes to complete this activity, the overall cost, and database load. The bandwidth between the on-premises environment and Google Cloud is 1 Gbps. You want to follow Google-recommended practices. What should you do?

a)

Develop a Dataflow job to read data directly from the database and write it into Cloud Storage.

b)

Use the Data Transfer appliance to perform an offline migration.

c)

Use a commercial partner ETL solution to extract the data from the on-premises database and upload it into Cloud Storage.

d)

Compress the data and upload it with gsutil -m to enable multi-threaded copy.