wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Google Professional Architect 9 - 161 to 180

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.
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 Stackdriver 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
2.
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.
3.
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 gcsfuse 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
4.
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
5.
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
6.
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
7.
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 enable- autoscaling max-nodes-10
c)
Update the existing Kubernetes Engine cluster with the following command: gcloud alpha container clusters update mycluster - -enable- autoscaling - -min-nodes=1 - -max-nodes=10
d)
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
8.
Your 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.)
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.
9.
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
10.
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
11.

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

a)
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.
b)

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.

c)

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.

d)
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.
12.
Your 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?
a)
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.
b)

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.

c)
1. Copy popular songs into CloudSQL as a blob. 2. Update application code to retrieve data from CloudSQL when Cloud Storage is overloaded.
d)
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.
13.
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.
14.

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 PII data. What should you do?

a)
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.
b)
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.
c)
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.
d)
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
15.
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.
16.
Your company has an application that is running on multiple instances of Compute Engine. It generates 1 TB per day of logs. For compliance reasons, the logs need to be kept for at least two years. The logs need to be available for active query for 30 days. After that, they just need to be retained for audit purposes. You want to implement a storage solution that is compliant, minimizes costs, and follows Google-recommended practices. What should you do?
a)
1. Install a Cloud Logging agent on all instances. 2. Create a sink to export logs into a regional Cloud Storage bucket. 3. Create an Object Lifecycle rule to move files into a Coldline Cloud Storage bucket after one month. 4. Configure a retention policy at the bucket level using bucket lock.
b)
1. Write a daily cron job, running on all instances, that uploads logs into a Cloud Storage bucket. 2. Create a sink to export logs into a regional Cloud Storage bucket. 3. Create an Object Lifecycle rule to move files into a Coldline Cloud Storage bucket after one month.
c)
1. Install a Cloud Logging agent on all instances. 2. Create a sink to export logs into a partitioned BigQuery table. 3. Set a time_partitioning_expiration of 30 days.
d)
1. Create a daily cron job, running on all instances, that uploads logs into a partitioned BigQuery table. 2. Set a time_partitioning_expiration of 30 days.
17.
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)
Configure an organization policy to restrict identities by domain.
b)
Configure an organization policy to block creation of service accounts.
c)
Configure Cloud Scheduler to trigger a Cloud Function every hour that removes all users that don't belong to the Cloud Identity domain from all projects.
d)
Create a technical user (e.g., crawler@yourdomain.com), and give it the project owner role at root organization level. Write a bash script that: ג€¢ Lists all the IAM rules of all projects within the organization. ג€¢ Deletes all users that do not belong to the company domain. Create a Compute Engine instance in a project within the Organization and configure gcloud to be executed with technical user credentials. Configure a cron job that executes the bash script every hour.
18.
Your company has an application running on Google Cloud that is collecting data from thousands of physical devices that are globally distributed. Data is published to Pub/Sub and streamed in real time into an SSD Cloud Bigtable cluster via a Dataflow pipeline. The operations team informs you that your Cloud Bigtable cluster has a hotspot, and queries are taking longer than expected. You need to resolve the problem and prevent it from happening in the future. 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.
19.
Your company has a Google Cloud project that uses BigQuery for data warehousing. There are some tables that contain personally identifiable information (PII). Only the compliance team may access the PII. The other information in the tables must be available to the data science team. You want to minimize cost and the time it takes to assign appropriate access to the tables. What should you do?
a)
1. From the dataset where you have the source data, create views of tables that you want to share, excluding PII. 2. Assign an appropriate project-level IAM role to the members of the data science team. 3. Assign access controls to the dataset that contains the view.
b)
1. From the dataset where you have the source data, create materialized views of tables that you want to share, excluding PII. 2. Assign an appropriate project-level IAM role to the members of the data science team. 3. Assign access controls to the dataset that contains the view.
c)
1. Create a dataset for the data science team. 2. Create views of tables that you want to share, excluding PII. 3. Assign an appropriate project-level IAM role to the members of the data science team. 4. Assign access controls to the dataset that contains the view. 5. Authorize the view to access the source dataset.
d)
1. Create a dataset for the data science team. 2. Create materialized views of tables that you want to share, excluding PII. 3. Assign an appropriate project-level IAM role to the members of the data science team. 4. Assign access controls to the dataset that contains the view. 5. Authorize the view to access the source dataset.
20.
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.