Google Cloud Associate Engineer Questions 301-310

Google Cloud Associate Engineer Questions 301-310

Assessment

Flashcard

Information Technology (IT)

Professional Development

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

9 questions

Show all answers

1.

FLASHCARD QUESTION

Front

You are deploying an application to Google Kubernetes Engine (GKE). The application needs to make API calls to a private Cloud Storage bucket. You need to configure your application Pods to authenticate to the Cloud Storage API, but your organization policy prevents the usage of service account keys. You want to follow Google-recommended practices. What should you do?

Back

Create the GKE cluster with Workload Identity Federation. Create a Google service account and a Kubernetes ServiceAccount, and configure both service accounts to use Workload Identity Federation. Attach the Kubernetes ServiceAccount to the application Pods and configure the Google service account to access the bucket with Identity and Access Management (IAM).

2.

FLASHCARD QUESTION

Front

What should you do to manage the Linux account lifecycle and access for users in Google Cloud while following recommended practices? Options: Enable OS Login for all VMs. Use IAM roles to grant user permissions., Require your developers to create public SSH keys. Write custom startup scripts to update user permissions., Require your developers to create public SSH keys. Make the owner of the public key the root user., Enable OS Login for all VMs. Write custom startup scripts to update user permissions.

Back

Enable OS Login for all VMs. Use IAM roles to grant user permissions.

3.

FLASHCARD QUESTION

Front

You are managing the security configuration of your company’s Google Cloud organization. The Operations team needs specific permissions on both a Google Kubernetes Engine (GKE) cluster and a Cloud SQL instance. Two predefined Identity and Access Management (IAM) roles exist that contain a subset of the permissions needed by the team. You need to configure the necessary IAM permissions for this team while following Google-recommended practices. What should you do?

Back

Grant the team the two predefined IAM roles.

4.

FLASHCARD QUESTION

Front

Your organization has decided to deploy all its compute workloads to Kubernetes on Google Cloud and two other cloud providers. You want to build an Infrastructure-as-code solution to automate the provisioning process for all cloud resources. What should you do?

Back

Build the solution by using Terraform, and provision the resources.

5.

FLASHCARD QUESTION

Front

You are planning to deploy an application to Google Cloud. Your application processes asynchronous events from Google services and must be accessible from the public Internet. You need to identify how to deploy your application. You want to follow a standardized process while minimizing development costs. You also want to have no costs when your workloads are not in use. What should you do?

Back

Deploy your code to Cloud Run. Use Eventarc for event delivery.

6.

FLASHCARD QUESTION

Front

You are migrating your company’s on-premises compute resources to Google Cloud. You need to deploy batch processing jobs that run every night. The jobs require significant CPU and memory for several hours but can tolerate interruptions. You must ensure that the deployment is cost-effective. What should you do?

Back

Use Spot VMs on Compute Engine.

7.

FLASHCARD QUESTION

Front

Your company has a rapidly growing social media platform and a user base primarily located in North America. Due to increasing demand, your current on-premises PostgreSQL database, hosted in your United States headquarters data center, no longer meets your needs. You need to identify a cloud-based database solution that offers automatic scaling, multi-region support for future expansion, and maintains low latency. What should you do?

Back

Use Spanner.

8.

FLASHCARD QUESTION

Front

You are migrating your on-premises workload to Google Cloud. Your company is implementing its Cloud Billing configuration and requires access to a granular breakdown of its Google Cloud costs. You need to ensure that the Cloud Billing datasets are available in BigQuery so you can conduct a detailed analysis of costs. What should you do?

Back

Enable Cloud Billing data export to BigQuery when you create a Cloud Billing account.

9.

FLASHCARD QUESTION

Front

Your company’s accounting department needs to run an overnight batch workload every day. You must implement a solution that minimizes the cost to run this workload and automatically retries the batch if an execution fails. What should you do?

Back

Develop an application that runs the batch workload, and deploy the application as a Cloud Run job. Use Cloud Scheduler to trigger the job.