Google Associate Cloud Engineer Exam Practice Questions (P. 5)
- Full Access (294 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #21
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?
Compute Engine instance in these two Google Cloud Platform accounts using the command line interface. What should you do?
- ACreate 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.Most Voted
- BCreate two configurations using gcloud config configurations create [NAME]. Run gcloud configurations list to start the Compute Engine instances.
- CActivate two configurations using gcloud configurations activate [NAME]. Run gcloud config list to start the Compute Engine instances.
- DActivate two configurations using gcloud configurations activate [NAME]. Run gcloud configurations list to start the Compute Engine instances.
Correct Answer:
A
A

Option A is indeed correct for running Compute Engine instances across different GCP accounts. By creating distinct configurations for each account with `gcloud config configurations create [NAME]`, you can neatly separate settings per account. Activating these configurations using `gcloud config configurations activate [NAME]` allows you to switch context effortlessly between these accounts, making it practical to manage resources in them accordingly. Remember, the vital step is activating the right configuration before launching an instance to ensure you are operating within the intended account's context.
send
light_mode
delete
Question #22
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?
- AUse granular logging statements within a Deployment Manager template authored in Python.
- BMonitor activity of the Deployment Manager execution on the Stackdriver Logging page of the GCP Console.
- CExecute the Deployment Manager template against a separate project with the same configuration, and monitor for failures.
- DExecute the Deployment Manager template using the ג€"-preview option in the same project, and observe the state of interdependent resources.Most Voted
Correct Answer:
D
Reference:
https://cloud.google.com/deployment-manager/docs/deployments/updating-deployments
D
Reference:
https://cloud.google.com/deployment-manager/docs/deployments/updating-deployments
send
light_mode
delete
Question #23
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?


- ACloud Pub/Sub, Cloud Dataflow, Cloud Datastore, BigQuery
- BFirebase Messages, Cloud Pub/Sub, Cloud Spanner, BigQuery
- CCloud Pub/Sub, Cloud Storage, BigQuery, Cloud Bigtable
- DCloud Pub/Sub, Cloud Dataflow, Cloud Bigtable, BigQueryMost Voted
Correct Answer:
D
Reference:
https://cloud.google.com/solutions/correlating-time-series-dataflow
D
Reference:
https://cloud.google.com/solutions/correlating-time-series-dataflow
send
light_mode
delete
Question #24
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?
- AUse gcloud to create the new project, and then deploy your application to the new project.Most Voted
- BUse gcloud to create the new project and to copy the deployed application to the new project.
- CCreate a Deployment Manager configuration file that copies the current App Engine deployment into a new project.
- DDeploy your application again using gcloud and specify the project parameter with the new project name to create the new project.
Correct Answer:
A
A

When you are ready to move from a development to a production environment for an App Engine application, the most effective approach is straightforward. First, use the `gcloud` command line tool to create the new project. Following the creation, deploy your application to this freshly established project. This ensures that your production environment is set up with a clean configuration, preventing any inconsistencies that could arise from trying to copy configurations or applications directly from the development environment.
send
light_mode
delete
Question #25
You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google-recommended practices. What should you do?
- AAdd the auditors group to the 'logging.viewer' and 'bigQuery.dataViewer' predefined IAM roles.Most Voted
- BAdd the auditors group to two new custom IAM roles.
- CAdd the auditor user accounts to the 'logging.viewer' and 'bigQuery.dataViewer' predefined IAM roles.
- DAdd the auditor user accounts to two new custom IAM roles.
Correct Answer:
C
Reference:
https://cloud.google.com/iam/docs/roles-audit-logging
C
Reference:
https://cloud.google.com/iam/docs/roles-audit-logging
send
light_mode
delete
All Pages