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

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

You have a development project with appropriate IAM roles defined. You are creating a production project and want to have the same IAM roles on the new project, using the fewest possible steps. What should you do?

Options:

A.

Use gcloud iam roles copy and specify the production project as the destination project.


B.

Use gcloud iam roles copy and specify your organization as the destination organization.


C.

In the Google Cloud Platform Console, use the ‘create role from role’ functionality.


D.

In the Google Cloud Platform Console, use the ‘create role’ functionality and select all applicable permissions.


Expert Solution
Questions # 12:

You need to set a budget alert for use of Compute Engineer services on one of the three Google Cloud Platform projects that you manage. All three projects are linked to a single billing account. What should you do?

Options:

A.

Verify that you are the project billing administrator. Select the associated billing account and create a budget and alert for the appropriate project.


B.

Verify that you are the project billing administrator. Select the associated billing account and create a budget and a custom alert.


C.

Verify that you are the project administrator. Select the associated billing account and create a budget for the appropriate project.


D.

Verify that you are project administrator. Select the associated billing account and create a budget and a custom alert.


Expert Solution
Questions # 13:

You are building a data lake on Google Cloud for your Internet of Things (loT) application. The loT application has millions of sensors that are constantly streaming structured and unstructured data to your backend in the cloud. You want to build a highly available and resilient architecture based on Google-recommended practices. What should you do?

Options:

A.

Stream data to Pub/Sub, and use Dataflow to send data to Cloud Storage


B.

Stream data to Pub/Sub. and use Storage Transfer Service to send data to BigQuery.


C.

Stream data to Dataflow, and use Storage Transfer Service to send data to BigQuery.


D.

Stream data to Dataflow, and use Dataprep by Trifacta to send data to Bigtable.


Expert Solution
Questions # 14:

You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What should you do?

Options:

A.

Navigate to Cloud Logging and view the application logs.


B.

Connect to the instance’s serial console and read the application logs.


C.

Configure a Health Check on the instance and set a Low Healthy Threshold value.


D.

Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.


Expert Solution
Questions # 15:

You have a Compute Engine instance hosting an application used between 9 AM and 6 PM on weekdays. You want to back up this instance daily for disaster recovery purposes. You want to keep the backups for 30 days. You want the Google-recommended solution with the least management overhead and the least number of services. What should you do?

Options:

A.

1. Update your instances’ metadata to add the following value: snapshot–schedule: 0 1 * * *2. Update your instances’ metadata to add the following value: snapshot–retention: 30


B.

1. In the Cloud Console, go to the Compute Engine Disks page and select your instance’s disk.2. In the Snapshot Schedule section, select Create Schedule and configure the following parameters:–Schedule frequency: Daily–Start time: 1:00 AM – 2:00 AM–Autodelete snapshots after 30 days


C.

1. Create a Cloud Function that creates a snapshot of your instance’s disk.2.Create a Cloud Function that deletes snapshots that are older than 30 days.3.Use Cloud Scheduler to trigger both Cloud Functions daily at 1:00 AM.


D.

1. Create a bash script in the instance that copies the content of the disk to Cloud Storage.2.Create a bash script in the instance that deletes data older than 30 days in the backup Cloud Storage bucket.3.Configure the instance’s crontab to execute these scripts daily at 1:00 AM.


Expert Solution
Questions # 16:

You have a large 5-TB AVRO file stored in a Cloud Storage bucket. Your analysts are proficient only in SQL and need access to the data stored in this file. You want to find a cost-effective way to complete their request as soon as possible. What should you do?

Options:

A.

Load data in Cloud Datastore and run a SQL query against it.


B.

Create a BigQuery table and load data in BigQuery. Run a SQL query on this table and drop this table after you complete your request.


C.

Create external tables in BigQuery that point to Cloud Storage buckets and run a SQL query on these external tables to complete your request.


D.

Create a Hadoop cluster and copy the AVRO file to NDFS by compressing it. Load the file in a hive table and provide access to your analysts so that they can run SQL queries.


Expert Solution
Questions # 17:

Your preview application, deployed on a single-zone Google Kubernetes Engine (GKE) cluster in us-centrall, has gained popularity. You are now ready to make the application generally available. You need to deploy the application to production while ensuring high availability and resilience. You also want to follow Google-recommended practices. What should you do?

Options:

A.

Use the gcloud container clusters create command with the options--enable-multi-networking and--enable- autoscaling to create an autoscaling zonal cluster and deploy the application to it.


B.

Use the gcloud container clusters create-auto command to create an autopilot cluster and deploy the application to it.


C.

Use the gcloud container clusters update command with the option—region us-centrall to update the cluster and deploy the application to it.


D.

Use the gcloud container clusters update command with the option—node-locations us-centrall-a,us-centrall-b to update the cluster and deploy the application to the nodes.


Expert Solution
Questions # 18:

You need to deploy a single stateless web application with a web interface and multiple endpoints. For security reasons, the web application must be reachable from an internal IP address from your company's private VPC and on-premises network. You also need to update the web application multiple times per day with minimal effort and want to manage a minimal amount of cloud infrastructure. What should you do?

Options:

A.

Deploy the web application on Google Kubernetes Engine standard edition with an internal ingress.


B.

Deploy the web application on Cloud Run with Private Google Access configured


C.

Deploy the web application to GKE Autopilot with Private Google Access configured


D.

Deploy the web application on Cloud Run with Private Service Connect configured.


Expert Solution
Questions # 19:

Your company has workloads running on Compute Engine and on-premises. The Google Cloud Virtual Private Cloud (VPC) is connected to your WAN over a Virtual Private Network (VPN). You need to deploy a new Compute Engine instance and ensure that no public Internet traffic can be routed to it. What should you do?

Options:

A.

Create the instance without a public IP address.


B.

Create the instance with Private Google Access enabled.


C.

Create a deny-all egress firewall rule on the VPC network.


D.

Create a route on the VPC to route all traffic to the instance over the VPN tunnel.


Expert Solution
Questions # 20:

Your organization has a dedicated person who creates and manages all service accounts for Google Cloud projects. You need to assign this person the minimum role for projects. What should you do?

Options:

A.

Add the user to roles/iam.roleAdmin role.


B.

Add the user to roles/iam.securityAdmin role.


C.

Add the user to roles/iam.serviceAccountUser role.


D.

Add the user to roles/iam.serviceAccountAdmin role.


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