S6 - Compute & Application Design Flashcards

(20 cards)

1
Q

What are the four main compute layers?

A

IaaS (Compute Engine), CaaS (GKE), PaaS (App Engine), FaaS (Cloud Run/Functions).

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

When use Compute Engine?

A

Lift-and-shift legacy apps, full OS control, custom VM tuning.

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

What are Managed Instance Groups (MIGs)?

A

Groups of identical VMs with autoscaling and auto-healing.

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

What’s the difference between GKE Standard and Autopilot?

A

Standard = user manages nodes; Autopilot = Google manages infrastructure.

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

When to use App Engine Standard vs Flexible?

A

Standard = fully managed, scales to zero; Flexible = custom runtimes, more control.

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

Cloud Run vs Cloud Functions?

A

Cloud Run = containerized services, HTTP-based; Functions = single event triggers.

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

What is Anthos used for?

A

Hybrid/multi-cloud management and policy enforcement for GKE clusters.

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

What are preemptible VMs?

A

Short-lived (24h max), cost-efficient VMs for batch/stateless jobs.

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

How to ensure VM fleet auto-heals and scales?

A

Managed Instance Groups + health checks.

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

Exam clue: “Run container without managing servers.”

A

Cloud Run.

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

Exam clue: “Event-triggered automation.”

A

Cloud Functions.

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

Exam clue: “Hybrid K8s across on-prem and cloud.”

A

Anthos.

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

How do you lower compute costs for long-term workloads?

A

Use committed use discounts or sustained usage discounts.

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

How do you lower costs for transient jobs?

A

Preemptible/spot instances.

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

How do instance templates assist scaling?

A

Define uniform VM configuration for MIGs and auto-scaling policies.

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

What service builds and stores container images?

A

Cloud Build + Artifact Registry.

17
Q

What service automates deployment to GKE/Run?

A

Cloud Deploy.

18
Q

Exam cue: “Autoscale containers, limit ops overhead.”

A

GKE Autopilot or Cloud Run (depending on context).

19
Q

Exam cue: “Web app with version rollouts, zero ops.”

A

App Engine Standard.

20
Q

Exam cue: “Legacy DB with full OS control.”

A

Compute Engine VM.