skip to content

Cloud Providers & Platforms

The platforms you actually deploy on: the hyperscalers, the edge and developer PaaS layer that sits above them, and the file-sync SaaS everything ends up integrating with. Interviewers use this ground to check you can pick a provider tier for a workload and explain what you are paying for.

on this pageshow

explore

→ has its own guide

questions

714 · 2 sections

What is EC2 user data, at what point in an instance's life does the script run, and as which OS user?

level: juniorimportance: must knowfreq 65%
basics
~20 s

User data is a text blob you attach to an EC2 instance that cloud-init fetches from the instance metadata service at first boot. A script starting with a shebang runs as root, once per instance — not on every reboot.

open as a page

In an EC2 Auto Scaling group, what do the minimum, maximum and desired capacity settings each control, and what happens if you manually terminate one of the group's instances?

level: juniorimportance: must knowfreq 68%
basics
~20 s

Desired capacity is the instance count the group tries to run right now; minimum and maximum are the floor and ceiling that scaling can never cross. Manually terminating an instance leaves the group below desired, so it launches a replacement.

open as a page

Decode the EC2 instance type name m7g.2xlarge: what does each part of the name tell you, and how many vCPUs and how much memory does that instance have?

level: juniorimportance: must knowfreq 75%
basics
~20 s

m7g.2xlarge splits into four parts: family m (general purpose, roughly 4 GiB of memory per vCPU), generation 7, processor letter g (AWS Graviton, arm64), and size 2xlarge — 8 vCPUs and 32 GiB of memory.

open as a page

In EC2, what do you get and what do you give up by running an instance as Spot instead of On-Demand, and how is the Spot price actually determined?

level: juniorimportance: must knowfreq 78%
basics
~20 s

Spot Instances run on EC2 capacity AWS currently has idle, at a steep discount off On-Demand, but AWS can reclaim them at any moment with a two-minute warning. Spot prices move gradually with supply and demand; there is no bidding auction.

open as a page

In Amazon ECS, explain what a task definition, a task, and a service each are, and when you would use the RunTask API directly instead of putting the workload behind a service.

level: juniorimportance: must knowfreq 78%
basics
~20 s

An ECS task definition is the immutable blueprint: image, CPU and memory, IAM roles, logging. A task is one running copy of it. A service keeps a desired count of tasks alive and replaces failures; RunTask launches one-off jobs.

open as a page

A nightly cleanup job runs about twenty minutes - why does an event-driven runtime rule itself out, and which tier fits?

level: juniorimportance: must knowfreq 70%
basics
~20 s

An event-driven runtime caps how long one invocation may run, so a twenty-minute job is stopped part-way. Put it on a tier that keeps a process alive: a managed container platform running it on a schedule, or a machine that stays up.

open as a page

You are moving a measured search service onto rented machines — which numbers set the machine size, and which do you ignore?

level: juniorimportance: must knowfreq 72%
basics
~20 s

Size from the service's own observed processor, memory, disk and network use over a full demand cycle, taken at a high percentile with headroom added. The specification of the server being replaced records a purchase decision, not the workload, and is ignored.

open as a page

What does a label attached to a cloud resource actually change about the bill, and what does it not change?

level: juniorimportance: must knowfreq 68%
basics
~20 s

A label copies a key-value pair onto the charges a resource generates, so the provider's detailed cost report can be grouped by team, environment or service. It changes reporting only: the rate, the metered quantity and the total are unaffected.

open as a page

A monthly cloud budget threshold is crossed at noon — what does crossing it actually do, and what does it not do?

level: juniorimportance: must knowfreq 62%
basics
~20 s

A budget threshold is a notification rule, not a spending cap. Crossing it emits a message about money already spent. It does not pause running resources, block new ones, or cancel anything, and the figure it fired on lags the usage.

open as a page

On a cloud transfer bill, a service uploads large video masters and ships finished renditions out to viewers — why is only one direction charged?

level: juniorimportance: must knowfreq 74%
basics
~20 s

Transfer is metered by direction. Bytes arriving from outside are normally unmetered; bytes leaving toward the internet are priced per gigabyte after a small monthly allowance. So delivery to viewers is the charge, not the upload of masters.

open as a page