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
Q

How often should you be accessing Coldline storage data?

A

Once a year or less on average

26
Q

What type of storage class in Cloud Storage is appropriate for data archiving, disaster recovery, and backups?

A

Coldline

27
Q

How can you transfer petabytes of data to Cloud Storage?

A

Storage Transfer Service

28
Q

What type of storage would you use for high-volume, high-throughput, low-latency analytics?

A

BigTable

29
Q

What type of storage would you use for transactionally consistent data for a single app?

A

Cloud SQL

30
Q

What type of storage would you use for transactionally consistent data that can scale horizontally?

A

Cloud Spanner

31
Q

What NoSQL storage would you choose for integrating App Engine and Compute Engine?

A

Cloud Datastore

32
Q

True/False: Cloud Datastore has a free daily quota for storage, r/w, and small operations

A

True

33
Q

With containers, what part of a host are you virtualizing?

A

OS

34
Q

True/False: Google has its own service for building containers

A

True: Google Container Builder

35
Q

What is the smallest unit in Kubernetes you can create/deploy?

A

Pod

36
Q

What is a pod?

A

A group of containers working together

37
Q

How do you expose a deployment to the Internet

A

Via Service/LoadBalancer

38
Q

What does a k8s service abstract?

A

The IP address to connect to a logical set of Pods

39
Q

What feature of kubernetes would you use to deploy upgraded versions of your app in a non-disruptive way?

A
Rollout
# ...
replicas: 5
strategy:
    rollingUpdate:
        maxSurge: 1
        maxUnavailable: 0
    type: RollingUpdate
#...
40
Q

True/False: App Engine handles hardware and networking and you just provide the code

A

True

41
Q

True or false: App Engine is a better choice for a web application than for long-running batch processing.

A

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
Q

What additional services does App Engine offer?

A

NoSQL dbs, in-memory caching, health checks, logging, and user auth

43
Q

True/False: Low utilization apps on App Engine Standard may run at no charge

A

True

44
Q

What two environment types are there for App Engine?

A

Standard and Flexible

45
Q

True/False: Both Standard and Flexible App Engine environments have a free daily quota

A

True

46
Q

What restrictions does the App Engine Standard Environment impose?

A

Runtime (Limited to Java, Python, PHP, and Go), no SSH, no writing to local disk, limited to App Engine Services via network

47
Q

Which are the 2 API management tools provided by Google?

A

Cloud Endpoints and Apigee Edge

48
Q

You want to gradually decompose a pre-existing monolithic application, not implemented in GCP, into microservices. Which GCP service should you choose?

A

Apigee Edge

49
Q

You want to support developers who are building services in GCP through API logging and monitoring. Which GCP service should you choose?

A

Cloud Endpoints

50
Q

You want to do business analytics and billing on a customer-facing API. Which GCP service should you choose?

A

Apigee Edge

51
Q

True/False: Scaling is finer-grained for App Engine Standard than Flexible?

A

True

52
Q

What product provides GCP-project private git managed services

A

Cloud Source Repositories

53
Q

What is the payment interval for Cloud Function run times?

A

100 ms

54
Q

What managed service provides infrastructure as code service?

A

Google Deployment Manager

55
Q

What is the GCP tol for logging, monitoring, debugging, tracing, and error reporting?

A

Stackdriver

56
Q

What are the big data services?

A

Cloud Dataproc, Cloud Dataflow, BigQuery, Cloud Pub/Sub, Cloud Datalab

57
Q

What is GCP’s managed Hadoop service?

A

Cloud Dataproc

58
Q

What managed resource would you use if you wanted to perform batch, ETL, and computations on data with an unknown size or rate?

A

Cloud Dataflow

59
Q

What is Google’s fully managed, petabyte-scale, low-cost analytics data warehouse?

A

BigQuery

60
Q

What is GCP’s managed messaging service?

A

Cloud Pub/Sub

61
Q

What’s GCP’s managed jupyter lab notebooks?

A

Cloud DataLab

62
Q

What Machine Learning APIs are available?

A

Cloud Vision, Cloud Speech (audio-to-text), Cloud Natural Langauge (text analysis), Cloud Translation, and Cloud Video Intelligence