Fundamentals Flashcards

To understand the fundamental services provided by Google Cloud.

1
Q

What is the scope of a GCP VPC?

A

Global

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

What is the scope of a subnet on a VPC?

A

Regional

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

True/False: If you expand a subnet, existing VMs may be affected.

A

False

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

Why would customers choose a preemptible VM?

A

To reduce cost

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

How do customers usually scale? Up or out?

A

Outwards; take advantage of auto-scaling to match the load your workload requires.

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

What type of load balancer would you use for scaling UDP traffic?

A

Regional

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

What types of load balancers only work on specific ports?

A

SSL-proxy, TCP-proxy, HTTPS-proxy

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

What type of load balancer would you use to balance internal requests?

A

Regional Internal

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

What is cloud DNS

A

A managed, programmable service that hosts DNS information in redundant locations around the world.

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

What is required before enabling CDN?

A

HTTPS load balancing

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

What ways may a customer connect their on-premises network to a GCP VPC?

A

Dynamic VPNs via Cloud Router, Direct Peering, Carrier Peering, and Dedicated Interconnect

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

What is the drawback of peering methods for GCP VPCs?

A

Peering methods are not covered by Google SLAs

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

What is the SLA for Google direct interconnect?

A

99.99%

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

What are the types of storage classes for Cloud Storage?

A

Multi-regional, Regional, Nearline, and Coldline

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

What kind of access does Multi-regional storage give you?

A

Highest storage price, lowest retrieval costs, and use for multi-regional access to objects, like a website.

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

What type of storage would you use for blob type data, long term storage? Each object can be accessed via URL.

A

Cloud Storage

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

True/False: Storage objects in Cloud Storage are mutable.

A

False. Storage objects are immutable. New versions overwrite old unless versioning is enabled (disabled by default)

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

What two key pieces of information are needed for an ACL on Cloud Storage?

A

Scope: who can perform the actions
Permission: what actions (read/write?)

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

If you need finer grained security than IAM on Cloud Storage objects, what do you use?

A

ACL

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

In addition to Versioning, what feature of Cloud Storage allows you to manage the history of versions?

A

Cloud Storage lifecycle management policies

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

True/False: Nearline and Coldline storage in Cloud Storage offers slightly higher data retrieval times than Multi-Regional and Regional

A

False. All storage access classes offer millisecond access time.

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

When you have frequently accessed content, what Cloud Storage storage class should you use?

A

Multi-Regional

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

When you have data in Cloud Storage to support an App on Compute Engine, VMs, or Kubernetes, what Cloud Storage class should you use?

A

Regional

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

How often should you be accessing Nearline storage data?

A

Once a month or less on average

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
How often should you be accessing Coldline storage data?
Once a year or less on average
26
What type of storage class in Cloud Storage is appropriate for data archiving, disaster recovery, and backups?
Coldline
27
How can you transfer petabytes of data to Cloud Storage?
Storage Transfer Service
28
What type of storage would you use for high-volume, high-throughput, low-latency analytics?
BigTable
29
What type of storage would you use for transactionally consistent data for a single app?
Cloud SQL
30
What type of storage would you use for transactionally consistent data that can scale horizontally?
Cloud Spanner
31
What NoSQL storage would you choose for integrating App Engine and Compute Engine?
Cloud Datastore
32
True/False: Cloud Datastore has a free daily quota for storage, r/w, and small operations
True
33
With containers, what part of a host are you virtualizing?
OS
34
True/False: Google has its own service for building containers
True: Google Container Builder
35
What is the smallest unit in Kubernetes you can create/deploy?
Pod
36
What is a pod?
A group of containers working together
37
How do you expose a deployment to the Internet
Via Service/LoadBalancer
38
What does a k8s service abstract?
The IP address to connect to a logical set of Pods
39
What feature of kubernetes would you use to deploy upgraded versions of your app in a non-disruptive way?
``` Rollout # ... replicas: 5 strategy: rollingUpdate: maxSurge: 1 maxUnavailable: 0 type: RollingUpdate #... ```
40
True/False: App Engine handles hardware and networking and you just provide the code
True
41
True or false: App Engine is a better choice for a web application than for long-running batch processing.
True. App Engine is especially suited for applications where the workload is highly variable, like a web application. App Engine will scale your application automatically in response to the amount of traffic it receives.
42
What additional services does App Engine offer?
NoSQL dbs, in-memory caching, health checks, logging, and user auth
43
True/False: Low utilization apps on App Engine Standard may run at no charge
True
44
What two environment types are there for App Engine?
Standard and Flexible
45
True/False: Both Standard and Flexible App Engine environments have a free daily quota
True
46
What restrictions does the App Engine Standard Environment impose?
Runtime (Limited to Java, Python, PHP, and Go), no SSH, no writing to local disk, limited to App Engine Services via network
47
Which are the 2 API management tools provided by Google?
Cloud Endpoints and Apigee Edge
48
You want to gradually decompose a pre-existing monolithic application, not implemented in GCP, into microservices. Which GCP service should you choose?
Apigee Edge
49
You want to support developers who are building services in GCP through API logging and monitoring. Which GCP service should you choose?
Cloud Endpoints
50
You want to do business analytics and billing on a customer-facing API. Which GCP service should you choose?
Apigee Edge
51
True/False: Scaling is finer-grained for App Engine Standard than Flexible?
True
52
What product provides GCP-project private git managed services
Cloud Source Repositories
53
What is the payment interval for Cloud Function run times?
100 ms
54
What managed service provides infrastructure as code service?
Google Deployment Manager
55
What is the GCP tol for logging, monitoring, debugging, tracing, and error reporting?
Stackdriver
56
What are the big data services?
Cloud Dataproc, Cloud Dataflow, BigQuery, Cloud Pub/Sub, Cloud Datalab
57
What is GCP's managed Hadoop service?
Cloud Dataproc
58
What managed resource would you use if you wanted to perform batch, ETL, and computations on data with an unknown size or rate?
Cloud Dataflow
59
What is Google's fully managed, petabyte-scale, low-cost analytics data warehouse?
BigQuery
60
What is GCP's managed messaging service?
Cloud Pub/Sub
61
What's GCP's managed jupyter lab notebooks?
Cloud DataLab
62
What Machine Learning APIs are available?
Cloud Vision, Cloud Speech (audio-to-text), Cloud Natural Langauge (text analysis), Cloud Translation, and Cloud Video Intelligence