Pre-Winter Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Pass the Google Google Cloud Certified Associate-Cloud-Engineer Questions and answers with CertsForce

Viewing page 2 out of 11 pages
Viewing questions 11-20 out of questions
Questions # 11:

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?

Options:

A.

Configure Cloud Identity-Aware Proxy (or HTTPS resources


B.

Configure Cloud Identity-Aware Proxy for SSH and TCP resources.


C.

Create an SSH keypair and store the public key as a project-wide SSH Key


D.

Create an SSH keypair and store the private key as a project-wide SSH Key


Expert Solution
Questions # 12:

Your team is building a website that handles votes from a large user population. The incoming votes will arrive at various rates. You want to optimize the storage and processing of the votes. What should you do?

Options:

A.

Save the incoming votes to Firestore. Use Cloud Scheduler to trigger a Cloud Functions instance to periodically process the votes.


B.

Use a dedicated instance to process the incoming votes. Send the votes directly to this instance.


C.

Save the incoming votes to a JSON file on Cloud Storage. Process the votes in a batch at the end of the day.


D.

Save the incoming votes to Pub/Sub. Use the Pub/Sub topic to trigger a Cloud Functions instance to process the votes.


Expert Solution
Questions # 13:

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?

Options:

A.

Use the command gcloud config set container/cluster dev.


B.

Use the command gcloud container clusters update dev.


C.

Create a file called gke.default in the ~/.gcloud aname.


D.

Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.


Expert Solution
Questions # 14:

You are planning to migrate your containerized workloads to Google Kubernetes Engine (GKE). You need to determine which GKE option to use. Your solution must have high availability, minimal downtime, and the ability to promptly apply security updates to your nodes. You also want to pay only for the compute resources that your workloads use without managing nodes. You want to follow Google-recommended practices and minimize operational costs. What should you do?

Options:

A.

Configure a Standard multi-zonal GKE cluster.


B.

Configure an Autopilot GKE cluster.


C.

Configure a Standard zonal GKE cluster.


D.

Configure a Standard regional GKE cluster.


Expert Solution
Questions # 15:

You have an application that is currently processing transactions by using a group of managed VM instances. You need to migrate the application so that it is serverless and scalable. You want to implement an asynchronous transaction processing system, while minimizing management overhead. What should you do?

Options:

A.

Install Kafka on VM instances to acknowledge incoming transactions. Use Cloud Run to process transactions.


B.

Install Kafka on VM Instances to acknowledge incoming transactions. Use VM Instances to process transactions.


C.

Use Pub/Sub to acknowledge incoming transactions. Use VM instances to process transactions.


D.

Use Pub/Sub to acknowledge incoming transactions. Use Cloud Run to process transactions.


Expert Solution
Questions # 16:

Your organization has user identities in Active Directory. Your organization wants to use Active Directory as their source of truth for identities. Your organization wants to have full control over the Google accounts used by employees for all Google services, including your Google Cloud Platform (GCP) organization. What should you do?

Options:

A.

Use Google Cloud Directory Sync (GCDS) to synchronize users into Cloud Identity.


B.

Use the cloud Identity APIs and write a script to synchronize users to Cloud Identity.


C.

Export users from Active Directory as a CSV and import them to Cloud Identity via the Admin Console.


D.

Ask each employee to create a Google account using self signup. Require that each employee use their company email address and password.


Expert Solution
Questions # 17:

You have several hundred microservice applications running in a Google Kubernetes Engine (GKE) cluster. Each microservice is a deployment with resource limits configured for each container in the deployment. You ' ve observed that the resource limits for memory and CPU are not appropriately set for many of the microservices. You want to ensure that each microservice has right sized limits for memory and CPU. What should you do?

Options:

A.

Modify the cluster ' s node pool machine type and choose a machine type with more memory and CPU.


B.

Configure a Horizontal Pod Autoscaler for each microservice.


C.

Configure GKE cluster autoscaling.


D.

Configure a Vertical Pod Autoscaler for each microservice.


Expert Solution
Questions # 18:

You are deploying an application to Cloud Run. Your application requires the use of an API that runs on Google Kubernetes Engine (GKE). You need to ensure that your Cloud Run service can privately reach the API on GKE, and you want to follow Google-recommended practices. What should you do?

Options:

A.

Deploy an ingress resource on the GKE cluster to expose the API to the internet. Use Cloud Armor to filter for IP addresses that can connect to the API. On the Cloud Run service, configure the application to fetch its public IP address and update the Cloud Armor policy on startup to allow this IP address to call the API on ports 80 and 443.


B.

Create an egress firewall rule on the VPC to allow connections to 0.0.0.0/0 on ports 80 and 443.


C.

Create an ingress firewall rule on the VPC to allow connections from 0.0.0.0/0 on ports 80 and 443.


D.

Deploy an internal Application Load Balancer to expose the API on GKE to the VPC. Configure Cloud DNS with the IP address of the internal Application Load Balancer. Deploy a Serverless VPC Access connector to allow the Cloud Run service to call the API through the FQDN on Cloud DNS.


Expert Solution
Questions # 19:

Your application stores files on Cloud Storage by using the Standard Storage class. The application only requires access to files created in the last 30 days. You want to automatically save costs on files that are no longer accessed by the application. What should you do?

Options:

A.

Create a retention policy on the storage bucket of 30 days, and lock the bucket by using a retention policy lock.


B.

Enable object versioning on the storage bucket and add lifecycle rules to expire non-current versions after 30 days


C.

Create an object lifecycle on the storage bucket to change the storage class to Archive Storage for objects with an age over 30 days.


D.

Create a cron job in Cloud Scheduler to call a Cloud Functions instance every day to delete files older than 30 days.


Expert Solution
Questions # 20:

Your customer has implemented a solution that uses Cloud Spanner and notices some read latency-related performance issues on one table. This table is accessed only by their users using a primary key. The table schema is shown below.

You want to resolve the issue. What should you do?

Options:

A.

Option A


B.

Option B


C.

Option C


D.

Option D


Expert Solution
Viewing page 2 out of 11 pages
Viewing questions 11-20 out of questions