ExamGecko
Home / Google / Associate Cloud Engineer / List of questions
Ask Question

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

List of questions

Question 181

Report
Export
Collapse

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?

Use the gsutil to rewrite the storage class for the bucket Change the default storage class for the bucket
Use the gsutil to rewrite the storage class for the bucket Change the default storage class for the bucket
Use the gsutil to rewrite the storage class for the bucket Set up Object Lifecycle management on the bucket
Use the gsutil to rewrite the storage class for the bucket Set up Object Lifecycle management on the bucket
Create a new bucket and change the default storage class for the bucket Set up Object Lifecycle management on lite bucket
Create a new bucket and change the default storage class for the bucket Set up Object Lifecycle management on lite bucket
Create a new bucket and change the default storage class for the bucket import the files from the previous bucket into the new bucket
Create a new bucket and change the default storage class for the bucket import the files from the previous bucket into the new bucket
Suggested answer: B
asked 18/09/2024
Carlos Augusto Quintal
29 questions

Question 182

Report
Export
Collapse

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?

Use labels to group resources that share common IAM policies
Use labels to group resources that share common IAM policies
Use folders to group resources that share common IAM policies
Use folders to group resources that share common IAM policies
Set up a proper billing account structure to group IAM policies
Set up a proper billing account structure to group IAM policies
Set up a proper project naming structure to group IAM policies
Set up a proper project naming structure to group IAM policies
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

asked 18/09/2024
Marcin Cieślak
43 questions

Question 183

Report
Export
Collapse

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

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

Explanation:

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

asked 18/09/2024
Andrew Dobie
34 questions

Question 184

Report
Export
Collapse

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?

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

Explanation:

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

asked 18/09/2024
Arun kumar
37 questions

Question 185

Report
Export
Collapse

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?

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

Explanation:

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

asked 18/09/2024
Cintron, Rigoberto
37 questions

Question 186

Report
Export
Collapse

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?

Use the command gcloud config set container/cluster dev.
Use the command gcloud config set container/cluster dev.
Use the command gcloud container clusters update dev.
Use the command gcloud container clusters update dev.
Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.
Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.
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

asked 18/09/2024
William Sorensen
39 questions

Question 187

Report
Export
Collapse

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?

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

Explanation:

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

asked 18/09/2024
Houshang Ardekani
39 questions

Question 188

Report
Export
Collapse

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?

Use a Deployment Manager script to automate creating storage buckets in an appropriate region
Use a Deployment Manager script to automate creating storage buckets in an appropriate region
Use a local SSD to improve performance of the VM for the targeted workload
Use a local SSD to improve performance of the VM for the targeted workload
Use the gsutii command to create a storage bucket in the same region as the VM
Use the gsutii command to create a storage bucket in the same region as the VM
Use a Persistent Disk SSD in the same zone as the VM to improve performance of the VM
Use a Persistent Disk SSD in the same zone as the VM to improve performance of the VM
Suggested answer: A
asked 18/09/2024
Fabio Todeschin
40 questions

Question 189

Report
Export
Collapse

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?

Use the command gcloud auth login and point it to the private key
Use the command gcloud auth login and point it to the private key
Use the command gcloud auth activate-service-account and point it to the private key
Use the command gcloud auth activate-service-account and point it to the private key
Place the private key file in the installation directory of the Cloud SDK and rename it to 'credentials ison'
Place the private key file in the installation directory of the Cloud SDK and rename it to 'credentials ison'
Place the private key file in your home directory and rename it to ''GOOGLE_APPUCATION_CREDENTiALS'.
Place the private key file in your home directory and rename it to ''GOOGLE_APPUCATION_CREDENTiALS'.
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

asked 18/09/2024
Kanik Sachdeva
37 questions

Question 190

Report
Export
Collapse

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

You need to provide them with view access while following Google-recommended practices. What should you do?
You need to provide them with view access while following Google-recommended practices. What should you do?
Grant each individual external consultant the role of BigQuery Editor
Grant each individual external consultant the role of BigQuery Editor
Grant each individual external consultant the role of BigQuery Viewer
Grant each individual external consultant the role of BigQuery Viewer
Create a Google Group that contains the consultants and grant the group the role of BigQuery Editor
Create a Google Group that contains the consultants and grant the group the role of BigQuery Editor
Create a Google Group that contains the consultants, and grant the group the role of BigQuery Viewer
Create a Google Group that contains the consultants, and grant the group the role of BigQuery Viewer
Suggested answer: D
asked 18/09/2024
Ibrahim Ramku
51 questions
Total 296 questions
Go to page: of 30
Search

Related questions