Google Cloud Module Knowledge Check

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/69

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

70 Terms

1
New cards
computer engine
Google Cloud provides a variety of service choices. Which of the following services is infrastructure as a service (IaaS)?

* app engine
* cloud function
* compute engine
* google kubernetes engine
2
New cards
organization
The Google Cloud hierarchy helps you manage resources across multiple departments and multiple teams within an organization. Which of the following is at the top level of this hierarchy?
3
New cards
google cloud resources
Cloud Identity and Access Management (Cloud IAM) allows you to manage privileges. What do these privileges apply to?
4
New cards
all resources must be associated with a project
Projects form part of the Google Cloud resources hierarchy. Which of the following is true concerning projects?
5
New cards
one or more data centers
Google Cloud provides resources in multi-regions, regions, and zones. What best describes a zone?
6
New cards
S3
Regions are independent geographic areas on the same continent. Which of the following is a regional service?
7
New cards
used to organize projects
What is the purpose of a folder?
8
New cards
the system can add and remove resources based on need
What does it mean for a system to be elastic?
9
New cards
you pay for the resources when they are consumed
You are using Google Cloud to provide a platform as a service (PaaS) solution using App Engine. When will you be billed for the resources required?
10
New cards
SaaS
You want to migrate data from your old database to the cloud. You do not want to manage the underlying architecture or the database application. Which cloud service type should you choose?
11
New cards
The project ID and project number are fixed
You have changed the name of your project. You want to change the name of the project ID as well, but are not able to do so. Why is this?
12
New cards
Restore the project from accidental deletion
You need to recover a Compute Engine instance that was in a project that you just accidentally deleted. You do not have a backup or archive copy of the instance. How can you retrieve this instance?
13
New cards
deploy the applications across multiple zone
You need to deploy several applications to the us-central1 region. How should you deploy the applications to enable fault tolerance and high availability?
14
New cards
run the cloud init command
How would you configure the Cloud SDK to work on your laptop?
15
New cards
gsutil
Which command line tool can be used to manage Cloud Storage?
16
New cards
false
True or False. When using Cloud Shell you must also install the Cloud SDK locally to manage your projects and resources.
17
New cards
true
True or False. The Cloud Shell code editor is one of the developer tools built into the Cloud Console.
18
New cards
Projects are the basis for enabling and using Google Cloud services

AND \n Each project is a separate account, and each resource belongs to exactly one.
Every Google Cloud service you use is associated with a project. Which of the following statements regarding projects are correct?
19
New cards
configure budgets and alerts
How would you configure billing notifications in Google Cloud?
20
New cards
Configuration used to prevent billing surprises and over consumption due to malicious attacks
What best describes the purpose of quotas?
21
New cards
use Google APIs Explorer that is part of the Cloud Console
How would you test a Google API and learn how it works?
22
New cards
JSON
In what format will a majority of the APIs return data in?
23
New cards
cloud source repositories
\n You want team members working on separate projects to be able to collaborate on the development of an application. You want to manage all access to the project and development in Google Cloud. Which Google Cloud service will allow your team to store, manage, and track code?
24
New cards
export the information to a BigQuery dataset
You require detailed usage and cost estimation information about a project from your Google Cloud billing data. What action can you take in the Google Cloud Billing console to accomplish this?
25
New cards
create a project that does not link to a billing account
You are onboarding a new co-worker. You want them to familiarize themselves with Google Cloud but not start any resources which could incur a cost. What action can you take?
26
New cards
define an alert at the billing account level

AND

Create a webhook in response to the alert that will trigger a shutdown script
\n

You want to automatically shutdown resources in a project if the budget exceeds a specified amount. What actions can you take to accomplish this?
27
New cards
the cloud shell code editor
You want to edit the code of a sample application from within your Cloud Shell environment. You do not want to launch a text based editor from the Cloud Shell prompt. What tool can you utilize to achieve this?
28
New cards
role/owner
You want to add additional members to your project but are unable to do so. In the Cloud Console in the cloud IAM & admin section you can see that you have the roles/viewer permission. What role do you need in order to add a member to the project?
29
New cards
save the files in your home directory
You want to ensure that files you are working on in the Cloud Shell persist across multiple sessions. What action must you take to ensure this happens?
30
New cards
\n Install the gcloud beta components and enter gcloud interactive mode.
You want to use the auto-prompting feature to help you learn the gcloud command syntax. What actions must you take in the Cloud Shell in order to enable auto prompting for commands and flags with inline help snippets?
31
New cards
Cloud will infer your desired zone based on your default properties
You are using the Cloud Shell to create a virtual machine. You run the gcloud compute command to create a virtual machine but omit the --zone flag. What effect will this have when provisioning the machine?
32
New cards
create a custom virtual machine that fits your needs
None of the pre-defined instance types fit your application. What do you do?
33
New cards
false
\n True or False. Compute Engine pricing is based on a daily rate for the instance.
34
New cards
true
True or False. Cloud Monitoring metrics can be used to trigger an autoscaling event
35
New cards
Local SSD
Which of the following virtual disk types is ephemeral?
36
New cards
App engine
Time-to-market is highly valuable to you and you want to be able to focus on writing code without ever having to touch a server, cluster, or infrastructure. Which service suits your needs?
37
New cards
true
True or False. Python is a runtime option for Cloud Functions.
38
New cards
Webhook
\n Which of the following can trigger Cloud Functions?
39
New cards
An orchestration engine to manage containers.
Google Kubernetes Engine is built on the open-source Kubernetes system. Which of the following statements best describes what Kubernetes is?
40
New cards
docker
Which of the following is the container format used with Google Kubernetes Engine?
41
New cards
Local SSD
You are building a VM for data analysis. You want a disk that will deliver very high Input/Output operations (IOPs) and very low latency. The files will be copied to the VM from Cloud Storage in order to perform the analysis. Which option should you choose?
42
New cards
increase the number of vCPUs

AND

Increase the size of the SSD persistent disks
You created several single vCPU virtual machines with SSD persistent disks attached for an application. The amount of input/output operations per second (IOPs) required by the application have increased and performance is no longer satisfactory. What actions can you take to improve disk I/O?
43
New cards
App Engine Flexible
\n You need to deploy a web application that has been provided by your development team as a Docker container. You do not want to manage any infrastructure for this application. Which Google compute environment should you choose?
44
New cards
create a trigger

AND

bind a function to a trigger
You want to use Cloud Functions to create a response to certain events. \n You also want to capture and act on these events. What must you configure to achieve this?
45
New cards
google kubernetes engine
\n

You want to deploy a web server in a containerized environment. You also want to install the system on local servers in the cloud, manage container networking and data storage, deploy rollouts and rollbacks, and monitor and manage container and host health. Which solution should you choose?
46
New cards
machine type
You want to configure a virtual machine with a large amount of RAM. Which option in the Cloud Console should you modify when creating the virtual machine to select the amount of RAM?
47
New cards
the latest Debian image
You deploy a virtual machine in the Google Cloud Shell using the following command 'gcloud compute instances create gcelab2 --machine-type n1-standard-2 --zone us-central1-a'. What operating system is deployed by default?
48
New cards
boot disk
You want to create a virtual machine running the latest version of the SUSE Linux Enterprise Server operating system. Which option in the Cloud Console should you modify when creating the virtual machine?
49
New cards
get root access using the sudo command and retry
You have connected to your Linux virtual machine using the SSH Connect button in the Cloud Console. You run the command 'apt-get update' but receive the error 'permission denied.’ What action must you take in order to run the command?
50
New cards
cloud storage
\n Google Cloud has many storage options. Which would be the best option for unstructured storage?
51
New cards
5 TB
What is the largest object that you can store in Cloud Storage?
52
New cards
Nearline
What Cloud Storage storage class would be an inexpensive option for backups that you test once a month?

* Archive
* Coldline
* Nearline
* Standard
53
New cards
cloud spanner
Google Cloud has different options for SQL-based managed services. Which of these options is horizontally scalable and globally available?
54
New cards
MySQL and PostgreSQL
Which of the following database engines does Cloud SQL support?
55
New cards
true
True or False. You can use existing SQL skills to query data in Cloud Spanner.
56
New cards
BigQuery
\n Which of the following storage options is not a database?

* BigQuery
* Cloud Spanner
* Cloud SQL
57
New cards
images and documents
You have analyzed your data and want to transfer relevant files to Cloud Storage. Which data types are most suited for this type of storage?

* images
* documents
* stock information
* billing information
* customer transactions
58
New cards
standard
You require a storage solution that will host videos to be streamed frequently and globally. The solution must be geographically redundant. Which solution should you choose?

* archive
* coldline
* nearline
* standard
59
New cards
object versioning
\n You must support the retrieval of objects that have been overwritten or deleted using Cloud Storage. Which feature should you enable to achieve this?

* archiving
* snapshots
* cloud API
* Object versioning
60
New cards
access control lists
You want to define user access to individual files on a Cloud Storage bucket. You want users to only be able to read from a single object. What type of user permission should you define to achieve this?

* cloud IAM role
* Actions viewer role
* access control lists
* access approval role
61
New cards
you see public link to the image
You have executed the command ‘gsutil acl ch -u AllUsers:R gs://bucket1/ada.jpg’ in Cloud Shell to make the file available to anyone. What visual indicator in the Storage section of the Cloud Console allows you to verify that the permission level has been set?

* you see public link to the image
* you see public under storage class
* you see AllUsers under permissions
* you see a green tick next to the bucket
62
New cards
project.1 is not a valid DNS name
You want to create a bucket with a particular project name. You execute 'gsutil mb gs://project.1' but receive the error message ‘BadRequestException’. Why is this the case?

* the bucket name is already taken
* project. 1 is not a valid DNS name
* Project.1 reveals sensitive information
* the bucket name cannot end with a number
63
New cards
REST
Which of the following is the most common API format in Google Cloud?
64
New cards
APIs simplify the way disparate software resources communicate
\n

What is the purpose of an API?

* APIs replace web pages
* APIs create GUI interfaces
* APIs simplify the way disparate software resources communicate
* APIs are non-HTTPS interfaces used to interface with web interfaces
65
New cards
HTTPS


Which of the following is the protocol used by REST APIs?
66
New cards
Cloud Endpoints
You are looking for a managed API service for your cloud-based services? Which of these services would meet your needs?
67
New cards
pub/sub
You need a simple and reliable staging location for your event data on its journey towards processing, storage, and analysis. Which one of the following services should you consider?
68
New cards
through a publish/subscribe pattern
How does Pub/Sub deliver messages to endpoints?

* through an internal ID
* through a publish/subscribe pattern
* messages have to be pulled by the front end
* by pushing messages to all available endpoints based on an internal list
69
New cards
Pub/Sub
You have to implement a solution that allows the Human Resources (HR) system to reliably notify other departmental services that a new employee has been hired without having to directly connect your application to all of the other services. What Google service should you use?

* Apigee Edge
* Dataflow
* Pub/Sub
* Cloud Connector
70
New cards
ingest
You need to implement a big data analytics platform in the cloud. Into which phase of the common big data processing model would you place Pub/Sub?

* store
* ingest
* process
* analyze