ExamGecko
Home Home / Google / Associate Cloud Engineer

Google Associate Cloud Engineer Practice Test - Questions Answers, Page 9

Question list
Search
Search

List of questions

Search

Related questions











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?

A.
Ask your ML team to add the ''accelerator: gpu'' annotation to their pod specification.
A.
Ask your ML team to add the ''accelerator: gpu'' annotation to their pod specification.
Answers
B.
Recreate all the nodes of the GKE cluster to enable GPUs on all of them.
B.
Recreate all the nodes of the GKE cluster to enable GPUs on all of them.
Answers
C.
Create your own Kubernetes cluster on top of Compute Engine with nodes that have GPUs. Dedicate this cluster to your ML team.
C.
Create your own Kubernetes cluster on top of Compute Engine with nodes that have GPUs. Dedicate this cluster to your ML team.
Answers
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.
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.
Answers
Suggested answer: D

Explanation:


Ref:https://cloud.google.com/kubernetes-engine/pricing

Example:

apiVersion: v1

kind: Pod

metadata:

name: my-gpu-pod

spec:

containers:

name: my-gpu-container

image: nvidia/cuda:10.0-runtime-ubuntu18.04

command: [/bin/bash]

resources:

limits:

nvidia.com/gpu: 2

nodeSelector:

cloud.google.com/gke-accelerator: nvidia-tesla-k80 # or nvidia-tesla-p100 or nvidia-tesla-p4 or nvidia-tesla-v100 or nvidia-tesla-t4

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?

A.
Use gcloud to expand the IP range of the current subnet.
A.
Use gcloud to expand the IP range of the current subnet.
Answers
B.
Delete the subnet, and recreate it using a wider range of IP addresses.
B.
Delete the subnet, and recreate it using a wider range of IP addresses.
Answers
C.
Create a new project. Use Shared VPC to share the current network with the new project.
C.
Create a new project. Use Shared VPC to share the current network with the new project.
Answers
D.
Create a new subnet with the same starting IP but a wider range to overwrite the current subnet.
D.
Create a new subnet with the same starting IP but a wider range to overwrite the current subnet.
Answers
Suggested answer: A

Explanation:

https://cloud.google.com/sdk/gcloud/reference/compute/networks/subnets/expand-ip-range

gcloud compute networks subnets expand-ip-range - expand the IP range of a Compute Engine subnetwork gcloud compute networks subnets expand-ip-range NAME --prefix-length=PREFIX_LENGTH [--region=REGION] [GCLOUD_WIDE_FLAG ...]

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?

A.
Enable Cloud Identity in the GCP Console for your domain.
A.
Enable Cloud Identity in the GCP Console for your domain.
Answers
B.
Grant them the required IAM roles using their G Suite email address.
B.
Grant them the required IAM roles using their G Suite email address.
Answers
C.
Create a CSV sheet with all users' email addresses. Use the gcloud command line tool to convert them into Google Cloud Platform accounts.
C.
Create a CSV sheet with all users' email addresses. Use the gcloud command line tool to convert them into Google Cloud Platform accounts.
Answers
D.
In 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.
D.
In 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.
Answers
Suggested answer: B

Explanation:

Default behavior does not grant access to the 'your GCP Project' Default behavior allow only create billing account and project - When the organization is created, all users in your domain are automatically granted Project Creator and Billing Account Creator IAM roles at the organization level. This enables users in your domain to continue creating projects with no disruption.

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?

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.
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.
Answers
B.
Create 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.
B.
Create 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.
Answers
C.
Go to Cloud Shell and export this information to Cloud Storage on a daily basis.
C.
Go to Cloud Shell and export this information to Cloud Storage on a daily basis.
Answers
D.
Go to GCP Console and export this information to Cloud SQL on a daily basis.
D.
Go to GCP Console and export this information to Cloud SQL on a daily basis.
Answers
Suggested answer: A

Explanation:

You can create two configurations -- one for the development project and another for the production project. And you do that by running ''gcloud config configurations create'' command. https://cloud.google.com/sdk/gcloud/reference/config/configurations/create In your custom script, you can load these configurations one at a time and execute gcloud compute instances list to list Google Compute Engine instances in the project that is active in the gcloud configuration. Ref:https://cloud.google.com/sdk/gcloud/reference/compute/instances/list Once you have this information, you can export it in a suitable format to a suitable target e.g. export as CSV or export to Cloud Storage/BigQuery/SQL, etc

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?

A.
Load data in Cloud Datastore and run a SQL query against it.
A.
Load data in Cloud Datastore and run a SQL query against it.
Answers
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.
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.
Answers
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.
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.
Answers
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.
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.
Answers
Suggested answer: C

Explanation:

https://cloud.google.com/bigquery/external-data-sources

An external data source is a data source that you can query directly from BigQuery, even though the data is not stored in BigQuery storage.

BigQuery supports the following external data sources:

Amazon S3

Azure Storage

Cloud Bigtable

Cloud Spanner

Cloud SQL

Cloud Storage

Drive

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.
A.
Filter the Activity log to view the Configuration category. Filter the Resource type to Service Account.
Answers
B.
Filter the Activity log to view the Configuration category. Filter the Resource type to Google Project.
B.
Filter the Activity log to view the Configuration category. Filter the Resource type to Google Project.
Answers
C.
Filter the Activity log to view the Data Access category. Filter the Resource type to Service Account.
C.
Filter the Activity log to view the Data Access category. Filter the Resource type to Service Account.
Answers
D.
Filter the Activity log to view the Data Access category. Filter the Resource type to Google Project.
D.
Filter the Activity log to view the Data Access category. Filter the Resource type to Google Project.
Answers
Suggested answer: A

Explanation:

https://developers.google.com/cloud-search/docs/guides/audit-logging-manual

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?

A.
Add the network tag allow-udp-636 to the VM instance running the LDAP server.
A.
Add the network tag allow-udp-636 to the VM instance running the LDAP server.
Answers
B.
Create a route called allow-udp-636 and set the next hop to be the VM instance running the LDAP server.
B.
Create a route called allow-udp-636 and set the next hop to be the VM instance running the LDAP server.
Answers
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.
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.
Answers
D.
Add 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.
D.
Add 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.
Answers
Suggested answer: C

Explanation:

A tag is simply a character string added to a tags field in a resource, such as Compute Engine virtual machine (VM) instances or instance templates. A tag is not a separate resource, so you cannot create it separately. All resources with that string are considered to have that tag. Tags enable you to make firewall rules and routes applicable to specific VM instances.

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?

A.
Verify that you are the project billing administrator. Select the associated billing account and create a budget and alert for the appropriate project.
A.
Verify that you are the project billing administrator. Select the associated billing account and create a budget and alert for the appropriate project.
Answers
B.
Verify that you are the project billing administrator. Select the associated billing account and create a budget and a custom alert.
B.
Verify that you are the project billing administrator. Select the associated billing account and create a budget and a custom alert.
Answers
C.
Verify that you are the project administrator. Select the associated billing account and create a budget for the appropriate project.
C.
Verify that you are the project administrator. Select the associated billing account and create a budget for the appropriate project.
Answers
D.
Verify that you are project administrator. Select the associated billing account and create a budget and a custom alert.
D.
Verify that you are project administrator. Select the associated billing account and create a budget and a custom alert.
Answers
Suggested answer: A

Explanation:

https://cloud.google.com/iam/docs/understanding-roles#billing-roles

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?

A.
When creating the VM, use machine type n1-standard-96.
A.
When creating the VM, use machine type n1-standard-96.
Answers
B.
When creating the VM, use Intel Skylake as the CPU platform.
B.
When creating the VM, use Intel Skylake as the CPU platform.
Answers
C.
Create the VM using Compute Engine default settings. Use gcloud to modify the running instance to have 96 vCPUs.
C.
Create the VM using Compute Engine default settings. Use gcloud to modify the running instance to have 96 vCPUs.
Answers
D.
Start the VM using Compute Engine default settings, and adjust as you go based on Rightsizing Recommendations.
D.
Start the VM using Compute Engine default settings, and adjust as you go based on Rightsizing Recommendations.
Answers
Suggested answer: A

Explanation:

Ref:https://cloud.google.com/compute/docs/machine-types#n1_machine_type

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?

A.
Add a bucket lifecycle rule that archives data with newer versions after 30 days to Coldline Storage.
A.
Add a bucket lifecycle rule that archives data with newer versions after 30 days to Coldline Storage.
Answers
B.
Add a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage.
B.
Add a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage.
Answers
C.
Add a bucket lifecycle rule that archives data from regional storage after 30 days to Coldline Storage.
C.
Add a bucket lifecycle rule that archives data from regional storage after 30 days to Coldline Storage.
Answers
D.
Add a bucket lifecycle rule that archives data from regional storage after 30 days to Nearline Storage.
D.
Add a bucket lifecycle rule that archives data from regional storage after 30 days to Nearline Storage.
Answers
Suggested answer: B

Explanation:

Nearline Storage is ideal for data you plan to read or modify on average once per month or less. And this option archives just the noncurrent versions which is what we want to do.

Ref:https://cloud.google.com/storage/docs/storage-classes#nearline

Total 289 questions
Go to page: of 29