CCL Viva QB Solved
CCL Viva QB Solved
- The practice of using a network of remote servers hosted on the Internet to store, manage, and
process data, rather than a local server or a personal computer is Cloud Computing.
- Basically, the concept of Data Centers is what Cloud Computing has resulted in.
2. State the importance of cloud computing / State the advantages of Cloud Computing
Benefits of Cloud Computing
- Data backup and storage of data.
- Powerful server capabilities.
- Expensive hardware is not required at Client side and only powerful Internet connection is
required.
3. Explain the different types of services provided by cloud computing with examples
a) IaaS (Infrastructure as a Service)
- Provides virtualized computing resources over the Internet.
- Also known as Hardware as a Service.
- No worries about the underlying physical machine (at user-end).
- Abstracts the user from the physical machine as physical machine is provided by cloud provider.
- The main advantage of using IaaS is that it helps users to avoid the cost and complexity of
purchasing and managing the physical servers.
- Examples, AWS EC2, Azure, Google Compute Engine, etc.
4. Explain the various deployment models with its advantages / disadvantages and when is a
particular deployment model used.
- Deployment model dictates the type of cloud that is to be used for computing purposes.
a) Public Cloud
- Used when data/usage/service is not of sensitive nature and so security is not a major concern.
- Preferred because it’s a cheaper option.
b) Private Cloud
- Used when the usage is of a sensitive/critical nature so security is a major concern.
- It is much more expensive than public or hybrid clouds.
c) Hybrid Cloud
- Used when part of the usage is critical whereas other parts of it are not.
- A bit more practical implementation that is cost efficient as well.
Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a
shared pool of configurable computing resources (e.g., networks, servers, storage, applications and
services) that can be rapidly provisioned and released with minimal management effort or service
provider interaction.
- Virtualization works by abstracting physical hardware and devices from the applications running on
that hardware.
- The process of virtualization manages and provisions the system's resources, including processor,
memory, storage and network resources.
- This enables the system to host more than one workload simultaneously, making more cost- and
energy-efficient use of the available servers and systems across the organization
8. Explain the different types of virtualization (hypervisors) and the platforms available for the
same
Type 1 Hypervisor
- A bare-metal hypervisor (Type 1) is a layer of software we install directly on top of a physical server
and its underlying hardware.
- There is no software or any operating system in between, hence the name bare-metal hypervisor.
- Examples,
VMware vSphere with ESX/ESXi, Microsoft Hyper-V, Citrix Hypervisor (formerly known as Xen Server)
Type 2 Hypervisor
- This type of hypervisor runs inside of an operating system of a physical host machine.
- This is why we call type 2 hypervisors – hosted hypervisors. As opposed to type 1 hypervisors that
run directly on the hardware, hosted hypervisors have one software layer underneath.
- Examples, Oracle VM VirtualBox, VMware Workstation Pro/VMware Fusion
11. Explain the way in which IaaS is implemented on different commercial cloud service providers.
Don’t know how to explain this other than just giving examples of various IaaS services like EC2,
Azure IaaS, Google Compute Engine, etc.
12. Enlist some opensource IaaS which can be deployed with your own resources
Eucalyptus
OpenStack
Nimbus
CloudStack
13. Explain the architecture of IaaS Service (Eucalyptus) which you have implemented
Following are the components of Eucalyptus architecture,
Cloud Controller (CLC): This is the controller that manages virtual resources like servers, network and
storage. It is at the highest level in hierarchy. It is a Java program with web interface for outside
world.
Walrus: This is another Java program in Eucalyptus that is equivalent to AWS S3 storage. It provides
persistent storage.
Cluster Controller (CC): It is a C program that is the front end for a Eucalyptus cloud cluster. It can
communicate with Storage controller and Node controller.
Storage Controller (SC): It is a Java program equivalent to EBS in AWS. It can interface with Cluster
Controller and Node Controller to manage persistent data via Walrus.
Node Controller (NC): It is a C program that can host a virtual machine instance. It is at the lowest
level in Eucalyptus cloud.
15. Explain the benefit of having IaaS implement through cloud / opensource
- The main advantage of using IaaS is that it helps users to avoid the cost and complexity of
purchasing and managing the physical servers.
- Pay for What You Use: Fees are computed via usage-based metrics.
- Dynamically Scale: Rapidly add capacity in peak times and scale down as needed.
- Increase Security: IaaS providers invest heavily in security technology and expertise.
- Future-Proof: Access to state-of-the-art data center, hardware and operating systems.
- Reallocate IT Resources: Free up IT staff for higher value projects.
- Reduce Downtime: IaaS enables instant recovery from outages.
- Level the Playing Field: Small-scale firms and companies can compete with much larger firms.
16. Explain if you have used any commercial IaaS for your project or any other purpose
EC2
18. Explain how the SaaS implemented by any commercial cloud service provider
Google Drive is a SaaS that provides users the capability of storing their data on cloud storage. It
syncs across your Google account and so can be used on desktops as well as mobiles with ease.
19. Enlist different opensource SaaS which can be deployed with your own resources
NextCloud
Hadoop
OpenStack
20. Explain the steps involved in setting up SaaS on your machine (pre-requisite , configuration
files, installation commands etc.)
Steps for installing NextCloud on Windows,
1. Install WSL (Windows Subsystem for Linux)
2. Once WSL is up and running with a Linux OS installed in it, install Apache + PHP + MySQL/MariaDB
22. Explain if you have used any commercial SaaS for your project or any other purpose
Amazon S3
24. Can you suggest any best practices for securing data on commercial cloud?
- Encrypting the data with passwords.
- Authenticating the data using Authenticator apps, i.e., 2 Factor Authentication.
- Creating user roles/groups so that users only get access to the data which they have clearance for.
25. How can you secure the data on any of the opensource tool (NextCloud)?
- Changing Data Directory from default location to a new location so that the data cannot be found
that easily.
- Using secure password for admin account.
- Enabling 2FA for NextCloud Account and save the backup codes for this purpose.
- Enable Server-side encryption module
26. Security of data on cloud should it be the responsibility of user uploading it to cloud or the
service provider – state your views on it? Currently what is the picture with major cloud service
providers?
Depends on the price being paid by the user. At a premium price, it is the responsibility of the
service provider as it already is in the current market. But in case of free plans or open-source
services, the responsible shouldn’t fully fall under the hands of the service provider as user is
expected to be more knowledgeable in this case and should know standard security practices.
27. What is PaaS? State any PaaS service you have used?
Question 3. b)
Used PaaS service, Amazon Elastic Beanstalk
28. Can you state certain services which come under PaaS under the various commercial service
providers?
Amazon Elastic Beanstalk, Heroku, App Services (Azure), Google App Engine
29. How to deploy web applications on commercial cloud?
Using PaaS services like Heroku, Amazon Elastic Beanstalk, App Services, etc.
31. What is the kind of policy that Azure implements for a free tier subscription?
It provides a credit amount that can be used for using various Azure services.
It provides some services for free regardless of credit for the first 12 months after which they
become paid.
Then it provides some services for free forever but there’s an upper limit on how much of the service
you can use depending on what kind of service it is.
32. Which Azure services have you used can you explain its importance in brief.
Azure App Services for deploying web-app.
Azure ML Studio for training ML models, it has the very unique feature of visualizing the entire ML
workflow in the form of an interactive flowchart which makes the whole process really easy and it
has a lot of open-source features built into the service itself.
33. State any real-life platform / application where Azure is used extensively currently
1) Verizon: $79.9 million
2) MSI Computer: $78 million
3) LG Electronics: $76.7 million
4) CenturyLink: $61.9 million
5) NTT America: $48.7 million
6) Wikimedia Foundation: $42.6 million
7) LinkedIn Corp: $41.2 million
8) News Corp: $40.5 million
9) Adobe: $39.9 million
10) Intel: $38.5 million
36. Which AWS services are you aware of under the various categories of IaaS , PaaS and SaaS ?
IaaS: EC2
PaaS: Elastic BeanStalk, Lambda, Lightsail
SaaS: S3, DynamoDB, Rekognition
37. State the various services you have used in AWS while performing lab sessions.
S3, EC2, DynamoDB, Rekognition, SNS, LightSail
38. What is ppk file, pem file, RDP, etc. with respect to EC2.
- PEM (Privacy Enhanced Mail) is a base64 container format for encoding keys and certificates, for
EC2, it contains the private key used for connecting to EC2 instance.
- The EC2 service allows users to lease virtual systems so that they can run their applications on it.
However if one plans to use PuTTY's SSH client to connect, then they are first required to convert the
.pem file to .ppk (PuTTY private key) using PuTTYgen and then use PuTTY application to join local and
remote hosts.
41. What is SNS service about? Who are subscribers? How can subscribers unsubscribe to the
channel to deactivate the notifications etc.
It stands for Simple Notification Service.
Its use is to send notifications via email or SMS to subscribers.
Subscribers are users that have accepted to receive notifications regarding your service/app on the
channel.
This allows users to receive updates or important messages regarding their actions like password
change, email verification, etc. and also messages regarding the app itself like new update notes,
future plans, etc.
The SNS message sent to the user has a link for unsubscribing from the channel.
43. What is the billing policy difference between AWS, Azure and GCP. State any other primary
difference you can state between these leading cloud service providers.