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?
Answer(s): A
"Run gcloud configurations list to start the Compute Engine instances". How the heck are you expecting to "start" GCE instances doing "configuration list".Each gcloud configuration has a 1 to 1 relationship with the region (if a region is defined). Since we have two different regions, we would need to create two separate configurations using gcloud config configurations createRef: https://cloud.google.com/sdk/gcloud/reference/config/configurations/createSecondly, you can activate each configuration independently by running gcloud config configurations activate [NAME]Ref: https://cloud.google.com/sdk/gcloud/reference/config/configurations/activateFinally, while each configuration is active, you can run the gcloud compute instances start [NAME] command to start the instance in the configurations region. https://cloud.google.com/sdk/gcloud/reference/compute/instances/start
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?
Answer(s): D
https://cloud.google.com/deployment-manager/docs/deployments/updating- deployments
You are building a pipeline to process time-series data. Which Google Cloud Platform services should you put in boxes 1,2,3, and 4?
https://cloud.google.com/solutions/correlating-time-series-dataflow https://cloud.google.com/blog/products/data-analytics/handling-duplicate-data-in-streaming- pipeline-using-pubsub-dataflow https://cloud.google.com/bigtable/docs/schema-design-time-series
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?
You can deploy to a different project by using project flag. By default, the service is deployed the current project configured via:$ gcloud config set core/project PROJECTTo override this value for a single deployment, use the project flag:$ gcloud app deploy ~/my_app/app.yaml project=PROJECTRef: https://cloud.google.com/sdk/gcloud/reference/app/deploy
You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google-recommended practices. What should you do?
https://cloud.google.com/iam/docs/job-functions/auditing#scenario_external_auditorsBecause if you directly add users to the IAM roles, then if any users left the organization then you have to remove the users from multiple places and need to revoke his/her access from multiple places. But, if you put a user into a group then its very easy to manage these type of situations. Now, if any user left then you just need to remove the user from the group and all the access got revokedThe organization creates a Google group for these external auditors and adds the current auditor to the group. This group is monitored and is typically granted access to the dashboard application. During normal access, the auditors' Google group is only granted access to view the historic logs stored in BigQuery. If any anomalies are discovered, the group is granted permission to view the actual Cloud Logging Admin Activity logs via the dashboard's elevated access mode. At the end of each audit period, the group's access is then revoked. Data is redacted using Cloud DLP before being made accessible for viewing via the dashboard application. The table below explains IAM logging roles that an Organization Administrator can grant to the service account used by the dashboard, as well as the resource level at which the role is granted.
Share your comments for Google Google Associate Cloud Engineer exam with other users:
Question 1:
compute.osAdminLogin
enable-oslogin