ExamGecko
Home Home / Google / Associate Cloud Engineer

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

Question list
Search
Search

List of questions

Search

Related questions











Your company has an internal application for managing transactional orders. The application is used exclusively by employees in a single physical location. The application requires strong consistency, fast queries, and ACID guarantees for multi-table transactional updates. The first version of the application is implemented inPostgreSQL, and you want to deploy it to the cloud with minimal code changes. Which database is most appropriate for this application?

A.
BigQuery
A.
BigQuery
Answers
B.
Cloud SQL
B.
Cloud SQL
Answers
C.
Cloud Spanner
C.
Cloud Spanner
Answers
D.
Cloud Datastore
D.
Cloud Datastore
Answers
Suggested answer: B

Explanation:

https://cloud.google.com/sql/docs/postgres

The sales team has a project named Sales Data Digest that has the ID acme-data-digest You need to set up similar Google Cloud resources for the marketing team but their resources must be organized independently of the sales team. What should you do?

A.
Grant the Project Editor role to the Marketing learn for acme data digest
A.
Grant the Project Editor role to the Marketing learn for acme data digest
Answers
B.
Create a Project Lien on acme-data digest and then grant the Project Editor role to the Marketing team
B.
Create a Project Lien on acme-data digest and then grant the Project Editor role to the Marketing team
Answers
C.
Create another protect with the ID acme-marketing-data-digest for the Marketing team and deploy the resources there
C.
Create another protect with the ID acme-marketing-data-digest for the Marketing team and deploy the resources there
Answers
D.
Create a new protect named Meeting Data Digest and use the ID acme-data-digest Grant the Project Editor role to the Marketing team.
D.
Create a new protect named Meeting Data Digest and use the ID acme-data-digest Grant the Project Editor role to the Marketing team.
Answers
Suggested answer: C

You have created an application that is packaged into a Docker image. You want to deploy the Docker image as a workload on Google Kubernetes Engine. What should you do?

A.
Upload the image to Cloud Storage and create a Kubernetes Service referencing the image.
A.
Upload the image to Cloud Storage and create a Kubernetes Service referencing the image.
Answers
B.
Upload the image to Cloud Storage and create a Kubernetes Deployment referencing the image.
B.
Upload the image to Cloud Storage and create a Kubernetes Deployment referencing the image.
Answers
C.
Upload the image to Container Registry and create a Kubernetes Service referencing the image.
C.
Upload the image to Container Registry and create a Kubernetes Service referencing the image.
Answers
D.
Upload the image to Container Registry and create a Kubernetes Deployment referencing the image.
D.
Upload the image to Container Registry and create a Kubernetes Deployment referencing the image.
Answers
Suggested answer: D

Explanation:

A deployment is responsible for keeping a set of pods running. A service is responsible for enabling network access to a set of pods.

You are running multiple microservices in a Kubernetes Engine cluster. One microservice is rendering images. The microservice responsible for the image rendering requires a large amount of CPU time compared to the memory it requires. The other microservices are workloads that are optimized for n1-standard machine types. You need to optimize your cluster so that all workloads are using resources as efficiently as possible. What should you do?

A.
Assign the pods of the image rendering microservice a higher pod priority than the older microservices
A.
Assign the pods of the image rendering microservice a higher pod priority than the older microservices
Answers
B.
Create a node pool with compute-optimized machine type nodes for the image rendering microservice Use the node pool with general-purpose machine type nodes for the other microservices
B.
Create a node pool with compute-optimized machine type nodes for the image rendering microservice Use the node pool with general-purpose machine type nodes for the other microservices
Answers
C.
Use the node pool with general-purpose machine type nodes for lite mage rendering microservice Create a nodepool with compute-optimized machine type nodes for the other microservices
C.
Use the node pool with general-purpose machine type nodes for lite mage rendering microservice Create a nodepool with compute-optimized machine type nodes for the other microservices
Answers
D.
Configure the required amount of CPU and memory in the resource requests specification of the image rendering microservice deployment Keep the resource requests for the other microservices at the default
D.
Configure the required amount of CPU and memory in the resource requests specification of the image rendering microservice deployment Keep the resource requests for the other microservices at the default
Answers
Suggested answer: B

You need to manage a Cloud Spanner Instance for best query performance. Your instance in production runs in a single Google Cloud region. You need to improve performance in the shortest amount of time. You want to follow Google best practices for service configuration. What should you do?

A.
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 45% If you exceed this threshold, add nodes lo your instance.
A.
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 45% If you exceed this threshold, add nodes lo your instance.
Answers
B.
Create an alert in Cloud Monitoring to alert when the percentage to high priority CPU utilization reaches 45% Use database query statistics to identify queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage
B.
Create an alert in Cloud Monitoring to alert when the percentage to high priority CPU utilization reaches 45% Use database query statistics to identify queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage
Answers
C.
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65% If you exceed this threshold, add nodes to your instance
C.
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65% If you exceed this threshold, add nodes to your instance
Answers
D.
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65%. Use database query statistics to identity queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage.
D.
Create an alert in Cloud Monitoring to alert when the percentage of high priority CPU utilization reaches 65%. Use database query statistics to identity queries that result in high CPU usage, and then rewrite those queries to optimize their resource usage.
Answers
Suggested answer: B

Explanation:

https://cloud.google.com/spanner/docs/cpu-utilization#recommended-max

You need to track and verity modifications to a set of Google Compute Engine instances in your Google Cloud project. In particular, you want to verify OS system patching events on your virtual machines (VMs). What should you do?

A.
Review the Compute Engine activity logs Select and review the Admin Event logs
A.
Review the Compute Engine activity logs Select and review the Admin Event logs
Answers
B.
Review the Compute Engine activity logs Select and review the System Event logs
B.
Review the Compute Engine activity logs Select and review the System Event logs
Answers
C.
Install the Cloud Logging Agent In Cloud Logging review the Compute Engine syslog logs
C.
Install the Cloud Logging Agent In Cloud Logging review the Compute Engine syslog logs
Answers
D.
Install the Cloud Logging Agent In Cloud Logging, review the Compute Engine operation logs
D.
Install the Cloud Logging Agent In Cloud Logging, review the Compute Engine operation logs
Answers
Suggested answer: A

You need to manage a third-party application that will run on a Compute Engine instance. Other Compute Engine instances are already running with default configuration. Application installation files are hosted on Cloud Storage. You need to access these files from the new instance without allowing other virtual machines (VMs) to access these files. What should you do?

A.
Create the instance with the default Compute Engine service account Grant the service account permissions on Cloud Storage.
A.
Create the instance with the default Compute Engine service account Grant the service account permissions on Cloud Storage.
Answers
B.
Create the instance with the default Compute Engine service account Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.
B.
Create the instance with the default Compute Engine service account Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.
Answers
C.
Create a new service account and assign this service account to the new instance Grant the service account permissions on Cloud Storage.
C.
Create a new service account and assign this service account to the new instance Grant the service account permissions on Cloud Storage.
Answers
D.
Create a new service account and assign this service account to the new instance Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.
D.
Create a new service account and assign this service account to the new instance Add metadata to the objects on Cloud Storage that matches the metadata on the new instance.
Answers
Suggested answer: B

Explanation:

https://cloud.google.com/iam/docs/best-practices-for-using-and-managing-service-accounts

If an application uses third-party or custom identities and needs to access a resource, such as a BigQuery dataset or a Cloud Storage bucket, it must perform a transition between principals. Because Google Cloud APIs don't recognize third-party or custom identities, the application can't propagate the end-user's identity to BigQuery or Cloud Storage. Instead, the application has to perform the access by using a different Google identity.

You manage three Google Cloud projects with the Cloud Monitoring API enabled. You want to follow Google-recommended practices to visualize CPU and network metrics for all three projects together. What should you do?

A.
1. Create a Cloud Monitoring Dashboard 2. Collect metrics and publish them into the Pub/Sub topics 3. Add CPU and network Charts (or each of (he three projects
A.
1. Create a Cloud Monitoring Dashboard 2. Collect metrics and publish them into the Pub/Sub topics 3. Add CPU and network Charts (or each of (he three projects
Answers
B.
1. Create a Cloud Monitoring Dashboard. 2. Select the CPU and Network metrics from the three projects. 3. Add CPU and network Charts lot each of the three protects.
B.
1. Create a Cloud Monitoring Dashboard. 2. Select the CPU and Network metrics from the three projects. 3. Add CPU and network Charts lot each of the three protects.
Answers
C.
1 Create a Service Account and apply roles/viewer on the three projects 2. Collect metrics and publish them lo the Cloud Monitoring API 3. Add CPU and network Charts for each of the three projects.
C.
1 Create a Service Account and apply roles/viewer on the three projects 2. Collect metrics and publish them lo the Cloud Monitoring API 3. Add CPU and network Charts for each of the three projects.
Answers
D.
1. Create a fourth Google Cloud project 2 Create a Cloud Workspace from the fourth project and add the other three projects
D.
1. Create a fourth Google Cloud project 2 Create a Cloud Workspace from the fourth project and add the other three projects
Answers
Suggested answer: B

Your organization uses Active Directory (AD) to manage user identities. Each user uses this identity for federated access to various on-premises systems. Your security team has adopted a policy that requires users to log into Google Cloud with their AD identity instead of their own login. You want to follow the Google-recommended practices to implement this policy. What should you do?

A.
Sync Identities with Cloud Directory Sync, and then enable SAML for single sign-on
A.
Sync Identities with Cloud Directory Sync, and then enable SAML for single sign-on
Answers
B.
Sync Identities in the Google Admin console, and then enable Oauth for single sign-on
B.
Sync Identities in the Google Admin console, and then enable Oauth for single sign-on
Answers
C.
Sync identities with 3rd party LDAP sync, and then copy passwords to allow simplified login with (he same credentials
C.
Sync identities with 3rd party LDAP sync, and then copy passwords to allow simplified login with (he same credentials
Answers
D.
Sync identities with Cloud Directory Sync, and then copy passwords to allow simplified login with the same credentials.
D.
Sync identities with Cloud Directory Sync, and then copy passwords to allow simplified login with the same credentials.
Answers
Suggested answer: A

You have deployed multiple Linux instances on Compute Engine. You plan on adding more instances in the coming weeks. You want to be able to access all of these instances through your SSH client over me Internet without having to configure specific access on the existing and new instances. You do not want the Compute Engine instances to have a public IP. What should you do?

A.
Configure Cloud Identity-Aware Proxy (or HTTPS resources
A.
Configure Cloud Identity-Aware Proxy (or HTTPS resources
Answers
B.
Configure Cloud Identity-Aware Proxy for SSH and TCP resources.
B.
Configure Cloud Identity-Aware Proxy for SSH and TCP resources.
Answers
C.
Create an SSH keypair and store the public key as a project-wide SSH Key
C.
Create an SSH keypair and store the public key as a project-wide SSH Key
Answers
D.
Create an SSH keypair and store the private key as a project-wide SSH Key
D.
Create an SSH keypair and store the private key as a project-wide SSH Key
Answers
Suggested answer: B

Explanation:

https://cloud.google.com/iap/docs/using-tcp-forwarding

Total 289 questions
Go to page: of 29