wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

GOOGLE CLOUD 3

Total questions: 157

Worksheet time: 2hrs 19mins

Name
Class
Date
1.
Which one of the following is true?
a)
Both VPCs and subnets are global.
b)
VPCs are regional. Subnets are not used in Google Cloud.
c)
VPCs are regional and subnets are zonal.
d)
VPCs are global and subnets are regional.
2.
Select the global load balancer from the list.
a)
TCP Proxy
b)
Elastic
c)
Network
d)
Internal
3.
What is a key distinguishing feature of networking in Google Cloud?
a)
IPV4 is supported.
b)
Network topology is dependent on IP address layout.
c)
Network topology is not dependent on the IP address layout.
d)
Unlike other cloud providers, access lists and firewall rules are available.
4.
Select the true statement.
a)
Both VPCs and subnets are global.
b)
VPCs are regional and subnets are zonal.
c)
VPCs are regional. Subnets are not used in Google Cloud.
d)
VPCs are global and subnets are regional.
5.
Which connectivity solution provides a direct connection to Google?
a)
Carrier Peering
b)
Dedicated Interconnect
c)
Direct Peering
d)
Partner Interconnect
6.
Which option would you choose if you required cross-regional load balancing for a web application?
a)
Internal HTTP(S) Load Balancing
b)
SSL Proxy Load Balancing
c)
HTTP(S) Load Balancing
d)
TCP Proxy Load Balancing
7.
What is used to forward traffic from one instance to another within the same network, across subnetworks, or even between Google Cloud zones, and doesn’t require an external IP address?
a)
Routing table
b)
Subnet
c)
Firewall
d)
Load balancer
8.
What term describes where the Google network is connected to the rest of the internet?
a)
Region
b)
Point of presence (PoP)
c)
IP address
d)
Zone
9.
What service allows you to inspect detailed latency information for a single request or view aggregate latency for your entire application?
a)
Error Reporting
b)
Cloud Logging
c)
Cloud Trace
d)
Cloud Monitoring
10.
Which of the following is true concerning Cloud Deployment Manager?
a)
Cloud Deployment Manager is an imperative tool
b)
Templates can be written in XML or YAML
c)
Cloud Deployment Manager is only used for building virtual machines
d)
Cloud Deployment Manager is a declarative tool
11.
Which of the following best describes infrastructure as code?
a)
Tool that automates the construction of an entire infrastructure
b)
A series of scripts that manually build systems
c)
Images used to build virtual machines
d)
A snapshotting tool
12.
Which tool ingests metrics, events, and metadata to generate insights through dashboards, Metrics Explorer charts, and automated alerts?
a)
Cloud Trace
b)
Cloud Profiler
c)
Cloud Source Repositories
d)
Cloud Monitoring
13.
Where can you store and version-control your Terraform templates?
a)
Cloud Trace
b)
Cloud Profiler
c)
Cloud Source Repositories
d)
Cloud Monitoring
14.
In Cloud Logging, what is the default log retention period for data access logs?
a)
365 days
b)
400 days
c)
3650 days
d)
30 days
15.
Which one of the following provides access to logs created by developers who deploy code to Google Cloud?
a)
Agent logs
b)
Network logs
c)
Service Logs
d)
Cloud Audit Logs
16.
You have created a new project in Google Cloud through the gcloud command line interface (CLI) and linked a billing account. You need to create a new Compute Engine instance using the CLI. You need to perform the prerequisite stops. What should you do?
a)
Create a Cloud Monitoring Workspace.
b)
Create a VPC network in the project.
c)
Enable the compute googleapis.com API.
d)
Grant yourself the IAM role of Computer Admin.
17.
Your company has developed a n What should you do?
a)
Deploy the application on GKE, and add a HorizontalPodAutoscaler to the deployment.
b)
Deploy the application on GKE, and add a VerticalPodAutoscaler to the deployment.
c)
Create a GKE cluster with autoscaling enabled on the node pool. Set a minimum and maximum for the size of the node pool.
d)
Create a separate node pool for each application, and deploy each application to its dedicated node pool.
18.
You need to manage a third-party application that will run on a Compute Engine instance. Other Compute Engine instances are already running with default configuration. Application installation files are hosted on Cloud Storage. You need to access these files from the new instance without allowing other virtual machines (VMs) to access these files. What should you do?
a)
Create the instance with the default Compute Engine service account. Grant the service account permissions on Cloud Storage.
b)
Create the instance with the default Compute Engine service account. Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.
c)
Create a new service account and assign this service account to the new instance. Grant the service account permissions on Cloud Storage.
d)
Create a new service account and assign this service account to the new instance. Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.
19.
You need to configure optimal data storage for files stored in Cloud Storage for minimal cost. The files are used in a mission-critical analytics pipeline that is used continually. The users are in Boston, MA (United States). What should you do?
a)
Configure regional storage for the region closest to the users. Configure a Nearline storage class.
b)
Configure regional storage for the region closest to the users. Configure a Standard storage class.
c)
Configure dual-regional storage for the dual region closest to the users. Configure a Nearline storage class.
d)
Configure dual-regional storage for the dual region closest to the users. Configure a Standard storage class.
20.
You are developing a new web application that will be deployed on Google Cloud Platform. As part of your release cycle, you want to test updates to your application on a small portion of real user traffic. The majority of the users should still be directed towards a stable version of your application. What should you do?
a)
Deploy the application on App Engine. For each update, create a new version of the same service. Configure traffic splitting to send a small percentage of traffic to the new version.
b)
Deploy the application on App Engine. For each update, create a new service. Configure traffic splitting to send a small percentage of traffic to the new service.
c)
Deploy the application on Kubernetes Engine. For a new release, update the deployment to use the new version.
d)
Deploy the application on Kubernetes Engine. For a new release, create a new deployment for the new version. Update the service to use the new deployment.
21.
You need to add a group of new users to Cloud Identity. Some of the users already have existing Google accounts. You want to follow one of Google's recommended practices and avoid conflicting accounts. What should you do?
a)
Invite the user to transfer their existing account.
b)
Invite the user to use an email alias to resolve the conflict.
c)
Tell the user that they must delete their existing account.
d)
Tell the user to remove all personal email from the existing account.
22.
You need to manage a Cloud Spanner instance for best query performance. Your instance in production runs in a single Google Cloud region. You need to improve performance in the shortest amount of time. You want to follow Google best practices for service configuration. What should you do?
a)
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 45%. If you exceed this threshold, add nodes to your instance.
b)
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 45%. Use database query statistics to identify queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage.
c)
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65%. If you exceed this threshold, add nodes to your instance.
d)
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65%. Use database query statistics to identify queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage.
23.
Your company has an internal application for managing transactional orders. The application is used exclusively by employees in a single physical location. The application requires strong consistency, fast queries, and ACID guarantees for multi-table transactional updates. The first version of the application is implemented in PostgreSQL, and you want to deploy it to the cloud with minimal code changes. Which database is most appropriate for this application?
a)
BigQuery
b)
Cloud SQL
c)
Cloud Spanner
d)
Cloud Datastore
24.
You are assigned to maintain a Google Kubernetes Engine (GKE) cluster named 'dev' that was deployed on Google Cloud. You want to manage the GKE configuration using the command line interface (CLI). You have just downloaded and installed the Cloud SDK. You want to ensure that future CLI commands by default address this specific cluster What should you do?
a)
Use the command gcloud config set container/cluster dev.
b)
Use the command gcloud container clusters update dev.
c)
Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
d)
Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.
25.
The sales team has a project named Sales Data Digest that has the ID acme-data-digest. You need to set up similar Google Cloud resources for the marketing team but their resources must be organized independently of the sales team. What should you do?
a)
Grant the Project Editor role to the Marketing team for acme-data-digest.
b)
Create a Project Lien on acme-data-digest and then grant the Project Editor role to the Marketing team.
c)
Create another project with the ID acme-marketing-data-digest for the Marketing team and deploy the resources there.
d)
Create a new project named Marketing Data Digest and use the ID acme-data-digest. Grant the Project Editor role to the Marketing team.
26.
You have deployed multiple Linux instances on Compute Engine. You plan on adding more instances in the coming weeks. You want to be able to access all of these instances through your SSH client over the internet without having to configure specific access on the existing and new instances. You do not want the Compute Engine instances to have a public IP. What should you do?
a)
Configure Cloud Identity-Aware Proxy for HTTPS resources.
b)
Configure Cloud Identity-Aware Proxy for SSH and TCP resources
c)
Create an SSH keypair and store the public key as a project-wide SSH Key.
d)
Create an SSH keypair and store the private key as a project-wide SSH Key.
27.
You have created an application that is packaged into a Docker image. You want to deploy the Docker image as a workload on Google Kubernetes Engine. What should you do?
a)
Upload the image to Cloud Storage and create a Kubernetes Service referencing the image.
b)
Upload the image to Cloud Storage and create a Kubernetes Deployment referencing the image.
c)
Upload the image to Container Registry and create a Kubernetes Service referencing the image.
d)
Upload the image to Container Registry and create a Kubernetes Deployment referencing the image.
28.
You are using Data Studio to visualize a table from your data warehouse that is built on top of BigQuery. Data is appended to the data warehouse during the day. At night, the daily summary is recalculated by overwriting the table. You just noticed that the charts in Data Studio are broken, and you want to analyze the problem. What should you do?
a)
Review the Error Reporting page in the Cloud Console to find any errors.
b)
Use the BigQuery interface to review the nightly job and look for any errors.
c)
Use Cloud Debugger to find out why the data was not refreshed correctly.
d)
In Cloud Logging, create a filter for your Data Studio report.
29.
You have been asked to set up the billing configuration for a new Google Cloud customer. Your customer wants to group resources that share common IAM policies. What should you do?
a)
Use labels to group resources that share common IAM policies.
b)
Use folders to group resources that share common IAM policies.
c)
Set up a proper billing account structure to group IAM policies.
d)
Set up a proper project naming structure to group IAM policies.
30.
You have been asked to create robust Virtual Private Network (VPN) connectivity between a new Virtual Private Cloud (VPC) and a remote site. Key requirements include dynamic routing, a shared address space of 10.19.0.1/22, and no overprovisioning of tunnels during a failover event. You want to follow Google- recommended practices to set up a high availability Cloud VPN. What should you do?
a)
Use a custom mode VPC network, configure static routes, and use active/passive routing.
b)
Use an automatic mode VPC network, configure static routes, and use active/active routing.
c)
Use a custom mode VPC network, use Cloud Router border gateway protocol (BGP) routes, and use active/passive routing.
d)
Use an automatic mode VPC network, use Cloud Router border gateway protocol (BGP) routes, and configure policy-based routing.
31.
You are running multiple microservices in a Kubernetes Engine cluster. One microservice is rendering images. The microservice responsible for the image rendering requires a large amount of CPU time compared to the memory it requires. The other microservices are workloads that are optimized for n1-standard machine types. You need to optimize your cluster so that all workloads are using resources as efficiently as possible. What should you do?
a)
Assign the pods of the image rendering microservice a higher pod priority than the other microservices.
b)
Create a node pool with compute-optimized machine type nodes for the image rendering microservice. Use the node pool with general-purpose machine type nodes for the other microservices.
c)
Use the node pool with general-purpose machine type nodes for the image rendering microservice. Create a node pool with compute-optimized machine type nodes for the other microservices.
d)
Configure the required amount of CPU and memory in the resource requests specification of the image rendering microservice deployment. Keep the resource requests for the other microservices at the default.
32.
Your organization has three existing Google Cloud projects. You need to bill the Marketing department for only their Google Cloud services for a new initiative within their group. What should you do?
a)
1. Verify that you are assigned the Billing Administrator IAM role for your organization's Google Cloud Project for the Marketing department. 2. Link the new project to a Marketing Billing Account.
b)
1. Verify that you are assigned the Billing Administrator IAM role for your organization's Google Cloud account. 2. Create a new Google Cloud Project for the Marketing department. 3. Set the default key-value project labels to department:marketing for all services in this project.
c)
1. Verify that you are assigned the Organization Administrator IAM role for your organization's Google Cloud account. 2. Create a new Google Cloud Project for the Marketing department. 3. Link the new project to a Marketing Billing Account.
d)
1. Verify that you are assigned the Organization Administrator IAM role for your organization's Google Cloud account. 2. Create a new Google Cloud Project for the Marketing department. 3. Set the default key-value project labels to department:marketing for all services in this project.
33.
You are the project owner of a GCP project and want to delegate control to colleagues to manage buckets and files in Cloud Storage. You want to follow Google-recommended practices. Which IAM roles should you grant your colleagues? *
a)
Project Editor
b)
Storage Admin
c)
Storage Object Admin
d)
Storage Object Creator
34.
You host a static website on Cloud Storage. Recently, you began to include links to PDF files on this site. Currently, when users click on the links to these PDF files, their browsers prompt them to save the file onto their local system. Instead, you want the clicked PDF files to be displayed within the browser window directly, without prompting the user to save the file locally. What should you do? *
a)
Enable Cloud CDN on the website frontend.
b)
Enable ‘Share publicly’ on the PDF file objects.
c)
Set Content-Type metadata to application/pdf on the PDF file objects.
d)
Add a label to the storage bucket with a key of Content-Type and value of application/pdf.
35.
You are creating a Google Kubernetes Engine (GKE) cluster with a cluster autoscaler feature enabled. You need to make sure that each node of the cluster will run a monitoring pod that sends container metrics to a third-party monitoring solution. What should you do? *
a)
Deploy the monitoring pod in a StatefulSet object.
b)
Deploy the monitoring pod in a DaemonSet object.
c)
Reference the monitoring pod in a Deployment object.
d)
Reference the monitoring pod in a cluster initializer at the GKE cluster creation time.
36.
You need to create a custom VPC with a single subnet. The subnet’s range must be as large as possible. Which range should you use? *
a)
0.0.0.0/0
b)
10.0.0.0/8
c)
172.16.0.0/12
d)
192.168.0.0/16
37.
You want to verify the IAM users and roles assigned within a GCP project named 'my-project'. What should you do? *
a)
Run 'gcloud iam roles list'. Review the output section.
b)
Run 'gcloud iam service-accounts list'. Review the output section.
c)
Navigate to the project and then to the IAM section in the GCP Console. Review the members and roles.
d)
Navigate to the project and then to the Roles section in the GCP Console. Review the roles and status.
38.
You significantly changed a complex Deployment Manager template and want to confirm that the dependencies of all defined resources are properly met before committing it to the project. You want the most rapid feedback on your changes. What should you do? *
a)
Use granular logging statements within a Deployment Manager template authored in Python.
b)
Monitor activity of the Deployment Manager execution on the Stackdriver Logging page of the GCP Console.
c)
Execute the Deployment Manager template against a separate project with the same configuration, and monitor for failures.
d)
Execute the Deployment Manager template using the --preview option in the same project, and observe the state of interdependent resources.
39.
You need to update a deployment in Deployment Manager without any resource downtime in the deployment. Which command should you use? *
a)
gcloud deployment-manager deployments create --config <deployment-config-path>
b)
gcloud deployment-manager deployments update --config <deployment-config-path>
c)
gcloud deployment-manager resources create --config <deployment-config-path>
d)
gcloud deployment-manager resources update --config <deployment-config-path>
40.
You need to set up a policy so that videos stored in a specific Cloud Storage Regional bucket are moved to Coldline after 90 days, and then deleted after one year from their creation. How should you set up the policy? *
a)
Use Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 275 days (365 – 90)
b)
Use Cloud Storage Object Lifecycle Management using Age conditions with SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the Delete action to 365 days.
c)
Use gsutil rewrite and set the Delete action to 275 days (365-90)
d)
Use gsutil rewrite and set the Delete action to 365 days
41.
You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do? *
a)
Use kubectl app deploy <dockerfilename>.
b)
Use gcloud app deploy <dockerfilename>.
c)
Create a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.
d)
Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.
42.
You want to send and consume Cloud Pub/Sub messages from your App Engine application. The Cloud Pub/Sub API is currently disabled. You will use a service account to authenticate your application to the API. You want to make sure your application can use Cloud Pub/Sub. What should you do? *
a)
Enable the Cloud Pub/Sub API in the API Library on the GCP Console.
b)
Rely on the automatic enablement of the Cloud Pub/Sub API when the Service Account accesses it.
c)
Use Deployment Manager to deploy your application. Rely on the automatic enablement of all APIs used by the application being deployed.
d)
Grant the App Engine Default service account the role of Cloud Pub/Sub Admin. Have your application enable the API on the first connection to Cloud Pub/Sub.
43.
You created an instance of SQL Server 2017 on Compute Engine to test features in the new version. You want to connect to this instance using the fewest number of steps. What should you do? *
a)
Install a RDP client on your desktop. Verify that a firewall rule for port 3389 exists.
b)
Install a RDP client in your desktop. Set a Windows username and password in the GCP Console. Use the credentials to log in to the instance.
c)
Set a Windows password in the GCP Console. Verify that a firewall rule for port 22 exists. Click the RDP button in the GCP Console and supply the credentials to log in.
d)
Set a Windows username and password in the GCP Console. Verify that a firewall rule for port 3389 exists. Click the RDP button in the GCP Console, and supply the credentials to log in.
44.
You are analyzing Google Cloud Platform service costs from three separate projects. You want to use this information to create service cost estimates by service type, daily and monthly, for the next six months using standard query syntax. What should you do? *
a)
Export your bill to a Cloud Storage bucket, and then import into Cloud Bigtable for analysis.
b)
Export your bill to a Cloud Storage bucket, and then import into Google Sheets for analysis.
c)
Export your transactions to a local file, and perform analysis with a desktop tool.
d)
Export your bill to a BigQuery dataset, and then write time window-based SQL queries for analysis.
45.
You want to configure autohealing for network load balancing for a group of Compute Engine instances that run in multiple zones, using the fewest possible steps. You need to configure re-creation of VMs if they are unresponsive after 3 attempts of 10 seconds each. What should you do? *
a)
Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP)
b)
Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.
c)
Create a managed instance group. Set the Autohealing health check to healthy (HTTP)
d)
Create a managed instance group. Verify that the autoscaling setting is on.
46.
You need a dynamic way of provisioning VMs on Compute Engine. The exact specifications will be in a dedicated configuration file. You want to follow Google’s recommended practices. Which method should you use? *
a)
Deployment Manager
b)
Cloud Composer
c)
Managed Instance Group
d)
Unmanaged Instance Group
47.
You have a Linux VM that must connect to Cloud SQL. You created a service account with the appropriate access rights. You want to make sure that the VM uses this service account instead of the default Compute Engine service account. What should you do? *
a)
When creating the VM via the web console, specify the service account under the ‘Identity and API Access’ section.
b)
Download a JSON Private Key for the service account. On the Project Metadata, add that JSON as the value for the key compute-engine-service-account.
c)
Download a JSON Private Key for the service account. On the Custom Metadata of the VM, add that JSON as the value for the key compute-engine-service-account.
d)
Download a JSON Private Key for the service account. After creating the VM, ssh into the VM and save the JSON under ~/.gcloud/compute-engine-service-account.json.
48.
You’ve deployed a microservice called 'myapp1' to a Google Kubernetes Engine cluster using the YAML file specified below: You need to refactor this configuration so that the database password is not stored in plain text. You want to follow Google-recommended practices. What should you do? *
a)

Store the database password inside the Docker image of the container, not in the YAML file.

b)

Store the database password inside a Secret object. Modify the YAML file to populate the DB_PASSWORD environment variable from the Secret.

c)

Store the database password inside a ConfigMap object. Modify the YAML file to populate the DB_PASSWORD environment variable from the ConfigMap.

d)

Store the database password in a file inside a Kubernetes persistent volume, and use a persistent volume claim to mount the volume to the container.

49.
You have sensitive data stored in three Cloud Storage buckets and have enabled data access logging. You want to verify activities for a particular user for these buckets, using the fewest possible steps. You need to verify the addition of metadata labels and which files have been viewed from those buckets. What should you do? *
a)
Using the GCP Console, filter the Activity log to view the information.
b)
Using the GCP Console, filter the Stackdriver log to view the information.
c)
View the bucket in the Storage section of the GCP Console.
d)
Create a trace in Stackdriver to view the information.
50.
You have a single binary application that you want to run on Google Cloud Platform. You decided to automatically scale the application based on underlying infrastructure CPU usage. Your organizational policies require you to use virtual machines directly. You need to ensure that the application scaling is operationally efficient and completed as quickly as possible. What should you do? *
a)
Create a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale the application.
b)
Create an instance template, and use the template in a managed instance group with autoscaling configured.
c)
Create an instance template, and use the template in a managed instance group that scales up and down based on the time of day.
d)
Use a set of third-party tools to build automation around scaling the application up and down, based on Stackdriver CPU usage monitoring.
51.
You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google-recommended practices. What should you do? *
a)
Add the auditors group to the ‘logging.viewer’ and ‘bigQuery.dataViewer’ predefined IAM roles.
b)
Add the auditors group to two new custom IAM roles.
c)
Add the auditor user accounts to the ‘logging.viewer’ and ‘bigQuery.dataViewer’ predefined IAM roles.
d)
Add the auditor user accounts to two new custom IAM roles.
52.
You are deploying an application to a Compute Engine VM in a managed instance group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How should you configure the instance group? *
a)
Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
b)
Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
c)
Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
d)
Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
53.
You are looking for an unstructured storage solution for archiving files that might never be accessed again. Which Cloud Storage class is the best option?
a)
Nearline storage
b)
Coldline storage
c)
Archive storage
d)
Standard storage
54.
Which storage solution is a petabyte scale, NoSQL database?
a)
Cloud Spanner
b)
Firestore
c)
Cloud SQL
d)
Bigtable
55.
Google Cloud offers two managed relational database services. What are they?
a)
Cloud Spanner
b)
Firestore
c)
Cloud SQL
d)
Bigtable
56.
Which storage service is best suited to unstructured data?
a)
Cloud Spanner
b)
Firestore
c)
Bigtable
d)
Cloud Storage
57.
Which statement about Pub/Sub is true?
a)
Pub/Sub’s APIs are open.
b)
Pub/Sub requires provisioning.
c)
Pub/Sub is regional by default.
d)
Pub/Sub is unencrypted.
58.
Which platform for developing and managing API proxies has a specific focus on business problems, like rate limiting, quotas, and analytics?
a)
Pub/Sub
b)
REST API
c)
Cloud Endpoints
d)
Apigee Edge
59.
What does API stand for?
a)
Applied Programming Interface
b)
Asynchronous Programming Interface
c)
Artificial Programming Interface
d)
Application Programming Interface
60.
Which API management system supports applications running in App Engine, Google Kubernetes Engine, and Compute Engine?
a)
REST API
b)
Cloud Endpoints
c)
Pub/Sub
d)
Apigee
61.
At which level of Google Cloud’s infrastructure security will you find intrusion detection?
a)
The internet communication level
b)
The operational security level
c)
The storage services level
d)
The hardware infrastructure level
62.
Which IAM role is the most broad in scope?
a)
Custom
b)
Predefined
c)
Basic
63.
When a customer moves an application to Google Cloud, which one of the following does the customer remain responsible for?
a)
Data security
b)
Physical security
c)
Disk encryption
d)
Network integrity
64.
With which encryption option does a customer encrypt data before sending it to Google Cloud?
a)
Google encryption by default
b)
Customer-supplied encryption Keys (CSEK)
c)
Customer-managed encryption keys (CMEK)
d)
Client-side encryption
65.
You want to select and configure a cost-effective solution for relational data on Google Cloud Platform. You are working with a small set of operational data in one geographic location. You need to support point-in-time recovery. What should you do? *
a)
Select Cloud SQL (MySQL). Verify that the enable binary logging option is selected.
b)
Select Cloud SQL (MySQL). Select the create failover replicas option.
c)
Select Cloud Spanner. Set up your instance with 2 nodes.
d)
Select Cloud Spanner. Set up your instance as multi-regional.
66.
You have one GCP account running in your default region and zone and another account running in a non-default region and zone. You want to start a new Compute Engine instance in these two Google Cloud Platform accounts using the command line interface. What should you do? *
a)
Create two configurations using gcloud config configurations create [NAME]. Run gcloud config configurations activate [NAME] to switch between accounts when running the commands to start the Compute Engine instances.
b)
Create two configurations using gcloud config configurations create [NAME]. Run gcloud configurations list to start the Compute Engine instances.
c)
Activate two configurations using gcloud configurations activate [NAME]. Run gcloud config list to start the Compute Engine instances.
d)
Activate two configurations using gcloud configurations activate [NAME]. Run gcloud configurations list to start the Compute Engine instances.
67.
You have a virtual machine that is currently configured with 2 vCPUs and 4 GB of memory. It is running out of memory. You want to upgrade the virtual machine to have 8 GB of memory. What should you do? *
a)
Rely on live migration to move the workload to a machine with more memory.
b)
Use gcloud to add metadata to the VM. Set the key to 'required-memory-size' and the value to '8 GB'.
c)
Stop the VM, change the machine type to 'n1-standard-8', and start the VM.
d)
Stop the VM, increase the memory to '8 GB', and start the VM.
68.
You create a new Google Kubernetes Engine (GKE) cluster and want to make sure that it always runs a supported and stable version of Kubernetes. What should you do? *
a)
Enable the Node Auto-Repair feature for your GKE cluster.
b)
Enable the Node Auto-Upgrades feature for your GKE cluster.
c)
Select the latest available cluster version for your GKE cluster.
d)
Select “Container-Optimized OS (cos)” as a node image for your GKE cluster.
69.
You created a Google Cloud Platform project with an App Engine application inside the project. You initially configured the application to be served from the us-central region. Now you want the application to be served from the asia-northeast1 region. What should you do? *
a)

Change the default region property setting in the existing GCP project to asia-northeast1.

b)

Change the region property setting in the existing App Engine application from us-central to asia-northeast1.

c)

Create a second App Engine application in the existing GCP project and specify asia-northeast1 as the region to serve your application.

d)

Create a new GCP project and create an App Engine application inside this new project. Specify asia-northeast1 as the region to serve your application.

70.
Your development team needs a new Jenkins server for their project. You need to deploy the server using the fewest steps possible. What should you do? *
a)
Download and deploy the Jenkins Java WAR to App Engine Standard.
b)
Create a new Compute Engine instance and install Jenkins through the command line interface.
c)
Create a Kubernetes cluster on Compute Engine and create a deployment with the Jenkins Docker image.
d)
Use GCP Marketplace to launch the Jenkins solution.
71.
You have a single binary application that you want to run on Google Cloud Platform. You decided to automatically scale the application based on underlying infrastructure CPU usage. Your organizational policies require you to use virtual machines directly. You need to ensure that the application scaling is operationally efficient and completed as quickly as possible. What should you do? *
a)
Create a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale the application.
b)
Create an instance template, and use the template in a managed instance group with autoscaling configured.
c)
Create an instance template, and use the template in a managed instance group that scales up and down based on the time of day.
d)
Use a set of third-party tools to build automation around scaling the application up and down, based on Stackdriver CPU usage monitoring.
72.
You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as much of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file? *
a)
Use the GCP Console to transfer the file instead of 'gsutil'.
b)
Enable parallel composite uploads using 'gsutil' on the file transfer.
c)
Decrease the TCP window size on the machine initiating the transfer.
d)
Change the storage class of the bucket from Nearline to Multi-Regional.
73.
You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do? *
a)
Use Shared VPC to connect all projects, and link Stackdriver to one of the projects.
b)
For each project, create a Stackdriver account. In each project, create a service account for that project and grant it the role of Stackdriver Account Editor in all other projects.
c)
Configure a single Stackdriver account, and link all projects to the same account.
d)
Configure a single Stackdriver account for one of the projects. In Stackdriver, create a Group and add the other project names as criteria for that Group.
74.
You have a project for your App Engine application that serves a development environment. The required testing has succeeded and you want to create a new project to serve as your production environment. What should you do? *
a)
Use gcloud to create the new project, and then deploy your application to the new project.
b)
Use gcloud to create the new project and to copy the deployed application to the new project.
c)
Create a Deployment Manager configuration file that copies the current App Engine deployment into a new project.
d)
Deploy your application again using gcloud and specify the project parameter with the new project name to create the new project.
75.
You need to set up permissions for a set of Compute Engine instances to enable them to write data into a particular Cloud Storage bucket. You want to follow Google-recommended practices. What should you do? *
a)
Create a service account with an access scope. Use the access scope 'https://www.googleapis.com/auth/devstorage.write_only'.
b)
Create a service account with an access scope. Use the access scope https://www.googleapis.com/auth/cloud-platform'.
c)
Create a service account and add it to the IAM role ‘storage.objectCreator’ for that bucket.
d)
Create a service account and add it to the IAM role ‘storage.objectAdmin’ for that bucket.
76.
You need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do? *
a)
Verify that you are Project Billing Manager for the GCP project. Update the existing project to link it to the existing billing account.
b)
Verify that you are Project Billing Manager for the GCP project. Create a new billing account and link the new billing account to the existing project.
c)
Verify that you are Billing Administrator for the billing account. Create a new project and link the new project to the existing billing account.
d)
Verify that you are Billing Administrator for the billing account. Update the existing project to link it to the existing billing account.
77.
You want to configure 10 Compute Engine instances for availability when maintenance occurs. Your requirements state that these instances should attempt to automatically restart if they crash. Also, the instances should be highly available including during system maintenance. What should you do?
a)

Create an instance template for the instances. Set the ‘Automatic Restart’ to on. Set the ‘On-host maintenance’ to Migrate VM instance. Add the instance template to an instance group.

b)

Create an instance template for the instances. Set ‘Automatic Restart’ to off. Set ‘On-host maintenance’ to Terminate VM instances. Add the instance template to an instance group.

c)

Create an instance group for the instances. Set the ‘Autohealing’ health check to healthy (HTTP).

d)

Create an instance group for the instance. Verify that the ‘Advanced creation options’ setting for ‘do not retry machine creation’ is set to off.

78.
You have an application that looks for its licensing server on the IP 10.0.3.21. You need to deploy the licensing server on Compute Engine. You do not want to change the configuration of the application and want the application to be able to reach the licensing server. What should you do? *
a)
Reserve the IP 10.0.3.21 as a static internal IP address using gcloud and assign it to the licensing server.
b)
Reserve the IP 10.0.3.21 as a static public IP address using gcloud and assign it to the licensing server.
c)
Use the IP 10.0.3.21 as a custom ephemeral IP address and assign it to the licensing server.
d)
Start the licensing server with an automatic ephemeral IP address, and then promote it to a static internal IP address.
79.
You have an instance group that you want to load balance. You want the load balancer to terminate the client SSL session. The instance group is used to serve a public web application over HTTPS. You want to follow Google-recommended practices. What should you do? *
a)
Configure an HTTP(S) load balancer.
b)
Configure an internal TCP load balancer.
c)
Configure an external SSL proxy load balancer.
d)
Configure an external TCP proxy load balancer.
80.
You recently deployed a new version of an application to App Engine and then discovered a bug in the release. You need to immediately revert to the prior version of the application. What should you do? *
a)
Run 'gcloud app restore'.
b)
On the App Engine page of the GCP Console, select the application that needs to be reverted and click 'Revert'.
c)
On the App Engine Versions page of the GCP Console, route 100% of the traffic to the previous version.
d)
Deploy the original version as a separate application. Then go to App Engine settings and split traffic between applications so that the original version serves 100% of the requests.
81.
You have an object in a Cloud Storage bucket that you want to share with an external company. The object contains sensitive data. You want access to the content to be removed after four hours. The external company does not have a Google account to which you can grant specific user-based access privileges. You want to use the most secure method that requires the fewest steps. What should you do? *
a)
Create a signed URL with a four-hour expiration and share the URL with the company.
b)
Set object access to ‘public’ and use object lifecycle management to remove the object after four hours.
c)
Configure the storage bucket as a static website and furnish the object’s URL to the company. Delete the object from the storage bucket after four hours.
d)
Create a new Cloud Storage bucket specifically for the external company to access. Copy the object to that bucket. Delete the bucket after four hours have passed.
82.
You need to update a deployment in Deployment Manager without any resource downtime in the deployment. Which command should you use? *
a)
gcloud deployment-manager deployments create --config <deployment-config-path>
b)
gcloud deployment-manager deployments update --config <deployment-config-path>
c)
gcloud deployment-manager resources create --config <deployment-config-path>
d)
gcloud deployment-manager resources update --config <deployment-config-path>
83.
You created an instance of SQL Server 2017 on Compute Engine to test features in the new version. You want to connect to this instance using the fewest number of steps. What should you do? *
a)
Install a RDP client on your desktop. Verify that a firewall rule for port 3389 exists.
b)
Install a RDP client in your desktop. Set a Windows username and password in the GCP Console. Use the credentials to log in to the instance.
c)
Set a Windows password in the GCP Console. Verify that a firewall rule for port 22 exists. Click the RDP button in the GCP Console and supply the credentials to log in.
d)
Set a Windows username and password in the GCP Console. Verify that a firewall rule for port 3389 exists. Click the RDP button in the GCP Console, and supply the credentials to log in.
84.
You need a dynamic way of provisioning VMs on Compute Engine. The exact specifications will be in a dedicated configuration file. You want to follow Google’s recommended practices. Which method should you use? *
a)
Deployment Manager
b)
Cloud Composer
c)
Managed Instance Group
d)
Unmanaged Instance Group
85.
Select two fundamental characteristics of cloud computing from this list.
a)
Customers can scale their resource use up and down.
b)
Resources are available from anywhere over the network.
c)
Providers always dedicate physical resources to each customer.
d)
Customers are required to commit to multi-year contracts.
e)
All resources are open source.
86.
Who benefits the most from billing by the second for cloud resources, such as virtual machines?
a)
Customers who create many virtual machines and leave them running for months
b)
Customers who create and run many virtual machines
c)
Customers who create virtual machines that run commercially licensed operating systems
d)
Customers who create too few virtual machines to get discounts
87.
Which one of the following statements is true regarding the ability to scale cloud computing resources up and down?
a)
Only CPU and memory resources are elastic.
b)
CPU, memory, and storage resources are elastic.
c)
Cloud computing does not provide a way to scale resources.
d)
Only storage resources are elastic.
88.
What cloud computing service binds application code to libraries that give access to the infrastructure an application needs?
a)
Infrastructure as a service
b)
Platform as a service
c)
Virtualized data centers
d)
Hybrid cloud
e)
Software as a service
89.
Why might a Google Cloud customer use resources in several zones within a region?
a)
For better performance
b)
For improved fault tolerance
c)
For getting discounts on other zones
d)
For expanding services to customers in new areas
90.
What cloud computing service provides raw compute, storage, and network resources that are organized similarly to physical data centers?
a)
Platform as a service
b)
Infrastructure as a service
c)
Database as a service
d)
Software as a service
91.
What is the difference between Identity and Access Management (IAM) basic roles and IAM predefined roles?
a)
Basic roles only apply to the owner of the Google Cloud project. Predefined roles can be associated with any user.
b)
Basic roles affect all resources in a Google Cloud project. Predefined roles apply to a specific service in a project.
c)
Basic roles can only be granted to single users. Predefined roles can be associated with a group.
d)
Basic roles only allow viewing, creating, and deleting resources. Predefined roles allow any modification.
92.
Which statement best describes how Google Cloud resources are associated within the resource hierarchy?
a)
All Google Cloud resources are associated with an organization.
b)
All Google Cloud resources are associated with a project.
c)
Google Cloud resources are not associated with the resource hierarchy.
d)
All Google Cloud resources are associated with a folder.
93.
When would you choose to have an organization node? (Select two)
a)
When you want to centrally apply organization-wide policies
b)
When you want to create folders
c)
There’s no choice; organization nodes are mandatory.
d)
When you want to organize resources into projects
94.
Select the option that displays IAM roles from general to specific.
a)
Predefined roles, custom roles, basic roles
b)
Basic roles, predefined roles, custom roles
c)
Custom roles, predefined roles, basic roles
95.
How does the resource hierarchy control how IAM policies are inherited?
a)
IAM policies are only implemented at the project level; they cannot be amended by lower levels of the resource hierarchy.
b)
IAM policies that are implemented higher in the resource hierarchy deny access that is granted by lower-level policies.
c)
IAM policies that are implemented by lower-level policies can override the policies defined at a higher level.
96.
Your company has two Google Cloud projects and you want them to share policies. What is the least error-prone way to set this up?
a)
Create shared resource policies on the common resources that are used in both projects.
b)
Duplicate all the policies from one project onto the other.
c)
Define the new shared policy in the organization node.
d)
Place both projects into a folder, and define the policies on that folder.
97.
Consider a single hierarchy of Google Cloud resources. Which of these situations is possible? (Choose 3 responses.)
a)
There is an organization node, and there are no folders.
b)
There is no organization node, and there are no folders.
c)
There are two or more organization nodes.
d)
There is an organization node, and there is at least one folder.
e)
There is no organization node, but there is at least one folder.
98.
Which way of accessing Google Cloud lets you control services through the code you write?
a)
APIs
b)
The Cloud Console
c)
The Cloud Console mobile app
d)
The Cloud SDK and Cloud Shell
99.
Which statement best describes how VPC routers and firewalls work?
a)
They are managed by Google in virtual machines and customers cannot modify them.
b)
Customers provision virtual machines and run their routers and firewalls in them.
c)
They are managed by Google in virtual machines and customers can tune or deactivate them.
d)
They are managed by Google as a built-in feature.
100.
A Google Cloud customer wants to load-balance traffic among the backend VMs that form part of a multi-tier application. Which load-balancing option should this customer choose?
a)
The global TCP proxy
b)
The global SSL proxy
c)
The regional internal load balancer
d)
The global HTTP(S) load balancer
e)
The regional load balancer
101.
Which term describes a secure, individual, private cloud-computing model hosted within a public cloud?
a)
Domain name system (DNS)
b)
Virtual private network (VPN)
c)
Content delivery network (CDN)
d)
Virtual private cloud (VPC)
102.
Which interconnect option is a service level agreement (SLA) available for?
a)
Carrier Peering
b)
Standard Network Tier
c)
Direct Peering
d)
Dedicated Interconnect
103.
Select the true statement about Google’s VPC networks and subnets.
a)
Networks are global, and subnets are zonal.
b)
Both networks and subnets are global.
c)
Networks are regional, and subnets are zonal.
d)
Networks are global, and subnets are regional.
104.
Preemptible VMs can offer advantages over a standard Compute Engine VM. What is a reason customers choose preemptible VMs?
a)
To reduce cost on premium operating systems
b)
To reduce cost
c)
To use custom machine types
d)
To improve performance
105.
Which statement describes the correct Cloud Storage use case?
a)
Cloud Storage provides the root file system of a Linux virtual machine.
b)
Cloud Storage provides data warehousing services.
c)
Cloud Storage provides RDBMS (Relational Database Management System) services.
d)
Cloud Storage provides durable and highly available object storage.
106.
How are Firestore and Bigtable alike? (Select two answers.)
a)
They are both NoSQL databases.
b)
They both offer SQL-like queries.
c)
They both have a free daily quota.
d)
They are both highly scalable.
107.
You manufacture devices with sensors and need to stream huge amounts of data from these devices to a storage option in the cloud. Which storage option is the best choice for your application?
a)
Bigtable
b)
BigQuery
c)
Cloud Spanner
d)
Firestore
108.
Why would a customer consider the Coldline Storage class?
a)
To save money on storing infrequently accessed data
b)
To improve security
c)
To use the Coldline Storage API
d)
To save money on storing frequently accessed data
109.
Your managed instance group raised an alert stating that new instance creation has failed to create new instances. You need to maintain the number of running instances specified by the template to be able to process expected application traffic. What should you do?
a)
Create an instance template that contains valid syntax which will be used by the instance group. Delete any persistent disks with the same name as instance names.
b)
Create an instance template that contains valid syntax that will be used by the instance group. Verify that the instance name and persistent disk name values are not the same in the template.
c)
Verify that the instance template being used by the instance group contains valid syntax. Delete any persistent disks with the same name as instance names. Set the disks.autoDelete property to true in the instance template.
d)
Delete the current instance template and replace it with a new instance template. Verify that the instance name and persistent disk name values are not the same in the template. Set the disks.autoDelete property to true in the instance template.
110.
Your company is moving from an on-premises environment to Google Cloud. You have multiple development teams that use Cassandra environments as backend databases. They all need a development environment that is isolated from other Cassandra instances. You want to move to Google Cloud quickly and with minimal support effort. What should you do?
a)
1. Build an instruction guide to install Cassandra on Google Cloud. 2. Make the instruction guide accessible to your developers.
b)
1. Advise your developers to go to Cloud Marketplace. 2. Ask the developers to launch a Cassandra image for their development work.
c)
1. Build a Cassandra Compute Engine instance and take a snapshot of it. 2. Use the snapshot to create instances for your developers.
d)
1. Build a Cassandra Compute Engine instance and take a snapshot of it. 2. Upload the snapshot to Cloud Storage and make it accessible to your developers. 3. Build instructions to create a Compute Engine instance from the snapshot so that developers can do it themselves.
111.
You have a Compute Engine instance hosting a production application. You want to receive an email if the instance consumes more than 90% of its CPU resources for more than 15 minutes. You want to use Google services. What should you do?
a)
1. Create a consumer Gmail account. 2. Write a script that monitors the CPU usage. 3. When the CPU usage exceeds the threshold, have that script send an email using the Gmail account and smtp.gmail.com on port 25 as SMTP server.
b)
1. Create a Stackdriver Workspace, and associate your Google Cloud Platform (GCP) project with it. 2. Create an Alerting Policy in Stackdriver that uses the threshold as a trigger condition. 3. Configure your email address in the notification channel.
c)
1. Create a Stackdriver Workspace, and associate your GCP project with it. 2. Write a script that monitors the CPU usage and sends it as a custom metric to Stackdriver. 3. Create an uptime check for the instance in Stackdriver.
d)
1. In Stackdriver Logging, create a logs-based metric to extract the CPU usage by using this regular expression: CPU Usage: ([0-9] {1,3})% 2. In Stackdriver Monitoring, create an Alerting Policy based on this metric. 3. Configure your email address in the notification channel.
112.
You have an application that uses Cloud Spanner as a backend database. The application has a very predictable traffic pattern. You want to automatically scale up or down the number of Spanner nodes depending on traffic. What should you do?
a)
Create a cron job that runs on a scheduled basis to review Cloud Monitoring metrics, and then resize the Spanner instance accordingly.
b)
Create a Cloud Monitoring alerting policy to send an alert to oncall SRE emails when Cloud Spanner CPU exceeds the threshold. SREs would scale resources up or down accordingly.
c)
Create a Cloud Monitoring alerting policy to send an alert to Google Cloud Support email when Cloud Spanner CPU exceeds your threshold. Google support would scale resources up or down accordingly.
d)
Create a Cloud Monitoring alerting policy to send an alert to webhook when Cloud Spanner CPU is over or under your threshold. Create a Cloud Function that listens to HTTP and resizes Spanner resources accordingly.
113.
Your company publishes large files on an Apache web server that runs on a Compute Engine instance. The Apache web server is not the only application running in the project. You want to receive an email when the egress network costs for the server exceed 100 dollars for the current month as measured by Google Cloud. What should you do?
a)
Set up a budget alert on the project with an amount of 100 dollars, a threshold of 100%, and notification type of ג€email.ג€
b)
Set up a budget alert on the billing account with an amount of 100 dollars, a threshold of 100%, and notification type of ג€email.ג€
c)
Export the billing data to BigQuery. Create a Cloud Function that uses BigQuery to sum the egress network costs of the exported billing data for the Apache web server for the current month and sends an email if it is over 100 dollars. Schedule the Cloud Function using Cloud Scheduler to run hourly.
d)
Use the Cloud Logging Agent to export the Apache web server logs to Cloud Logging. Create a Cloud Function that uses BigQuery to parse the HTTP response log data in Cloud Logging for the current month and sends an email if the size of all HTTP responses, multiplied by current Google Cloud egress prices, totals over 100 dollars. Schedule the Cloud Function using Cloud Scheduler to run hourly.
114.
You have designed a solution on Google Cloud that uses multiple Google Cloud products. Your company has asked you to estimate the costs of the solution. You need to provide estimates for the monthly total cost. What should you do?
a)
For each Google Cloud product in the solution, review the pricing details on the products pricing page. Use the pricing calculator to total the monthly costs for each Google Cloud product.
b)
For each Google Cloud product in the solution, review the pricing details on the products pricing page. Create a Google Sheet that summarizes the expected monthly costs for each product.
c)
Provision the solution on Google Cloud. Leave the solution provisioned for 1 week. Navigate to the Billing Report page in the Cloud Console. Multiply the 1 week cost to determine the monthly costs.
d)
Provision the solution on Google Cloud. Leave the solution provisioned for 1 week. Use Cloud Monitoring to determine the provisioned and used resource amounts. Multiply the 1 week cost to determine the monthly costs.
115.
You have an application that receives SSL-encrypted TCP traffic on port 443. Clients for this application are located all over the world. You want to minimize latency for the clients. Which load balancing option should you use?
a)
HTTPS Load Balancer
b)
Network Load Balancer
c)
SSL Proxy Load Balancer
d)
Internal TCP/UDP Load Balancer. Add a firewall rule allowing ingress traffic from 0.0.0.0/0 on the target instances.
116.
You have an application on a general-purpose Compute Engine instance that is experiencing excessive disk read throttling on its Zonal SSD Persistent Disk. The application primarily reads large files from disk. The disk size is currently 350 GB. You want to provide the maximum amount of throughput while minimizing costs. What should you do?
a)
Increase the size of the disk to 1 TB.
b)
Increase the allocated CPU to the instance.
c)
Migrate to use a Local SSD on the instance.
d)
Migrate to use a Regional SSD on the instance.
117.
Your Dataproc cluster runs in a single Virtual Private Cloud (VPC) network in a single subnet with range 172.16.20.128/25. There are no private IP addresses available in the VPC network. You want to add new VMs to communicate with your cluster using the minimum number of steps. What should you do?
a)
Modify the existing subnet range to 172.16.20.0/24.
b)
Create a new Secondary IP Range in the VPC and configure the VMs to use that range.
c)
Create a new VPC network for the VMs. Enable VPC Peering between the VMs' VPC network and the Dataproc cluster VPC network.
d)
Create a new VPC network for the VMs with a subnet of 172.32.0.0/16. Enable VPC network Peering between the Dataproc VPC network and the VMs VPC network. Configure a custom Route exchange.
118.
You manage an App Engine Service that aggregates and visualizes data from BigQuery. The application is deployed with the default App Engine Service account. The data that needs to be visualized resides in a different project managed by another team. You do not have access to this project, but you want your application to be able to read data from the BigQuery dataset. What should you do?
a)
Ask the other team to grant your default App Engine Service account the role of BigQuery Job User.
b)
Ask the other team to grant your default App Engine Service account the role of BigQuery Data Viewer.
c)
In Cloud IAM of your project, ensure that the default App Engine service account has the role of BigQuery Data Viewer.
d)
In Cloud IAM of your project, grant a newly created service account from the other team the role of BigQuery Job User in your project.
119.
You need to create a copy of a custom Compute Engine virtual machine (VM) to facilitate an expected increase in application traffic due to a business acquisition. What should you do?
a)
Create a Compute Engine snapshot of your base VM. Create your images from that snapshot.
b)
Create a Compute Engine snapshot of your base VM. Create your instances from that snapshot.
c)
Create a custom Compute Engine image from a snapshot. Create your images from that image.
d)
Create a custom Compute Engine image from a snapshot. Create your instances from that image.
120.
You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What should you do?
a)
Navigate to Cloud Logging and view the application logs.
b)
Connect to the instance's serial console and read the application logs.
c)
Configure a Health Check on the instance and set a Low Healthy Threshold value.
d)
Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.
121.
An application generates daily reports in a Compute Engine virtual machine (VM). The VM is in the project corp-iot-insights. Your team operates only in the project corp-aggregate-reports and needs a copy of the daily exports in the bucket corp-aggregate-reports-storage. You want to configure access so that the daily reports from the VM are available in the bucket corp-aggregate-reports-storage and use as few steps as possible while following Google-recommended practices. What should you do?
a)
Move both projects under the same folder.
b)
Grant the VM Service Account the role Storage Object Creator on corp-aggregate-reports-storage.
c)
Create a Shared VPC network between both projects. Grant the VM Service Account the role Storage Object Creator on corp-iot-insights.
d)
Make corp-aggregate-reports-storage public and create a folder with a pseudo-randomized suffix name. Share the folder with the IoT team.
122.
You built an application on your development laptop that uses Google Cloud services. Your application uses Application Default Credentials for authentication and works fine on your development laptop. You want to migrate this application to a Compute Engine virtual machine (VM) and set up authentication using Google- recommended practices and minimal changes. What should you do?
a)
Assign appropriate access for Google services to the service account used by the Compute Engine VM.
b)
Create a service account with appropriate access for Google services, and configure the application to use this account.
c)
Store credentials for service accounts with appropriate access for Google services in a config file, and deploy this config file with your application.
d)
Store credentials for your user account with appropriate access for Google services in a config file, and deploy this config file with your application.
123.
You need to create a Compute Engine instance in a new project that doesn't exist yet. What should you do?
a)
Using the Cloud SDK, create a new project, enable the Compute Engine API in that project, and then create the instance specifying your new project.
b)
Enable the Compute Engine API in the Cloud Console, use the Cloud SDK to create the instance, and then use the --project flag to specify a new project.
c)
Using the Cloud SDK, create the new instance, and use the --project flag to specify the new project. Answer yes when prompted by Cloud SDK to enable the Compute Engine API.
d)
Enable the Compute Engine API in the Cloud Console. Go to the Compute Engine section of the Console to create a new instance, and look for the Create In A New Project option in the creation form.
124.
Your company runs one batch process in an on-premises server that takes around 30 hours to complete. The task runs monthly, can be performed offline, and must be restarted if interrupted. You want to migrate this workload to the cloud while minimizing cost. What should you do?
a)
Migrate the workload to a Compute Engine Preemptible VM.
b)
Migrate the workload to a Google Kubernetes Engine cluster with Preemptible nodes.
c)
Migrate the workload to a Compute Engine VM. Start and stop the instance as needed.
d)
Create an Instance Template with Preemptible VMs On. Create a Managed Instance Group from the template and adjust Target CPU Utilization. Migrate the workload.
125.
You are developing a new application and are looking for a Jenkins installation to build and deploy your source code. You want to automate the installation as quickly and easily as possible. What should you do?
a)
Deploy Jenkins through the Google Cloud Marketplace.
b)
Create a new Compute Engine instance. Run the Jenkins executable.
c)
Create a new Kubernetes Engine cluster. Create a deployment for the Jenkins image.
d)
Create an instance template with the Jenkins executable. Create a managed instance group with this template.
126.
You have downloaded and installed the gcloud command line interface (CLI) and have authenticated with your Google Account. Most of your Compute Engine instances in your project run in the europe-west1-d zone. You want to avoid having to specify this zone with each CLI command when managing these instances. What should you do?
a)
Set the europe-west1-d zone as the default zone using the gcloud config subcommand.
b)
In the Settings page for Compute Engine under Default location, set the zone to europeג€"west1-d.
c)
In the CLI installation directory, create a file called default.conf containing zone=europeג€"west1ג€"d.
d)
Create a Metadata entry on the Compute Engine page with key compute/zone and value europeג€"west1ג€"d.
127.
The core business of your company is to rent out construction equipment at large scale. All the equipment that is being rented out has been equipped with multiple sensors that send event information every few seconds. These signals can vary from engine status, distance traveled, fuel level, and more. Customers are billed based on the consumption monitored by these sensors. You expect high throughput `" up to thousands of events per hour per device `" and need to retrieve consistent data based on the time of the event. Storing and retrieving individual signals should be atomic. What should you do?
a)
Create a file in Cloud Storage per device and append new data to that file.
b)
Create a file in Cloud Filestore per device and append new data to that file.
c)
Ingest the data into Datastore. Store data in an entity group based on the device.
d)
Ingest the data into Cloud Bigtable. Create a row key based on the event timestamp.
128.
You are asked to set up application performance monitoring on Google Cloud projects A, B, and C as a single pane of glass. You want to monitor CPU, memory, and disk. What should you do?
a)
Enable API and then share charts from project A, B, and C.
b)
Enable API and then give the metrics.reader role to projects A, B, and C.
c)
Enable API and then use default dashboards to view all projects in sequence.
d)
Enable API, create a workspace under project A, and then add projects B and C.
129.
Which statement regarding Google Cloud and data encryption is accurate? (Choose 1)
a)
Only data at rest is encrypted.
b)
Only data in transit is encrypted.
c)
Data is encrypted at rest and in transit.
d)
Nothing is encrypted by default. Data must be encrypted by the customer.
130.
When comparing on-premises, IaaS, PaaS, and managed services, which option requires the least amount of work for the user in terms of security? (Choose 1)
a)
IaaS
b)
Managed service
c)
On-premises
d)
PaaS
131.
True or False. Managing Google Cloud users through Google Groups allows an administrator to manage team identities centrally.
a)
true
b)
false
132.
What is the main purpose of a service account? (Choose 1)
a)
Lock down a user.
b)
Create a user in Google Cloud.
c)
Give permissions to a group of users.
d)
Allow for service-to-service interaction with Google Cloud.
133.
What do basic roles grant permissions to? (Choose 1)
a)
Folders
b)
Groups
c)
Organizations
d)
Projects
134.
True or False. Admin is an example of a basic role?
a)
true
b)
false
135.
When setting up user/role pairings in Google Cloud, which of the following is true? (Choose 1)
a)
Permissions are not inherited.
b)
Everyone is a project owner by default.
c)
The user will always inherit the stricter permission applied.
d)
Permissions are inherited and the least restrictive permission will be inherited.
136.
What service is used to supply encryption keys when users want to manage their own keys? (Choose 1)
a)
Cloud HSM
b)
Cloud Key Management System
c)
Google is encrypted by default. No keys are required.
d)
The customer must bring their own keys and manage them.
137.
True or False. Identity-Aware Proxy (IAP) allows you to use an application-level access control model instead of relying on network-level firewalls.
a)
true
b)
false
138.
There are a number of best practices that should be applied to identity and access management. Which of the following does Google recommend? (Choose 1)
a)
Use folders to group instances.
b)
Use custom roles for all objects.
c)
Try to use basic roles instead of pre-defined roles.
d)
Use the “principle of least privilege” when distributing permissions.
139.
You want to generate your own encryption keys that will be used for securing the data used by an application which will be deployed to Google Cloud. Which Google service allows you to provide the encryption keys as part of your application’s Google Cloud API calls? (Choose 1)
a)
Google encryption by default
b)
Scripted encryption keys (SEK)
c)
Customer-supplied encryption keys (CSEK)
d)
Customer-managed encryption keys (CMEK)
140.
You are migrating an application from your physical infrastructure where you are responsible for security, to a Google-managed services solution. Which layers of security are you now responsible for? (Choose 2)
a)
Usage
b)
Network
c)
Content
d)
Operations
e)
Audit Logging
141.
You want to encrypt your data and utilize a managed service in addition to the standard encryption process. Which service can you choose that will manage your keys and provide asymmetric key support? (Choose 1)
a)
App Engine
b)
Identity-Aware Proxy
c)
Cloud Key Management Service
d)
Cloud Identity and Access Management
142.
You want to define a custom IAM role named instanceOperator. The role will only be able to start and stop instances, not delete them. Which level can the role be applied at? (Choose 1)
a)
Folder
b)
Resource
c)
Organization
d)
Compute Engine
143.
You want to map users and groups from your Microsoft Active Directory domain to a Cloud Identity domain. What action should you take to achieve this? (Choose 1)
a)
Sync users and groups using Cloud Directory Sync.
b)
Sync users and groups using Google Cloud Connector.
c)
Enable Azure Active Directory Connect synchronization.
d)
Enable LDAP Directory Synchronization for Active Directory.
144.
You have five virtual machines in a project utilizing service accounts. You need to change the permissions of a service account from objectViewer to Editor on two virtual machines. What action should you take to accomplish this? (Choose 1)
a)
Apply a basic role to the VMs.
b)
Modify the service account permission.
c)
Move the virtual machines to a new project.
d)
Recreate the virtual machines and apply the new permissions.
145.
[User Authentication: Identity-Aware Proxy] You want to control access to your cloud applications running on Google Cloud. You want to intercept web requests sent to your application, authenticate the user making the request and only let through the requests if they come from a user you authorize. What solution can you deploy? (Choose 1)
a)
Apigee
b)
App Engine
c)
Cloud Policy Intelligence
d)
Identity-Aware Proxy
146.
[User Authentication: Identity-Aware Proxy] You are configuring the Identity-Aware Proxy using the Cloud Console. This is the first time you have enabled an authentication option for this project. What action must you take? (Choose 1)
a)
Configure Domain verification.
b)
Configure a HTTPS Load Balancer.
c)
Configure the OAuth consent screen.
d)
Configure the Application privacy policy.
147.
[User Authentication: Identity-Aware Proxy] You want to ensure that the user identity information your app receives is valid so that you can prevent spoofing even if the Identity Aware-Proxy is bypassed. What can you configure in order to achieve this? (Choose 1)
a)
Request headers
b)
Assertion headers
c)
Cryptographic verification
d)
Two-factor authentication
148.

Your organization needs to build streaming data pipelines. You don't want to manage the individual servers that do the data processing in the pipelines. Instead, you want a managed service that will automatically scale with the amount of data to be processed. Which Google Cloud product or feature should your organization choose?

a)

Pub/Sub

b)

Dataflow

c)

Data Catalog

d)

Dataprep by Trifacta

149.

Your organization is building an application running in Google Cloud. Currently, software builds, tests, and regular deployments are done manually, but you want to reduce work for the team. Your organization wants to use Google Cloud managed solutions to automate your build, testing, and deployment process. Which Google Cloud product or feature should your organization use?

a)

Cloud Scheduler

b)

Cloud Code

c)

Cloud Build

d)

Cloud Deployment Manager

150.

Which Google Cloud product can report on and maintain compliance on your entire Google Cloud organization to cover multiple projects?

a)

Cloud Logging

b)

Identity and Access Management

c)

Google Cloud Armor

d)

Security Command Center

151.

Your organization needs to establish private network connectivity between its on-premises network and its workloads running in Google Cloud. You need to be able to set up the connection as soon as possible.

Which Google Cloud product or feature should you use?

a)

Cloud Interconnect

b)

Direct Peering

c)

Cloud VPN

d)

Cloud CDN

152.

Your organization is developing a mobile app and wants to select a fully featured cloud-based compute platform for it.

Which Google Cloud product or feature should your organization use?

a)

Google Kubernetes Engine

b)

Firebase

c)

Cloud Functions

d)

App Engine

153.

Your company has been using a shared facility for data storage and will be migrating to Google Cloud. One of the internal applications uses Linux custom images that need to be migrated.

Which Google Cloud product should you use to maintain the custom images?

a)

App Engine flexible environment

b)

Compute Engine

c)

App Engine standard environment

d)

Google Kubernetes Engine

154.

Your organization wants to migrate its data management solutions to Google Cloud because it needs to dynamically scale up or down and to run transactional

SQL queries against historical data at scale. Which Google Cloud product or service should your organization use?

a)

BigQuery

b)

Cloud Bigtable

c)

Pub/Sub

d)

Cloud Spanner

155.

Your organization needs to categorize objects in a large group of static images using machine learning. Which Google Cloud product or service should your organization use?

a)

BigQuery ML

b)

AutoML Video Intelligence

c)

Cloud Vision API

d)

AutoML Tables

156.

Your organization runs all its workloads on Compute Engine virtual machine instances. Your organization has a security requirement: the virtual machines are not allowed to access the public internet. The workloads running on those virtual machines need to access BigQuery and Cloud Storage, using their publicly accessible interfaces, without violating the security requirement.

Which Google Cloud product or feature should your organization use?

a)

Identity-Aware Proxy

b)

Cloud NAT (network address translation)

c)

VPC internal load balancers

d)

Private Google Access

157.

Which Google Cloud product is designed to reduce the risks of handling personally identifiable information (PII)?

a)

Cloud Storage

b)

Google Cloud Armor

c)

Cloud Data Loss Prevention

d)

Secret Manager