ExamGecko
Home Home / Google / Associate Cloud Engineer

Google Associate Cloud Engineer Practice Test - Questions Answers, Page 19

Question list
Search
Search

List of questions

Search

Related questions











You need to immediately change the storage class of an existing Google Cloud bucket. You need to reduce service cost for infrequently accessed files stored in that bucket and for all files that will be added to that bucket in the future. What should you do?

A.
Use the gsutil to rewrite the storage class for the bucket Change the default storage class for the bucket
A.
Use the gsutil to rewrite the storage class for the bucket Change the default storage class for the bucket
Answers
B.
Use the gsutil to rewrite the storage class for the bucket Set up Object Lifecycle management on the bucket
B.
Use the gsutil to rewrite the storage class for the bucket Set up Object Lifecycle management on the bucket
Answers
C.
Create a new bucket and change the default storage class for the bucket Set up Object Lifecycle management on lite bucket
C.
Create a new bucket and change the default storage class for the bucket Set up Object Lifecycle management on lite bucket
Answers
D.
Create a new bucket and change the default storage class for the bucket import the files from the previous bucket into the new bucket
D.
Create a new bucket and change the default storage class for the bucket import the files from the previous bucket into the new bucket
Answers
Suggested answer: B

You have been asked to set up the billing configuration for a new Google Cloud customer. Your customer wants to group resources that share common IAM policies. What should you do?

A.
Use labels to group resources that share common IAM policies
A.
Use labels to group resources that share common IAM policies
Answers
B.
Use folders to group resources that share common IAM policies
B.
Use folders to group resources that share common IAM policies
Answers
C.
Set up a proper billing account structure to group IAM policies
C.
Set up a proper billing account structure to group IAM policies
Answers
D.
Set up a proper project naming structure to group IAM policies
D.
Set up a proper project naming structure to group IAM policies
Answers
Suggested answer: B

Explanation:

Folders are nodes in the Cloud Platform Resource Hierarchy. A folder can contain projects, other folders, or a combination of both. Organizations can use folders to group projects under the organization node in a hierarchy. For example, your organization might contain multiple departments, each with its own set of Google Cloud resources. Folders allow you to group these resources on a per-department basis. Folders are used to group resources that share common IAM policies. While a folder can contain multiple folders or resources, a given folder or resource can have exactly one parent. https://cloud.google.com/resource-manager/docs/creating-managing-folders

You are creating an application that will run on Google Kubernetes Engine. You have identified MongoDB as the most suitable database system for your application and want to deploy a managed MongoDB environment that provides a support SL

A.
What should you do?
A.
What should you do?
Answers
B.
Create a Cloud Bigtable cluster and use the HBase API
B.
Create a Cloud Bigtable cluster and use the HBase API
Answers
C.
Deploy MongoDB Alias from the Google Cloud Marketplace
C.
Deploy MongoDB Alias from the Google Cloud Marketplace
Answers
D.
Download a MongoDB installation package and run it on Compute Engine instances
D.
Download a MongoDB installation package and run it on Compute Engine instances
Answers
E.
Download a MongoDB installation package, and run it on a Managed Instance Group
E.
Download a MongoDB installation package, and run it on a Managed Instance Group
Answers
Suggested answer: B

Explanation:

https://console.cloud.google.com/marketplace/details/gc-launcher-for-mongodb-atlas/mongodb-atlas

You need to add a group of new users to Cloud Identity. Some of the users already have existing Google accounts. You want to follow one of Google's recommended practices and avoid conflicting accounts. What should you do?

A.
Invite the user to transfer their existing account
A.
Invite the user to transfer their existing account
Answers
B.
Invite the user to use an email alias to resolve the conflict
B.
Invite the user to use an email alias to resolve the conflict
Answers
C.
Tell the user that they must delete their existing account
C.
Tell the user that they must delete their existing account
Answers
D.
Tell the user to remove all personal email from the existing account
D.
Tell the user to remove all personal email from the existing account
Answers
Suggested answer: A

Explanation:

https://cloud.google.com/architecture/identity/migrating-consumer-accounts

You have just created a new project which will be used to deploy a globally distributed application. You will use Cloud Spanner for data storage. You want to create a Cloud Spanner instance. You want to perform the first step in preparation of creating the instance. What should you do?

A.
Grant yourself the IAM role of Cloud Spanner Admin
A.
Grant yourself the IAM role of Cloud Spanner Admin
Answers
B.
Create a new VPC network with subnetworks in all desired regions
B.
Create a new VPC network with subnetworks in all desired regions
Answers
C.
Configure your Cloud Spanner instance to be multi-regional
C.
Configure your Cloud Spanner instance to be multi-regional
Answers
D.
Enable the Cloud Spanner API
D.
Enable the Cloud Spanner API
Answers
Suggested answer: A

Explanation:

https://cloud.google.com/spanner/docs/getting-started/set-up

You are assigned to maintain a Google Kubernetes Engine (GKE) cluster named dev that was deployed on Google Cloud. You want to manage the GKE configuration using the command line interface (CLI). You have just downloaded and installed the Cloud SDK. You want to ensure that future CLI commands by default address this specific cluster. What should you do?

A.
Use the command gcloud config set container/cluster dev.
A.
Use the command gcloud config set container/cluster dev.
Answers
B.
Use the command gcloud container clusters update dev.
B.
Use the command gcloud container clusters update dev.
Answers
C.
Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
C.
Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
Answers
D.
Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.
D.
Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.
Answers
Suggested answer: A

Explanation:

To set a default cluster for gcloud commands, run the following command: gcloud config set container/cluster CLUSTER_NAME https://cloud.google.com/kubernetes-engine/docs/how-to/managing-clusters?hl=en

You will have several applications running on different Compute Engine instances in the same project. You want to specify at a more granular level the service account each instance uses when calling Google Cloud APIs. What should you do?

A.
When creating the instances, specify a Service Account for each instance
A.
When creating the instances, specify a Service Account for each instance
Answers
B.
When creating the instances, assign the name of each Service Account as instance metadata
B.
When creating the instances, assign the name of each Service Account as instance metadata
Answers
C.
After starting the instances, use gcloud compute instances update to specify a Service Account for each instance
C.
After starting the instances, use gcloud compute instances update to specify a Service Account for each instance
Answers
D.
After starting the instances, use gcloud compute instances update to assign the name of the relevant Service Account as instance metadata
D.
After starting the instances, use gcloud compute instances update to assign the name of the relevant Service Account as instance metadata
Answers
Suggested answer: A

Explanation:

https://cloud.google.com/compute/docs/access/service-accounts#associating_a_service_account_to_an_instance

You are assisting a new Google Cloud user who just installed the Google Cloud SDK on their VM. The server needs access to Cloud Storage. The user wants your help to create a new storage bucket. You need to make this change in multiple environments. What should you do?

A.
Use a Deployment Manager script to automate creating storage buckets in an appropriate region
A.
Use a Deployment Manager script to automate creating storage buckets in an appropriate region
Answers
B.
Use a local SSD to improve performance of the VM for the targeted workload
B.
Use a local SSD to improve performance of the VM for the targeted workload
Answers
C.
Use the gsutii command to create a storage bucket in the same region as the VM
C.
Use the gsutii command to create a storage bucket in the same region as the VM
Answers
D.
Use a Persistent Disk SSD in the same zone as the VM to improve performance of the VM
D.
Use a Persistent Disk SSD in the same zone as the VM to improve performance of the VM
Answers
Suggested answer: A

You received a JSON file that contained a private key of a Service Account in order to get access to several resources in a Google Cloud project. You downloaded and installed the Cloud SDK and want to use this private key for authentication and authorization when performing gcloud commands. What should you do?

A.
Use the command gcloud auth login and point it to the private key
A.
Use the command gcloud auth login and point it to the private key
Answers
B.
Use the command gcloud auth activate-service-account and point it to the private key
B.
Use the command gcloud auth activate-service-account and point it to the private key
Answers
C.
Place the private key file in the installation directory of the Cloud SDK and rename it to 'credentials ison'
C.
Place the private key file in the installation directory of the Cloud SDK and rename it to 'credentials ison'
Answers
D.
Place the private key file in your home directory and rename it to ''GOOGLE_APPUCATION_CREDENTiALS'.
D.
Place the private key file in your home directory and rename it to ''GOOGLE_APPUCATION_CREDENTiALS'.
Answers
Suggested answer: B

Explanation:

Authorizing with a service account

gcloud auth activate-service-account authorizes access using a service account. As with gcloud init and gcloud auth login, this command saves the service account credentials to the local system on successful completion and sets the specified account as the active account in your Cloud SDK configuration.

https://cloud.google.com/sdk/docs/authorizing#authorizing_with_a_service_account

You are managing a Data Warehouse on BigQuery. An external auditor will review your company's processes, and multiple external consultants will need view access to the dat

A.
You need to provide them with view access while following Google-recommended practices. What should you do?
A.
You need to provide them with view access while following Google-recommended practices. What should you do?
Answers
B.
Grant each individual external consultant the role of BigQuery Editor
B.
Grant each individual external consultant the role of BigQuery Editor
Answers
C.
Grant each individual external consultant the role of BigQuery Viewer
C.
Grant each individual external consultant the role of BigQuery Viewer
Answers
D.
Create a Google Group that contains the consultants and grant the group the role of BigQuery Editor
D.
Create a Google Group that contains the consultants and grant the group the role of BigQuery Editor
Answers
E.
Create a Google Group that contains the consultants, and grant the group the role of BigQuery Viewer
E.
Create a Google Group that contains the consultants, and grant the group the role of BigQuery Viewer
Answers
Suggested answer: D
Total 289 questions
Go to page: of 29