GCP certifs
Yo need to update a deployment in Deployment Manager without any resource downtime in the deployment. Which command should you use ?
gcloud deployment-manager deployments update --config <deployment-config-path>
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 a VM should run per GCP project. How should you configure the instance group?
Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1
You want clicked PDF to be displayed within the browser window directly, without prompting the user to save the file locally. What should you do ?
Set Content-Type metadata to application/pdf on the PDF file objects
You have a large 5-TB AVRO file stored in a Cloud Storage bucket. Your analysts are proficient only in SQL and need access to the data stored in this file. You want to find a cost-effective way to complete their request asap. What should you do?
Create external tables in BigQuery that point to Cloud Storage buckets and run a SQL query on these external tables to complete your request
You want to find out when users were added to Cloud Spanner Identity Access Management (IAM) roles on your GCP project. What should you do in the GCP Console
Go to the Stackdriver Logging console, review admin activity logs, and filter them for Cloud Spanner IAM roles
You are building an archival solution for your data warehouse and have selected Cloud Storage to archive your data. Your users need to able to access this archieved data once a quarter. You want to select the cost-efficient option. Which storage option should you use ?
Cold Storage
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?
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.
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?
Create a service account with appropriate access for Google Services, and configure the application to use this account
You have been asked to set up Object Lifecycle Management for objects stored in storage buckets. The objects are written once and accessed frequently for 30 days. After 30 days, the objects are not read again unless there is a special need. The objects should be kept for three years, and you need to minimize cost. What should you do?
Set up a policy that uses Standard Storage for 30 days and then moves to Archive Storage for three years
You are a project owner and need your co-worker to deploy a new version of your application to App Engine. You want to follow Google’s recommended practices. Which IAM roles should you grant your co-worker?
App Engine Deployer
Your company has reserved a monthly budget for your project. You want to be informed automatically of your project spend so that you can take action when you approach the limit. What should you do?
Create a budget alert for 50%, 90% and 100% of your total monthly budget