πŸ”

ACE β€” questions

Page 5 of 17 Β· 334 total questions.

Topic 1 Β· Question 81

You are operating a Google Kubernetes Engine (GKE) cluster for your company where different teams can run non-production workloads. Your Machine Learning (ML) team needs access to Nvidia Tesla P100 GPUs to train their models. You want to minimize effort and cost. What should you do?

  • AAsk your ML team to add the "accelerator: gpu" annotation to their pod specification.
  • BRecreate all the nodes of the GKE cluster to enable GPUs on all of them.
  • CCreate your own Kubernetes cluster on top of Compute Engine with nodes that have GPUs. Dedicate this cluster to your ML team.
  • DAdd a new, GPU-enabled, node pool to the GKE cluster. Ask your ML team to add the cloud.google.com/gke -accelerator: nvidia-tesla-p100 nodeSelector to their pod specification. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Add a new, GPU-enabled, node pool to the GKE cluster. Ask your ML team to add the cloud.google.com/gke -accelerator: nvidia-tesla-p100 nodeSelector to their pod specification.

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized, portable workloads.

Topic 1 Β· Question 82

Your VMs are running in a subnet that has a subnet mask of 255.255.255.240. The current subnet has no more free IP addresses and you require an additional 10 IP addresses for new VMs. The existing and new VMs should all be able to reach each other without additional routes. What should you do?

  • AUse gcloud to expand the IP range of the current subnet. (correct answer)
  • BDelete the subnet, and recreate it using a wider range of IP addresses.
  • CCreate a new project. Use Shared VPC to share the current network with the new project.
  • DCreate a new subnet with the same starting IP but a wider range to overwrite the current subnet.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Use gcloud to expand the IP range of the current subnet.

Topic 1 Β· Question 83

Your organization uses G Suite for communication and collaboration. All users in your organization have a G Suite account. You want to grant some G Suite users access to your Cloud Platform project. What should you do?

  • AEnable Cloud Identity in the GCP Console for your domain.
  • BGrant them the required IAM roles using their G Suite email address. (correct answer)
  • CCreate a CSV sheet with all users' email addresses. Use the gcloud command line tool to convert them into Google Cloud Platform accounts.
  • DIn the G Suite console, add the users to a special group called [email protected]. Rely on the default behavior of the Cloud Platform to grant users access if they are members of this group.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Grant them the required IAM roles using their G Suite email address.

Explanation

Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources.

Topic 1 Β· Question 84

You have a Google Cloud Platform account with access to both production and development projects. You need to create an automated process to list all compute instances in development and production projects on a daily basis. What should you do?

  • ACreate two configurations using gcloud config. Write a script that sets configurations as active, individually. For each configuration, use gcloud compute instances list to get a list of compute resources. (correct answer)
  • BCreate two configurations using gsutil config. Write a script that sets configurations as active, individually. For each configuration, use gsutil compute instances list to get a list of compute resources.
  • CGo to Cloud Shell and export this information to Cloud Storage on a daily basis.
  • DGo to GCP Console and export this information to Cloud SQL on a daily basis.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Create two configurations using gcloud config. Write a script that sets configurations as active, individually. For each configuration, use gcloud compute instances list to get a list of compute resources.

Topic 1 Β· Question 85

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?

  • ALoad data in Cloud Datastore and run a SQL query against it.
  • BCreate a BigQuery table and load data in BigQuery. Run a SQL query on this table and drop this table after you complete your request.
  • CCreate external tables in BigQuery that point to Cloud Storage buckets and run a SQL query on these external tables to complete your request. (correct answer)
  • DCreate 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.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option 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.

Explanation

Cloud Storage provides durable, scalable object storage that is fully managed. BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 86

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

  • AFilter the Activity log to view the Configuration category. Filter the Resource type to Service Account. (correct answer)
  • BFilter the Activity log to view the Configuration category. Filter the Resource type to Google Project.
  • CFilter the Activity log to view the Data Access category. Filter the Resource type to Service Account.
  • DFilter the Activity log to view the Data Access category. Filter the Resource type to Google Project.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Filter the Activity log to view the Configuration category. Filter the Resource type to Service Account.

Explanation

A service account provides an identity for workloads to access Google Cloud APIs securely.

Topic 1 Β· Question 87

You deployed an LDAP server on Compute Engine that is reachable via TLS through port 636 using UDP. You want to make sure it is reachable by clients over that port. What should you do?

  • AAdd the network tag allow-udp-636 to the VM instance running the LDAP server.
  • BCreate a route called allow-udp-636 and set the next hop to be the VM instance running the LDAP server.
  • CAdd a network tag of your choice to the instance. Create a firewall rule to allow ingress on UDP port 636 for that network tag. (correct answer)
  • DAdd a network tag of your choice to the instance running the LDAP server. Create a firewall rule to allow egress on UDP port 636 for that network tag.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Add a network tag of your choice to the instance. Create a firewall rule to allow ingress on UDP port 636 for that network tag.

Topic 1 Β· Question 88

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?

  • AVerify that you are the project billing administrator. Select the associated billing account and create a budget and alert for the appropriate project. (correct answer)
  • BVerify that you are the project billing administrator. Select the associated billing account and create a budget and a custom alert.
  • CVerify that you are the project administrator. Select the associated billing account and create a budget for the appropriate project.
  • DVerify that you are project administrator. Select the associated billing account and create a budget and a custom alert.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Verify that you are the project billing administrator. Select the associated billing account and create a budget and alert for the appropriate project.

Topic 1 Β· Question 89

You are migrating a production-critical on-premises application that requires 96 vCPUs to perform its task. You want to make sure the application runs in a similar environment on GCP. What should you do?

  • AWhen creating the VM, use machine type n1-standard-96. (correct answer)
  • BWhen creating the VM, use Intel Skylake as the CPU platform.
  • CCreate the VM using Compute Engine default settings. Use gcloud to modify the running instance to have 96 vCPUs.
  • DStart the VM using Compute Engine default settings, and adjust as you go based on Rightsizing Recommendations.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: When creating the VM, use machine type n1-standard-96.

Topic 1 Β· Question 90

You want to configure a solution for archiving data in a Cloud Storage bucket. The solution must be cost-effective. Data with multiple versions should be archived after 30 days. Previous versions are accessed once a month for reporting. This archive data is also occasionally updated at month-end. What should you do?

  • AAdd a bucket lifecycle rule that archives data with newer versions after 30 days to Coldline Storage.
  • BAdd a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage. (correct answer)
  • CAdd a bucket lifecycle rule that archives data from regional storage after 30 days to Coldline Storage.
  • DAdd a bucket lifecycle rule that archives data from regional storage after 30 days to Nearline Storage.
Reveal answer & explanation
Correct answer: B

The correct answer is B. Option B: Add a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage. This option delivers the requirement at the lowest cost.

Topic 1 Β· Question 91

Your company's infrastructure is on-premises, but all machines are running at maximum capacity. You want to burst to Google Cloud. The workloads on Google Cloud must be able to directly communicate to the workloads on-premises using a private IP range. What should you do?

  • AIn Google Cloud, configure the VPC as a host for Shared VPC.
  • BIn Google Cloud, configure the VPC for VPC Network Peering.
  • CCreate bastion hosts both in your on-premises environment and on Google Cloud. Configure both as proxy servers using their public IP addresses.
  • DSet up Cloud VPN between the infrastructure on-premises and Google Cloud. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Set up Cloud VPN between the infrastructure on-premises and Google Cloud.

Explanation

Cloud VPN provides encrypted IPsec connectivity between on premises and a VPC.

Topic 1 Β· Question 92

You want to select and configure a solution for storing and archiving data on Google Cloud Platform. You need to support compliance objectives for data from one geographic location. This data is archived after 30 days and needs to be accessed annually. What should you do?

  • ASelect Multi-Regional Storage. Add a bucket lifecycle rule that archives data after 30 days to Coldline Storage.
  • BSelect Multi-Regional Storage. Add a bucket lifecycle rule that archives data after 30 days to Nearline Storage.
  • CSelect Regional Storage. Add a bucket lifecycle rule that archives data after 30 days to Nearline Storage.
  • DSelect Regional Storage. Add a bucket lifecycle rule that archives data after 30 days to Coldline Storage. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Select Regional Storage. Add a bucket lifecycle rule that archives data after 30 days to Coldline Storage.

Topic 1 Β· Question 93

Your company uses BigQuery for data warehousing. Over time, many different business units in your company have created 1000+ datasets across hundreds of projects. Your CIO wants you to examine all datasets to find tables that contain an employee_ssn column. You want to minimize effort in performing this task. What should you do?

  • AGo to Data Catalog and search for employee_ssn in the search box. (correct answer)
  • BWrite a shell script that uses the bq command line tool to loop through all the projects in your organization.
  • CWrite a script that loops through all the projects in your organization and runs a query on INFORMATION_SCHEMA.COLUMNS view to find the employee_ssn column.
  • DWrite a Cloud Dataflow job that loops through all the projects in your organization and runs a query on INFORMATION_SCHEMA.COLUMNS view to find employee_ssn column.
Reveal answer & explanation
Correct answer: A

The correct answer is A. Option A: Go to Data Catalog and search for employee_ssn in the search box.

Explanation

Data Catalog provides metadata management and discovery across data assets.

Topic 1 Β· Question 94

You create a Deployment with 2 replicas in a Google Kubernetes Engine cluster that has a single preemptible node pool. After a few minutes, you use kubectl to examine the status of your Pod and observe that one of them is still in Pending status: What is the most likely cause?

  • AThe pending Pod's resource requests are too large to fit on a single node of the cluster.
  • BToo many Pods are already running in the cluster, and there are not enough resources left to schedule the pending Pod.
  • CThe node pool is configured with a service account that does not have permission to pull the container image used by the pending Pod.
  • DThe pending Pod was originally scheduled on a node that has been preempted between the creation of the Deployment and your verification of the Pods' status. It is currently being rescheduled on a new node. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: The pending Pod was originally scheduled on a node that has been preempted between the creation of the Deployment and your verification of the Pods' status. It is currently being rescheduled on a new node.

Topic 1 Β· Question 95

You want to find out when users were added to Cloud Spanner Identity Access Management (IAM) roles on your Google Cloud Platform (GCP) project. What should you do in the GCP Console?

  • AOpen the Cloud Spanner console to review configurations.
  • BOpen the IAM & admin console to review IAM policies for Cloud Spanner roles.
  • CGo to the Stackdriver Monitoring console and review information for Cloud Spanner.
  • DGo to the Stackdriver Logging console, review admin activity logs, and filter them for Cloud Spanner IAM roles. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Go to the Stackdriver Logging console, review admin activity logs, and filter them for Cloud Spanner IAM roles.

Explanation

Cloud Spanner is a horizontally scalable, strongly consistent relational database with global reach. Cloud IAM grants fine-grained, least-privilege access to Google Cloud resources. Cloud Operations (formerly Stackdriver) provides monitoring, logging, and tracing for reliability.

Topic 1 Β· Question 96 Β· Select all that apply

Your company implemented BigQuery as an enterprise data warehouse. Users from multiple business units run queries on this data warehouse. However, you notice that query costs for BigQuery are very high, and you need to control costs. Which two methods should you use? (Choose two.)

  • ASplit the users from business units to multiple projects.
  • BApply a user- or project-level custom query quota for BigQuery data warehouse. (correct answer)
  • CCreate separate copies of your BigQuery data warehouse for each business unit.
  • DSplit your BigQuery data warehouse into multiple data warehouses for each business unit.
  • EChange your BigQuery query model from on-demand to flat rate. Apply the appropriate number of slots to each Project. (correct answer)
Reveal answer & explanation
Correct answer: B, E

The correct answer is B, E. Option B: Apply a user- or project-level custom query quota for BigQuery data warehouse. Option E: Change your BigQuery query model from on-demand to flat rate. Apply the appropriate number of slots to each Project.

Explanation

BigQuery is a serverless, petabyte-scale data warehouse for fast SQL analytics with no infrastructure to manage.

Topic 1 Β· Question 97

You are building a product on top of Google Kubernetes Engine (GKE). You have a single GKE cluster. For each of your customers, a Pod is running in that cluster, and your customers can run arbitrary code inside their Pod. You want to maximize the isolation between your customers' Pods. What should you do?

  • AUse Binary Authorization and whitelist only the container images used by your customers' Pods.
  • BUse the Container Analysis API to detect vulnerabilities in the containers used by your customers' Pods.
  • CCreate a GKE node pool with a sandbox type configured to gvisor. Add the parameter runtimeClassName: gvisor to the specification of your customers' Pods. (correct answer)
  • DUse the cos_containerd image for your GKE nodes. Add a nodeSelector with the value cloud.google.com/gke-os-distribution: cos_containerd to the specification of your customers' Pods.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Create a GKE node pool with a sandbox type configured to gvisor. Add the parameter runtimeClassName: gvisor to the specification of your customers' Pods.

Explanation

Google Kubernetes Engine runs managed Kubernetes for containerized, portable workloads.

Topic 1 Β· Question 98

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?

  • ARemove the profile_picture field from the table.
  • BAdd a secondary index on the person_id column.
  • CChange the primary key to not have monotonically increasing values. (correct answer)
  • DCreate a secondary index using the following Data Definition Language (DDL):
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Change the primary key to not have monotonically increasing values.

Topic 1 Β· Question 99

Your finance team wants to view the billing report for your projects. You want to make sure that the finance team does not get additional permissions to the project. What should you do?

  • AAdd the group for the finance team to roles/billing user role.
  • BAdd the group for the finance team to roles/billing admin role.
  • CAdd the group for the finance team to roles/billing viewer role. (correct answer)
  • DAdd the group for the finance team to roles/billing project/Manager role.
Reveal answer & explanation
Correct answer: C

The correct answer is C. Option C: Add the group for the finance team to roles/billing viewer role.

Topic 1 Β· Question 100

Your organization has strict requirements to control access to Google Cloud projects. You need to enable your Site Reliability Engineers (SREs) to approve requests from the Google Cloud support team when an SRE opens a support case. You want to follow Google-recommended practices. What should you do?

  • AAdd your SREs to roles/iam.roleAdmin role.
  • BAdd your SREs to roles/accessapproval.approver role.
  • CAdd your SREs to a group and then add this group to roles/iam.roleAdmin.role.
  • DAdd your SREs to a group and then add this group to roles/accessapproval.approver role. (correct answer)
Reveal answer & explanation
Correct answer: D

The correct answer is D. Option D: Add your SREs to a group and then add this group to roles/accessapproval.approver role.

Showing questions 81–100 of 334 Β· Page 5 of 17