Google Cloud Platform (GCP) General Information Flashcards

General Information for the GCP Certification exam

1
Q

What is Pub/Sub?

A

It is a fully managed real-time messaging service that allows you to send and receive messages between independent applications (AWS equivalent is SQS?)
It uses asynchronous communications which decouples the sender from the receiver.

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

When transferring data to GCP from an on-premise location, should you use gsutil or Cloud Transfer Service?

A

In this case, gsutil should be used.

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

When transferring data to GCP from another cloud service provider, should you use gsutil or Cloud Transfer Service?

A

In this case, use Storage Transfer Service.

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

A network can belong to how many projects?

A

One.

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

True or False:

Instances attached to separate networks in the same project must use their external IP addresses to communicate.

A

True.
Each network has its own firewall controlling access to the instances within it. The only way for instances in the separate networks to communicate is through the firewalls, which means they must use their external IP addresses.

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

What are considered global resources?

A

A global resource is a resource that is accessible by another resource, in any zone or region, within the same project.
Examples include: virtual machine images, snapshots of persistent disks, instance templates (unless they include resources that are not available in all regions and zones), firewalls, and routes to name a few.

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

What is Google Compute Engine (GCE)?

A

It is GCP’s virtual machine service. Provides scalable and customizable virtual machines with persistent storage.
Falls under the Compute category.

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

What is Google AppEngine?

A

It is a fully managed Platform as a Service for applications and back-ends for applications. It is serverless.
Falls under the Compute category.

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

What is Kubernetes Engine?

A

It is a service for creating, deploying, and managing Kubernetes clusters, which are used to deploy, manage and monitor containerized applications. It can also deploy the additional hardware resources needed by your containerized applications, such as storage, databases, compute and memory it may require.
Falls under the Compute category.

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

What is Cloud Functions?

A

Event-driven serverless compute platform. GCP’s equivalent of AWS Lambdas
Falls under the Compute category.

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

What is Knative?

A

It is a set of components to create modern, Kubernetes-native cloud-based software. Knative provides a set of middleware components that are essential to build modern, source-centric, and container-based applications that can run anywhere: on premises, in the cloud, or even in a third-party data center.
Falls under the Compute category.

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

What is Container Security?

A

Secure your container environment on GCP.

Falls under the Compute category.

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

What is Cloud Storage?

A

Object storage with global edge-caching. GCP’s equivalent of AWS S3.
Falls under Storage category.

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

What is Persistent Disks?

A

Reliable, high-performance block storage for virtual machine instances. Multiple virtual machines can use a single persistent disk.
Falls under the Storage category.

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

What is Data Transfer?

A

Command line tools for developers to transfer data over the network.
Falls under the Storage category.

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

What is Transfer Appliance?

A

Rackable storage server for shipping large volumes of data to Google Cloud.
Falls under the Storage category.

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

Cloud Storage Transfer Service

A

Transfer data between cloud storage services such as AWS S3 and Google Cloud Storage.
Falls under the Storage category.

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

What is BigQuery Data Transfer Service?

A

Fully managed data import service for BigQuery.

Falls under the Storage category.

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

What is Virtual Private Cloud (VPC)?

A

Managed networking functionality for your Cloud Platform resources.
Falls under the Networking category.

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

What is Cloud Load Balancing?

A

High performance, scalable load balancing on Google Cloud Platform.
Falls under the Networking category.

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

What is Cloud Armor?

A

Protects your services against DoS and web attacks.

Falls under Networking category.

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

What is Cloud CDN (Content Delivery Network)?

A

Low-latency, low-cost content delivery on GCP using edge locations around the world where data is cached to reduce latency.
Falls under the Networking category.

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

What is Cloud Interconnect?

A

Connect directly to GCP’s network edge.

Falls under the Networking category.

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

What is Cloud DNS?

A

GCP’s Domain Name System service.

Falls under the Networking category.

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

What is Network Telemetry?

A

A service that provides in-depth network telemetry information to keep your services secure.
Falls under the Networking category.

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

What is Cloud SQL?

A

A fully managed MySQL and PostgreSQL database service.

Falls under the Database category.

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

What is Cloud BigTable?

A

A petabyte-scale, fully managed NoSQL database service for large analytical and operational workloads (i.e. a big data storage solution). Used by HBase compatible big data applications like Hadoop. It stores the data that gets used by Hadoop.
Falls under the Database category.

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

What is Cloud Spanner?

A

A relational database service that offers the best of both relational and non-relational databases. It is strongly consistent like a relational database, but distributed over more than one location, and therefore highly available and fault-tolerant, like a no-SQL database. Also highly scalable like a no-SQL database.
Falls under the Database category.

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

What is Cloud Datastore?

A

It is is a highly-scalable NoSQL database for your web and mobile applications.
Falls under the Database category.

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

What is Cloud SDK?

A

Command-line interface for Google Cloud Platform products and services.
Falls under Developer Tools.

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

What is Container Registry?

A

Store, manage, and secure your Docker container images.

Falls under Developer Tools.

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

What is Cloud Build?

A

A service that enables you to continuously build, test, and deploy applications.
Falls under Developer Tools.

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

What is Cloud Source Repositories?

A

A single place for your team to store, manage, and track code. Essentially it is a GIT repository.
Falls under Developer Tools.

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

What is Stackdriver?

A

Monitoring logging, diagnostics (debugging, error reporting, tracing) and management tool for services, containers, applications, and infrastructure.
Falls under the Monitoring category.

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

What is (Stackdriver) Monitoring?

A

Monitoring for applications on GCP and AWS.

Falls under the Monitoring category.

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

What is (Stackdriver) Service Monitoring?

A

Stackdriver Service Monitoring is for Istio and Google App Engine services.
Falls under the Monitoring category.

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

What is (Stackdriver) Logging?

A

It is for logging applications running on Google Cloud Platform and Amazon Web Services

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

What is (Stackdriver) Error Reporting?

A

Identifies and helps you understand application errors.

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

What is (Stackdriver) Trace?

A

Find performance bottlenecks in production. Identifies latency in your application and “trace” them to their source.

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

What is (Stackdriver) Debugger?

A

Investigate code behavior in production.

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

What is (Stackdriver) Profiler?

A

Records and analyzes resource usage (i.e. CPU, RAM, etc.) by an application to help the developer fix poorly written code.

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

What is Cloud Deployment Manager?

A

Create and manage cloud resources with simple templates

43
Q

What is Cloud Console?

A

Your integrated Google Cloud Platform management console

44
Q

What is Cloud Shell?

A

An Ubuntu Linux Command-line management from any browser.

45
Q

Cloud Console Mobile App

A

Manage Google Cloud Platform services from your Android or iOS device.

46
Q

What is Cloud IoT Core?

A

A fully managed service to easily and securely connect, manage, and ingest data from globally dispersed devices.

47
Q

What is Cloud Endpoints?

A

Develop, deploy and manage APIs on any Google Cloud backend.

Falls under the API Management category.

48
Q

What is BigQuery?

A

A fully managed, highly scalable data warehouse for analytics, with built-in ML.

49
Q

What is Cloud DataFlow?

A

Fully managed service for real-time stream and batch data processing

50
Q

What is Cloud DataProc?

A

Fully managed Apache Spark and Hadoop service.

51
Q

What is Cloud DataLab?

A

It is an interactive tool created to explore, analyze, transform and visualize data and build machine learning models on Google Cloud Platform.

52
Q

What is Cloud Dataprep?

A

It is a fully managed cloud data service to explore, clean, and prepare data for analysis.

53
Q

What is Cloud Composer?

A

It is a fully managed workflow orchestration service that empowers you to author, schedule, and monitor pipelines that span across clouds and on-premises data centers.

54
Q

What is Cloud ML?

A

It is a suite of machine learning products that enables developers with limited machine learning expertise to train high-quality models specific to their business needs, by leveraging Google’s state-of-the-art transfer learning, and Neural Architecture Search technology.

55
Q

What is Cloud TPU?

A

It is a service that allows you access a Tensor Processing Unit (TPU) over the Internet. TPUs are ASICs built by Google to process Machine Learning data.

56
Q

What is Cloud Machine Learning Engine?

A

It is a managed service that enables developers and data scientists to build and bring superior machine learning models to production

57
Q

What is Cloud IAM?

A

It is Identity and Access Management. A service that provides the capability to make user accounts, assign permissions and roles to users and resources.

58
Q

What is Cloud Key Management Service?

A

Manage encryption keys on GCP

59
Q

What is Cloud Identity-Aware Proxy?

A

Use identity and context to guard access for applications deployed on GCP

60
Q

What is Resource Manager?

A

Google Cloud Platform provides resource containers such as Organizations, Folders, and Projects, that allow you to group and hierarchically organize other Cloud Platform resources. This hierarchical organization lets you easily manage common aspects of your resources such as access control and configuration settings.

61
Q

What is Security Key Enforcer?

A

Enforce the use of security keys to help prevent phishing.

62
Q

What is Cloud Security Scanner?

A

Automatically scan your App Engine apps.

63
Q

What is Cloud Data Loss and Prevention API?

A

Automatically discover and redact sensitive data everywhere

64
Q

What protocols do GCP Networking allow?

A

TCP, UDP, and ICMP

65
Q

What protocols do GCP Firewalls allow?

A

ICMP, RDP and SSH

66
Q

True or False.

GCP Firewall rules can deny ingress traffic on certain ports.

A

False.
GCP Firewall rules can only allow certain types of traffic into your network (ingress rules) on certain ports. GCP does not have explicit “deny” rules for ingress traffic. By not allowing a certain type of traffic, you are implicitly denying it.

67
Q

What is a Service Account?

A

It is an identity for your programs to use to authenticate and gain access to GCP APIs and resources. It is a machine-to-machine account.
Service accounts authenticate applications running on your virtual machine instances to other GCP services.

68
Q

What are the 4 GCP Storage options?

A

Multi-regional, Regional, Nearline, and Coldline

69
Q

What is durability for GCS?

A

The durability is 99.999999999% for all storage class types.

70
Q

What is the availability for Multi-regional Storage?

A

99.95%

71
Q

What is the availability for Regional Storage?

A

99.90%

72
Q

What is the availability for Nearline Storage?

A

99.00%

73
Q

What is the availability for Coldine Storage?

A

99.00%

74
Q

What is the use case for Multi-regional Storage?

A

Web content, streaming videos, mobile apps

75
Q

What is the use case for Regional Storage?

A

In-region data analytics, transcoding

76
Q

What is the use case for Nearline Storage?

A

Backups, long-tail content

77
Q

What is the use case for Coldline Storage?

A

Archiving, disaster recovery

78
Q

What is the use case for Cloud Storage?

A

To store files, pictures, binary large objects (blobs). This is also called object storage. It is just like a typical file systems with folders that have access permissions to them.

79
Q

What is the use case for Cloud SQL?

A

Relational database service on GCP. Can be used for No-ops? SQL database in the cloud

80
Q

What is the use case for Datastore?

A

NoSQL database for applications. Use for structured data from AppEngine apps.

81
Q

What is the use case for BigTable?

A

NoSQL database for big data applications. No-ops?, high throughput, scalable, flattened data

82
Q

What is the use case for BigQuery

A

Interactive SQL querying fully managed warehouse

83
Q

Command to list your projects

A

gcloud projects list

84
Q

Command to set the region for your project

A

gcloud config set compute/region “region name”

where “region name” is us-east1 or us-central1 or europe-west1

85
Q

Command to set your default project

A

gcloud config set project myProjects

86
Q

Command to set the zone for your project

A

gcloud config set compute/zone “zone name”

where “zone name” is us-central1-c, europe-west1-a

87
Q

Command to list the zones where the compute service is available (i.e. us-central1-a, us-central1-b, europe-west1-a)

A

gcloud compute zone list

88
Q

Command to secure shell into a virtual machine or compute instance

A

gcloud compute ssh “virtual-machine-name”

You can’t have spaces in the name so you must have it all one word or put dashes in

89
Q

Command to list the regions where you can do Cloud Functions (AWS equivalent of Lambdas)

A

gcloud functions region list

90
Q

Command to list all the URI (Uniform Resource Identifier) in a zone

A

gcloud compute zones list –uri

91
Q

Command to list a project’s DNS info

A

gcloud dns projects-info describe

92
Q

Command to provide detailed information about a project

A

gcloud compute project-info describe –project

93
Q

With respect to billing for virtual networking instances, what are you not billed for?

A

Traffic ingress (into the network from the Internet).
VM to VM traffic within a single zone.
Traffic to GCP services, although limits apply.

94
Q

With respect to billing for virtual networking instances, what are you billed for?

A
Traffic egress (out to the Internet).
From one region to another (North America to Europe),.
Rates will vary depending on whether data is going to one part of the same region to another, or to another continent
95
Q

What is a Bastion Host?

A

It is a virtual machine that act as an entry point to the GCP network from an external computer/network. It can serve as a NAT Gateway or for a site to site VPN.

96
Q

What is a managed instance group?

A

It is a group of virtual machine instances that created using a single instance template which contain all of the configuration info on the machines (i.e. # of CPUs, storage, RAM, etc.). As a result, you control/manage this group of instances as a single unit. Two types are Zonal and Regional. Useful for recovery after a failure, scaling per user needs, migrating instance.

97
Q

True or False:

An instance template is always a global resource, not bound to a zone or region.

A

False.
While instance templates are not bound to zones or regions, some GCP resources are. Therefore, if you include a zonal or regional resource in your instance template, it becomes bound to the specific zone(s) or region(s) where that service is available.

98
Q

What is an Unmanaged Instance group?

A

It is a group of virtual machine instances that are not all the same which you can arbitrarily add or remove from a group. Unmanaged Instances do not offer autoscaling, rolling update support, or use of instance templates. Google recommends against their usage.

99
Q

What is the use case for an Unmanaged Instance

A

Use only for applying load balancing to your pre-existing configurations or to groups of dissimilar instances.

100
Q

What are the 4 virtual machine disk types

A

Persistent disk HDD, Persistent disk SSD, Local SSD disk, and RAM disk

101
Q

True or False:

It is okay to use a virtual machine with a local SSD.

A

False.

Local SSDs cannot be backed up and will just be discarded. Snapshots are not available for SSDs.

102
Q

What is BigQuery?

A

BigQuery is a data warehouse for data analysis. It’s built to run large SQL statements. It supports streaming ingestion of data, which offers real-time analysis.

103
Q

What is DataFlow?

A

DataFlow is a service for transforming and enriching data in stream and batch modes.