Certbus > Google > Google Certifications > ASSOCIATE-CLOUD-ENGINEER > ASSOCIATE-CLOUD-ENGINEER Online Practice Questions and Answers

ASSOCIATE-CLOUD-ENGINEER Online Practice Questions and Answers

Questions 4

Your development team has asked you to set up an external TCP load balancer with SSL offload. Which load balancer should you use?

A. HTTP(S) load balancer

B. Network load balancer

C. Internal load balancer

D. TCP/SSL proxy load balancer

Browse 363 Q&As
Questions 5

You've created the code for a Cloud Function that will respond to HTTP triggers and return some data in JSON format. You have the code locally, it's tested and working. Which command can you use to create the function inside Google Cloud?

A. gcloud functions deploy

B. gcloud function create

C. gcloud functions create

D. gcloud function deploy

Browse 363 Q&As
Questions 6

Your team needs to set up a new Jenkins instance as quickly as possible. What's the best way to get it up- and-running?

A. Use Google's Managed Jenkins Service.

B. Deploy the jar file to a Compute Engine instance.

C. Search the marketplace for Jenkins and install with Cloud Launcher.

D. Create a Deployment Manager template and deploy it.

Browse 363 Q&As
Questions 7

You're attempting to set up a new budget with some alerts. Your team lead asked you to use last months spending as a reference for the budget amount. What's the best way to configure this budget?

A. Locate the spending data from the File export; use that as the budget amount.

B. Locate the spending data from the BigQuery export; use that as the budget amount.

C. Look at the spending data and locate the amount; use that as the budget amount.

D. Use the "Last month's spend" option to allow Google Cloud to determine the budget amount.

Browse 363 Q&As
Questions 8

Your developers are trying to connect to an Ubuntu server over SSH to diagnose some errors. However, the connection times out. Which command should help solve the problem?

A. gcloud compute firewall-rules create "open-ssh" --network $NETWORK --allow tcp:22

B. gcloud compute firewall-rules create "open-ssh"

C. gcloud compute firewall-rules create "open-ssh" --network $NETWORK --deny tcp:22

D. gcloud compute firewall-rules create "open-ssh" --network $NETWORK --allow tcp:3389

Browse 363 Q&As
Questions 9

You're attempting to install the kubectl component on an Ubuntu server, though, you're getting an error. The error indicates that the component manager is disabled. What is the most likely cause for the error?

A. The Cloud SDK was not installed with root permissions.

B. The Cloud SDK was installed using apt.

C. The Cloud SDK is using the wrong configuration.

D. The Cloud SDK is running inside a Docker container.

Browse 363 Q&As
Questions 10

You are using Google Kubernetes Engine with autoscaling enabled to host a new application. You want to expose this new application to the public, using HTTPS on a public IP address. What should you do?

A. Create a Kubernetes Service of type NodePort for your application, and a Kubernetes Ingress to expose this Service via a Cloud Load Balancer.

B. Create a Kubernetes Service of type ClusterIP for your application. Configure the public DNS name of your application using the IP of this Service.

C. Create a Kubernetes Service of type NodePort to expose the application on port 443 of each node of the Kubernetes cluster. Configure the public DNS name of your application with the IP of every node of the cluster to achieve load-balancing.

D. Create a HAProxy pod in the cluster to load-balance the traffic to all the pods of the application. Forward the public traffic to HAProxy with an iptable rule. Configure the DNS name of your application using the public IP of the node HAProxy is running on.

Browse 363 Q&As
Questions 11

You need to verify that a Google Cloud Platform service account was created at a particular time. What should you do?

A. Filter the Activity log to view the Configuration category. Filter the Resource type to Service Account.

B. Filter the Activity log to view the Configuration category. Filter the Resource type to Google Project.

C. Filter the Activity log to view the Data Access category. Filter the Resource type to Service Account.

D. Filter the Activity log to view the Data Access category. Filter the Resource type to Google Project.

Browse 363 Q&As
Questions 12

You created several resources in multiple Google Cloud projects. All projects are linked to different billing accounts. To better estimate future charges, you want to have a single visual representation of all costs incurred. You want to include new cost data as soon as possible. What should you do?

A. Configure Billing Data Export to BigQuery and visualize the data in Data Studio.

B. Visit the Cost Table page to get a CSV export and visualize it using Data Studio.

C. Fill all resources in the Pricing Calculator to get an estimate of the monthly cost.

D. Use the Reports view in the Cloud Billing Console to view the desired cost information.

Browse 363 Q&As
Questions 13

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 in PostgreSQL, and you want to display it to the cloud with minimal code changes. Which database is most appropriate for this application?

A. BigQuery

B. Cloud SQL

C. Cloud Spanner

D. Cloud Datastore

Browse 363 Q&As
Questions 14

You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?

A. Use kubectl app deploy .

B. Use gcloud app deploy .

C. Create a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.

D. Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.

Browse 363 Q&As
Questions 15

You have an object in a Cloud Storage bucket that you want to share with an external company. The object contains sensitive data. You want access to the content to be removed after four hours. The external company does not have a Google account to which you can grant specific user-based access privileges. You want to use the most secure method that requires the fewest steps. What should you do?

A. Create a signed URL with a four-hour expiration and share the URL with the company.

B. Set object access to `public' and use object lifecycle management to remove the object after four hours.

C. Configure the storage bucket as a static website and furnish the object's URL to the company. Delete the object from the storage bucket after four hours.

D. Create a new Cloud Storage bucket specifically for the external company to access. Copy the object to that bucket. Delete the bucket after four hours have passed.

Browse 363 Q&As
Questions 16

You need to monitor resources that are distributed over different projects in Google Cloud Platform. You want to consolidate reporting under the same Stackdriver Monitoring dashboard. What should you do?

A. Use Shared VPC to connect all projects, and link Stackdriver to one of the projects.

B. For each project, create a Stackdriver account. In each project, create a service account for that project and grant it the role of Stackdriver Account Editor in all other projects.

C. Configure a single Stackdriver account, and link all projects to the same account.

D. Configure a single Stackdriver account for one of the projects. In Stackdriver, create a Group and add the other project names as criteria for that Group.

Browse 363 Q&As
Questions 17

You have a virtual machine that is currently configured with 2 vCPUs and 4 GB of memory. It is running out of memory. You want to upgrade the virtual machine to have 8 GB of memory. What should you do?

A. Rely on live migration to move the workload to a machine with more memory.

B. Use gcloud to add metadata to the VM. Set the key to required-memory-size and the value to 8 GB.

C. Stop the VM, change the machine type to n1-standard-8, and start the VM.

D. Stop the VM, increase the memory to 8 GB, and start the VM.

Browse 363 Q&As
Questions 18

You want to deploy an application on Cloud Run that processes messages from a Cloud Pub/Sub topic. You want to follow Google-recommended practices. What should you do?

A. 1. Create a Cloud Function that uses a Cloud Pub/Sub trigger on that topic.

2. Call your application on Cloud Run from the Cloud Function for every message.

B. 1. Grant the Pub/Sub Subscriber role to the service account used by Cloud Run.

2.

Create a Cloud Pub/Sub subscription for that topic.

3.

Make your application pull messages from that subscription.

C. 1. Create a service account.

2.

Give the Cloud Run Invoker role to that service account for your Cloud Run application.

3.

Create a Cloud Pub/Sub subscription that uses that service account and uses your Cloud Run application as the push endpoint.

D. 1. Deploy your application on Cloud Run on GKE with the connectivity set to Internal.

2.

Create a Cloud Pub/Sub subscription for that topic.

3.

In the same Google Kubernetes Engine cluster as your application, deploy a container that takes the messages and sends them to your application.

Browse 363 Q&As
Exam Name: Associate Cloud Engineer
Last Update: Apr 21, 2024
Questions: 363 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99