Search Header Logo

GCP - Cloud Engineer 150 preguntas corregido

Authored by Daniel Beffermann

Computers

Professional Development

Used 2+ times

GCP - Cloud Engineer 150 preguntas corregido
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

150 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Your organization has created multiple projects in several folders. You have been assigned to manage and want to get descriptive information about each project. What command would you use to get metadata about a project?

gcloud projects describe [PROJECT_ID] or gcloud projects describe [PROJECT_NAME]
gcloud projects describe [PROJECT_NAME] only
gcloud describe project [PROJECT_ID] only
gcloud describe project [PROJECT_NAME] only

Answer explanation

The correct command is gcloud projects describe followed by the PROJECT_ID or the PROJECT_NAME.

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You have just created a custom mode network using the command: gcloud compute networks create. You want to eventually deploy instances in multiple regions. What is the next thing you should do?

Create subnets in all regions
Create subnets in regions where you plan to deploy instances
Create firewall rules to control ingress traffic
Create a VPN between the custom mode network and other networks in the VPC.

Answer explanation

After creating a custom mode network, you will need to create subnets in regions where instances will be deployed. You do not have to create subnets in all regions but an instance cannot be deployed to a region without a subnet.

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The contents of a Cloud Storage bucket called free-photos-gcp are currently stored in a standard storage class bucket. You want to change the storage class to nearline. What command would you use?

gcloud storage objects update gs://free-photos-gcp --storage-class=Nearline
gsutil migrate -s nearline gs://free-photos-gcp
gsutil rewrite -from multiregional --to nearline gs://free-photos-gcp
gsutil migrate --from multiregional --to nearline gs://free-photos-gcp

Answer explanation

The correct command for changing the storage class is gcloud storage objects update with the target storage class and bucket specified.

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A Cloud Storage user wants to rename several files in a bucket. What command should they use?

gsutil mv
gsutil rename
gsutil cp
gsutil rn

Answer explanation

To rename a file in cloud storage, use the move command gsutil mv.

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

During an audit, auditors determined that there are insufficient access controls on Cloud Storage buckets. The auditors recommend you use uniform bucket-level access. After applying uniform bucket-level access some users that had access to objects in buckets no longer have access. What could be the cause?

Users do not have IAM permissions that allow them access to objects in buckets. Prior to setting uniform bucket-level access, those users had access through ACLs.
Applying uniform bucket-level access removes all access privileges. No user will have access until permissions are reset.
Users do not have permissions through ACLs that allow them access to objects in buckets. Prior to setting uniform bucket-level access, those users had access through IAM.
ACLs are removed when uniform bucket-level access is applied. ACLs must be recreated.

Answer explanation

Access is granted to Cloud Storage objects using IAM or access control lists (ACLs). When uniform bucket-level access is applied, users only have access through IAM roles and permissions. A users that could access objects before uniform bucket-level access is applied but not after must have had access through ACLs.

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You are using HTTP(S) Load Balancing for a Web application that has several services. Depending on the URL specified by a user, requests are routed to different backend services. What would you use to specify how those requests should be routed?

URL maps
Routes
Firewall rules
Traces

Answer explanation

URL maps specify direct requests to particular services. Routes are used to specify paths to destination IP addresses outside a subnet. Firewall rules control the flow of traffic on a network. Traces are used to understand performance characteristics of services in a distributed system.

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You want to load balance an application that receives traffic from other resources in the same VPC. All traffic is TCP with IPv4 addresses. What load balancer would you recommend?

SSL Proxy Load Balancing
TCP Proxy Load Balancing
Internal TCP/UDP Load Balancing
Network TCP/UDP Load Balancing

Answer explanation

Internal TCP/UDP Load Balancing is used for internal traffic, that is not from the internet. SSL Proxy, TCP Proxy, and Network TCP/UDP load balancing are used with external traffic.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?