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.
Page 2 out of 23 Pages |
Previous |