General Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Grouping a set of metrics that arrive in a period of time into regular-sized buckets is called what?

A

Alignment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What properties may be set when defining a disk on a virtual machine?

A

A device name, a Boolean indicating a boot disk, and a Boolean indicating autodelete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What service is responsible for managing container images?

A

Container Registry

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

You would like to define as code, the configuration of a set of application resources. The GCP service for creating resources using a configuration file made up of resource specifications defined in YAML syntax is called what?

A

Deployment manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You have a website hosted on a Compute Engine VM. Users can access the website using the domain name you provided. You do some maintenance work on the VM and stop the server and restart it. Now users cannot access the website. No other changes have occurred on the subnet. What might be the cause of the problem?

A

You used an ephemeral instead of a static IP address.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

You are using Cloud Console to create a VPN. You want to configure the GCP end of the VPN. What section of the Create VPN form would you use?

A

Google Compute Engine VPN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A team member has asked for your help deploying a WordPress site quickly. What is the fastest way to deploy WordPress for someone unfamiliar with the application?

A

Launch a WordPress app from Cloud Launcher

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A disk is running out of space. A system admin has resized the persistent disk while in use on a virtual machine. The system admin uses Linux command-line commands to review the amount of free storage and finds no new storage available. What might the system admin do to make the additional space available?

A

Issue operating system commands to make the additional space on the disk available to the file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

If you wanted to set the preemptible property using Cloud Console, in which section of the Create An Instance page would you find the option?

A

Availability Policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The gcloud command to create a custom role is what?

A

gcloud iam roles create

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When using Kubernetes Engine, which of the following might a cloud engineer need to configure?

A

Nodes, Podes, Services, Clusters, and Container Images.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You want to see a list of deployments. Which option from the Kubernetes Engine navigation menu would you select?

A

Workloads

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A colleague has asked for your assistance setting up a test environment in Google Cloud. They have never worked in GCP. You suggest starting with a single VM. Which of the following is the minimal set of information you will need?

A

A name for the VM, a machine type, a region, and a zone

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which of the following commands will create a virtual machine with four CPUs that is named web-server-1?

A

gcloud compute instances create –machine-type=n1-standard-4 web-server-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You need to look up what images are available in the zone you want to deploy a VM. What command would you use?

A

gcloud compute images list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the options for setting scopes in a virtual machine?

A

Allow Default Access, Allow Full Access, and Set Access for Each API

17
Q

What command is used to expand the number of addresses in a subnet?

A

gcloud compute networks subnets expand-ip-range

18
Q

Your company has a web application that allows job seekers to upload résumé files. Some files are in Microsoft Word, some are PDFs, and others are text files. You would like to store all résumés as PDFs. How could you do this in a way that minimizes the time between upload and conversion and with minimal amounts of coding?

A

Implement a cloud function on Cloud Storage to execute on a finalize event. The function checks the file type, and if it is not PDF, the function calls a PDF converter function and writes the PDF version to the bucket that has the original.

19
Q

A remote component in your network has failed, which results in a transient network error. When you submit a gsutil command, it fails because of a transient error. By default, the command will:

A

Retry using a truncated binary exponential back-off strategy

20
Q

You want to list roles assigned to users in a project called ace-exam-project. What gcloud command would you use?

A

gcloud projects get-iam-policy ace-exam-project

21
Q

Constraints are used in resource hierarchy policies. Which of the following are types of constraints allowed?

A
A. Allow a specific set of values
B. Deny a specific set of values
C. Deny a value and all its child values
D. Allow all allowed values
E. All of the above