Day 5 - Session 3
Day 5 - Session 3
Strictly for personal use only This training material is only an indicative but not exhaustive
1
Pre-Examination Training material for Specialist Cadre Officers Exam
Key Features:
• Accessibility: Resources are available from any device with Internet connectivity.
• Scalability: Easily scale resources up or down based on demand.
• Cost Efficiency: Pay only for what you use, reducing capital expenditure.
a. On-Demand Self-Service
Users can provision computing resources automatically without requiring human interaction with
service providers.
Services are accessible over the network from various devices, including laptops, smartphones,
and tablets.
c. Resource Pooling
Multiple users share the same physical resources, dynamically allocated based on their needs. This
multi-tenancy model maximises resource utilisation.
d. Rapid Elasticity
Strictly for personal use only This training material is only an indicative but not exhaustive
2
Pre-Examination Training material for Specialist Cadre Officers Exam
Resources can be scaled automatically to meet changing demands, allowing users to handle
varying workloads efficiently.
e. Measured Service
Resource usage is monitored, controlled, and reported, providing transparency for both the
provider and the consumer.
• Definition: PaaS provides a platform for developers to build, deploy, and manage
applications.
• How It Works: It includes development tools, database management, and middleware
without managing underlying infrastructure.
• Examples: Google App Engine, Microsoft Azure, Heroku.
• Definition: Services offered over the public Internet, shared among multiple organisations.
• Characteristics:
o Cost-effective, as users pay for what they use.
o Managed by third-party providers.
o Ideal for scalability and flexibility.
• Examples: AWS, Google Cloud, Microsoft Azure.
Strictly for personal use only This training material is only an indicative but not exhaustive
3
Pre-Examination Training material for Specialist Cadre Officers Exam
Private Cloud
Hybrid Cloud
• Definition: A combination of public and private clouds, allowing data and applications to be
shared between them.
• Advantages:
o Flexibility in resource allocation.
o Improved security for sensitive data.
5. Virtualisation
Definition
Virtualisation is the technology that allows multiple virtual instances of computing resources (like
servers, storage, and networks) to run on a single physical machine. It abstracts physical resources
to create virtual environments.
Benefits
• Definition: A computing model that divides tasks across multiple computers to process large
datasets or complex computations simultaneously.
• Characteristics:
o Requires a network of computers working together.
o Typically used for high-performance computing tasks, like scientific simulations.
• Example: Research labs using clusters of computers to run simulations.
Strictly for personal use only This training material is only an indicative but not exhaustive
4
Pre-Examination Training material for Specialist Cadre Officers Exam
Cloud Computing
• Definition: A service model that provides on-demand access to shared computing resources
over the Internet.
• Characteristics:
o Provides a broad range of services (storage, applications).
o More accessible and flexible than traditional distributed systems.
• Use Cases: Web applications, storage solutions, and scalable computing resources.
7. Containerisation
Definition
Benefits
1. Types of Virtualisations
Virtualisation allows multiple virtual instances of computing resources to run on a single physical
machine, optimizing resource use and improving scalability. Here are the primary types of
virtualisation:
Strictly for personal use only This training material is only an indicative but not exhaustive
5
Pre-Examination Training material for Specialist Cadre Officers Exam
• Server-Based Virtualisation:
o This type involves partitioning a physical server into multiple virtual servers. Each virtual
server operates independently and can run its own operating system (OS).
o Example: VMware vSphere, Microsoft Hyper-V.
• Hypervisor-Based Virtualisation:
o This method uses a hypervisor to create and manage virtual machines (VMs). The
hypervisor acts as an intermediary between the hardware and the VMs.
o Types of Hypervisors:
▪ Type 1 (Bare-Metal): Runs directly on the hardware without a host OS. Examples
include VMware ESXi and Microsoft Hyper-V.
▪ Type 2 (Hosted): Runs on top of a host OS. Examples include VMware
Workstation and Oracle VirtualBox.
• Full Virtualisation:
o The hypervisor fully simulates the underlying hardware, allowing unmodified guest
operating systems to run. Each VM thinks it has its own dedicated hardware.
o Advantages: Simplicity and compatibility with various OS types.
o Disadvantages: More resource-intensive due to overhead.
• Para Virtualisation:
o The guest OS is modified to be aware of the hypervisor, allowing it to communicate
directly with the hypervisor for improved performance.
o Advantages: Reduced overhead and better performance than full virtualisation.
o Disadvantages: Requires modification of the guest OS, limiting compatibility.
Strictly for personal use only This training material is only an indicative but not exhaustive
6
Pre-Examination Training material for Specialist Cadre Officers Exam
• Definition: VMs are fully isolated instances that run an operating system on a hypervisor.
Each VM includes the entire OS, application, and dependencies.
• Resource Overhead: Higher due to the need for a separate OS for each VM.
• Use Cases: Suitable for running applications requiring complete isolation or different
operating systems.
Containers
• Definition: Containers package applications and their dependencies into a single unit, sharing
the host OS kernel while maintaining isolation.
• Resource Overhead: Lower than VMs, allowing for faster start-up times and more efficient
resource usage.
• Use Cases: Ideal for microservices architectures and cloud-native applications due to rapid
deployment and scalability.
Key Differences
• Isolation Level: VMs offer stronger isolation than containers due to their separate OS
environments.
• Performance: Containers are typically faster and more resource-efficient than VMs.
• Management: Containers are easier to deploy and manage using orchestration tools like
Kubernetes.
Definition
CI/CD is a set of practices that automates the processes of software development, testing, and
deployment, aiming to enhance the software development lifecycle.
• Definition: CI is the practice of frequently integrating code changes into a shared repository.
Automated tests are run to ensure that changes do not break existing functionality.
• Benefits:
o Early detection of bugs.
o Improved collaboration among team members.
o Reduced integration problems.
Strictly for personal use only This training material is only an indicative but not exhaustive
7
Pre-Examination Training material for Specialist Cadre Officers Exam
CI/CD Pipeline
• A CI/CD pipeline is a series of automated steps that take code from version control to production.
Common steps include:
o Code Commit: Developers push code to a shared repository.
o Build: The code is compiled and packaged.
o Test: Automated tests are run to verify the code's correctness.
o Deploy: The application is deployed to production or staging environments.
Test Your Knowledge
Strictly for personal use only This training material is only an indicative but not exhaustive
8
Pre-Examination Training material for Specialist Cadre Officers Exam
Strictly for personal use only This training material is only an indicative but not exhaustive
9
Pre-Examination Training material for Specialist Cadre Officers Exam
Strictly for personal use only This training material is only an indicative but not exhaustive
10
Pre-Examination Training material for Specialist Cadre Officers Exam
19. What is one primary benefit of containerisation over traditional virtual machines?
A) Higher resource overhead
B) More complex management
C) Faster deployment and scaling of applications
D) Requires multiple OS installations
E) Limited portability
Answer: C
20. What type of cloud service allows users to manage operating systems and applications
while the provider manages hardware?
A) Software as a Service (SaaS)
B) Infrastructure as a Service (IaaS)
C) Platform as a Service (PaaS)
D) Data as a Service (DaaS)
E) Function as a Service (FaaS)
Answer: B
21. Which characteristic of cloud computing enables transparency for providers and
consumers?
A) Resource Pooling
B) Measured Service
C) Broad Network Access
D) On-Demand Self-Service
E) Rapid Elasticity
Answer: B
24. What does the term "multi-tenancy" in cloud computing refer to?
A) Multiple users sharing the same instance
B) Users managing their own resources
C) Separate instances for each user
D) A dedicated environment for each organisation
E) Limited access to shared resources
Answer: A
Strictly for personal use only This training material is only an indicative but not exhaustive
11
Pre-Examination Training material for Specialist Cadre Officers Exam
25. Which cloud service model typically requires the least management by the user?
A) IaaS
B) PaaS
C) SaaS
D) DaaS
E) FaaS
Answer: C
26. What type of virtualisation is characterised by its use of a hypervisor?
A) Full Virtualisation
B) Para Virtualisation
C) Container Virtualisation
D) Server-Based Virtualisation
E) Application Virtualisation
Answer: D
27. What is the main function of orchestration tools like Kubernetes?
A) To enhance physical security
B) To manage containerised applications at scale
C) To monitor network traffic
D) To replace cloud providers
E) To automate manual processes
Answer: B
28. Which of the following best describes cloud scalability?
A) Fixed resources regardless of demand
B) Ability to increase or decrease resources as needed
C) Limited access to applications
D) High initial setup costs
E) Dependence on physical servers
Answer: B
29. Which of the following best defines virtualisation?
A) Running applications on local machines
B) The technology that allows multiple virtual instances on a single physical machine
C) Eliminating physical hardware
D) Exclusive use of cloud services
E) Manual management of computing resources
Answer: B
30. What is a potential drawback of using a hybrid cloud?
A) Enhanced flexibility
B) Complexity in management and integration
C) Limited resource availability
D) Increased cost-effectiveness
E) Simplified security measures
Answer: B
31. What is a defining feature of a container?
A) Requires a separate operating system
B) Runs isolated processes but shares the same OS kernel
C) Has high resource overhead
D) Only works in a public cloud
E) Cannot be deployed quickly
Answer: B
Strictly for personal use only This training material is only an indicative but not exhaustive
12
Pre-Examination Training material for Specialist Cadre Officers Exam
Strictly for personal use only This training material is only an indicative but not exhaustive
13
Pre-Examination Training material for Specialist Cadre Officers Exam
Strictly for personal use only This training material is only an indicative but not exhaustive
14