Question 1
4 marks
Infrastructure as a Service (IaaS) benefits and stochastic gradient descent optimization
- Resource management
- Modelling and simulation
(a)
2 marks
- Identify two reasons why NextStar would choose Infrastructure as a Service (IaaS) to host their platform:
- 1) Dynamic elasticity and resource scaling: NextStar can provision virtual compute instances and distributed block storage on demand as user video uploads increase, scaling infrastructure without purchasing on-premises hardware.
- 2) Fine-grained administrative and architectural control: IaaS grants complete root-level control over the operating system, network firewalls, and custom machine learning libraries (such as TensorFlow or PyTorch), which managed PaaS or SaaS environments often restrict.
Mentor tip
State two concrete business or technical advantages such as on-demand scalability, cost efficiency (pay-as-you-go), or granular control over the software stack.
(b)
2 marks
- Define the term stochastic gradient descent in machine learning optimization:
- Stochastic gradient descent is an iterative optimization algorithm used to minimize a model's cost or loss function by calculating the gradient of the loss with respect to model parameters using a single randomly selected training sample (or mini-batch) at each step.
- It updates model weights incrementally in the direction of steepest descent, achieving faster per-iteration updates and providing the stochastic variance needed to escape shallow local minima in large datasets.
Mentor tip
Define SGD as an iterative optimization method updating weights using randomly sampled single data points to minimize the loss function.

