I.5 module quiz
Ten questions. 80% to pass (8 of 10). Open book, unlimited retakes.
Answers are collapsed under each question. Answer first, then check.
Q1
A team runs one small app on a virtual machine that is on all month and mostly idle. How is the machine billed?
A. Only for the minutes the app was busy
B. Per request the app receives
C. Per hour it is switched on, busy or idle
D. A one-off fee when the machine is created
Show answer
Correct: C. A VM is billed for every hour it is on. Being idle does not lower the price.
Q2
What is a container image?
A. The packed bundle of an app, ready to be started
B. A screenshot of the cloud console for support
C. A backup copy of a whole data centre
D. The diagram on a cloud bill
Show answer
Correct: A. An image is the packaged app with its code, settings and dependencies. Images are kept in a registry and started as containers.
Q3
Moving four apps from four VMs into containers on two machines saves money mainly because:
A. Containers are not billed by any provider
B. The registry pays the team for storing images
C. Kubernetes gives a discount on every container
D. The same work now fits on fewer rented machines
Show answer
Correct: D. You pay for the machines underneath. Containers help only when they let the work fit on fewer of them.
Q4
In Kubernetes, what is a pod?
A. A rented machine in the cluster that hosts the work
B. The smallest unit Kubernetes runs: one or a few containers
C. The brain of the cluster that decides where work goes
D. A region where clusters are allowed
Show answer
Correct: B. A pod holds one container, or a few that work closely together. A describes a node, and C describes the control plane.
Q5
Which of these is a managed Kubernetes service?
A. AWS Lambda function service
B. Azure Blob Storage service
C. Google Kubernetes Engine (GKE)
D. Amazon S3 buckets
Show answer
Correct: C. GKE is Google Cloud’s managed Kubernetes. The AWS and Azure equivalents are EKS and AKS. Lambda is serverless; S3 and Blob Storage are object storage.
Q6
A cluster’s pods use about 40% of the space its nodes offer. What happens to the other 60%?
A. The provider refunds it at the end of the month
B. It is given to other customers for free
C. It is billed at a lower idle rate
D. It is paid for in full and sits empty
Show answer
Correct: D. Nodes are billed per hour, full or not. Unused space on nodes is paid for like any other machine time.
Q7
A function has 1 GB of memory and runs for 3 seconds. How many GB-seconds is that?
A. 3
B. 1
C. 0.33
D. 30
Show answer
Correct: A. GB-seconds are memory times running time: 1 GB x 3 seconds = 3 GB-seconds.
Q8
For which kind of work is serverless usually cheapest?
A. Work that runs flat out all day and all night
B. Work that needs a machine reserved for three years
C. Work that must run on a specific physical server
D. Light work that comes in bursts with long quiet gaps
Show answer
Correct: D. Serverless has no idle cost, so it shines when there is a lot of quiet time. Constant heavy work can be cheaper on machines that stay on.
Q9
On a bill, the line named after the managed Kubernetes service usually shows:
A. Every cost of the cluster in one place
B. Mainly the cluster fee, while nodes bill as machines
C. Only the cost of serverless functions
D. The cost of the container images in the registry
Show answer
Correct: B. Nodes usually appear under the compute service with other VMs. The Kubernetes line usually holds the cluster fee, so it understates the cluster’s true cost.
Q10
“Serverless” means:
A. No computers are involved at all
B. The code runs only on your own computer
C. The provider runs your code on its machines when triggered
D. Servers are rented with a yearly contract at a discount
Show answer
Correct: C. There are still servers. You do not rent or manage them; the provider runs the function when something triggers it.
What’s next
Back to How software gets onto it.