Your company uses Cloud Storage to store application backup files for disaster recovery purposes. You want to follow Google’s recommended practices. Which storage option should you use?
A.
Multi-Regional Storage
B.
Regional Storage
C.
Nearline Storage
D.
Coldline Storage
Coldline Storage
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.
When creating the VM via the web console, specify the service account under the ‘Identity and API
Access’ section.
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
Enable the Node Auto-Upgrades feature for your GKE cluster.
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.
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.
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 intsance group.
B.
Create an instance templated 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.
Create an instance templated for the instances. Set ‘Automatic Restart’ to off. Set ‘On-host
maintenance’ to Terminate VM instances. Add the instance template to an instance group.
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.
Execute the Deployment Manager template using the –-preview option in the same project, and observe
the state of interdependent resources.
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
Stop the VM, increase the memory to 8 GB, and start the VM
You need to run an important query in BigQuery but expect it to return a lot of records. You want to find out how much it will cost to run the query. You are using on-demand pricing. What should you do?
A.
Arrange to switch to Flat-Rate pricing for this query, then move back to on-demand.
B.
Use the command line to run a dry run query to estimate the number of bytes read. Then convert that
bytes estimate to dollars using the Pricing Calculator.
C.
Use the command line to run a dry run query to estimate the number of bytes returned. Then convert that bytes estimate to dollars using the Pricing Calculator.
D.
Run a select count (*) to get an idea of how many records your query will look through. Then convert
that number of rows to dollars using the Pricing Calculator.
Use the command line to run a dry run query to estimate the number of bytes read. Then convert that
bytes estimate to dollars using the Pricing Calculator.
Run a select count (*) to get an idea of how many records your query will look through. Then convert
that number of rows to dollars using the Pricing Calculator.
A.
Arrange to switch to Flat-Rate pricing for this query, then move back to on-demand.
B.
Use the command line to run a dry run query to estimate the number of bytes read. Then convert that
bytes estimate to dollars using the Pricing Calculator.
C.
Use the command line to run a dry run query to estimate the number of bytes returned. Then convert that bytes estimate to dollars using the Pricing Calculator.
D.
Run a select count (*) to get an idea of how many records your query will look through. Then convert
that number of rows to dollars using the Pricing Calculator.
Use the command line to run a dry run query to estimate the number of bytes read. Then convert that
bytes estimate to dollars using the Pricing Calculator.
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
Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of
instances to 1.
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
Deploy the monitoring pod in a DaemonSet object.
You need to create an autoscaling managed instance group for an HTTPS web application. You want to make sure that unhealthy VMs are recreated. What should you do?
A.
Create a health check on port 443 and use that when creating the Managed Instance Group.
B.
Select Multi-Zone instead of Single-Zone when creating the Managed Instance Group.
C.
In the Instance Template, add the label ‘health-check’.
D.
In the Instance Template, add a startup script that sends a heartbeat to the metadata server
In the Instance Template, add the label ‘health-check’.
Page 1 out of 10 Pages |