Cloud Computing, Past Papers, UOS Main Campus

Cloud Computing Past Paper 2017 – BS IT 8th Term UOS (IT-4541)

ProgramBS IT
Term8th
Year2017
Course codeIT-4541
AnswersSolved ✓

University of Sargodha BS IT 8th term Cloud Computing (IT-4541) paper, 2017 exam (80 marks, 2:30 hours). The paper is retyped below without the handwritten notes on the original, followed by solved answers for all 16 short questions and all five subjective questions: offloading from smartphones, virtualization types, cloud characteristics and challenges, IaaS/PaaS/SaaS/CaaS, and cloud standards.

Solved answers

Q1 – Short answers (16 × 2)

1. SLA and its contents. A Service Level Agreement is a contract between a cloud provider and a customer that defines the expected service. Contents: services provided, availability/uptime (e.g. 99.9%), performance and response times, support hours, security and data protection, backup and recovery, monitoring and reporting, penalties/credits for violations, termination terms.

2. Federated Identity Management. Lets users use a single identity/login across different organisations and cloud services through trust relationships, using standards such as SAML, OAuth and OpenID (single sign-on).

3. Hosted vs hypervisor VM. A hosted (type 2) hypervisor runs as an application on a host operating system (VirtualBox, VMware Workstation). A bare-metal (type 1) hypervisor runs directly on the hardware without a host OS (VMware ESXi, Xen, Hyper-V), giving better performance and security.

4. MSP model. Managed Service Provider – a company that remotely manages a customer’s IT infrastructure, applications or security for a subscription fee (monitoring, backup, help desk).

5. Fault-tolerant system. Continues to work correctly when components fail: redundancy (no single point of failure), replication, fault detection, isolation, automatic failover and recovery, graceful degradation.

6. DMTF. The Distributed Management Task Force develops open standards (CIM, OVF, CIMI, Redfish) that allow management tools from different vendors to work together, making it easier to manage IT systems and clouds worldwide.

7. Open Virtualization Format. A DMTF standard for packaging and distributing virtual machines (disk images plus an XML descriptor) so they can run on different hypervisors.

8. Zimbra vs Zoho. Zimbra is an email and collaboration suite (mail, calendar, contacts) that can be self-hosted or cloud-hosted, with an open-source edition. Zoho is a cloud-based SaaS suite of many applications – office (Writer, Sheet), CRM, mail, accounting and projects.

9. New NSSP. The National Strategy to Secure Cyberspace / national security strategy plans that address cyber security of critical infrastructure; in cloud texts it refers to the updated national strategy for securing information systems against cyber threats. (Exact term depends on the course book.)

10. How cloud services are measured. By metered usage (pay-per-use): CPU hours, VM instance hours, storage GB per month, data transfer GB, number of requests/transactions, users/seats for SaaS; and by SLA metrics such as availability and response time.

11. Public cloud over private cloud. No capital investment, pay only for use, unlimited scalability on demand, no maintenance burden, fast deployment, global access – good for start-ups and variable workloads.

12. Scalability vs elasticity. Scalability is the ability to grow capacity to handle increased load (planned, scale up/out). Elasticity is automatic and dynamic adding and removing of resources in real time to match demand.

13. Layers of cloud computing. IaaS (infrastructure), PaaS (platform) and SaaS (software), on top of the physical hardware and virtualization layer.

14. Mobile platform virtualization. Running multiple isolated operating systems or environments on one mobile device using a mobile hypervisor, e.g. separating personal and work profiles (BYOD), as in VMware Horizon Mobile or KVM-based solutions.

15. Two SOAs. SOAP-based web services and RESTful services (other examples: microservices, enterprise service bus, CORBA).

16. Collaboration applications for mobile. Google Docs/Google Workspace, Microsoft Office 365 (SharePoint, Lync/Teams), Skype, Slack, Zoho, Dropbox.

Q2 – Offloading from a powerful smartphone

  • Saving battery and avoiding heat: even powerful multi-core CPUs and GPUs drain the battery quickly. Heavy tasks such as video transcoding, 3-D rendering, face recognition or speech recognition can be sent to the cloud/cloudlet, where the energy cost of transmitting data is lower than computing locally.
  • Tasks needing large data or very high computation: when the computation needs data stored in the cloud (search, big databases, maps), or more power than a phone can provide in time (training ML models, complex simulations, large-scale image search), offloading gives faster results; a nearby cloudlet gives low latency for real-time apps such as AR and games.

Other circumstances: sharing results among many users, storage limits on the phone, and keeping sensitive processing in a controlled server.

Q3 – Virtualization and its types

Virtualization creates virtual (software-based) versions of computing resources – servers, storage, networks, operating systems – so that one physical machine can run many isolated virtual machines, managed by a hypervisor.

TypeDescriptionProsCons
Full virtualizationHypervisor fully simulates hardware; guest OS unmodified (VMware)Any OS runs, strong isolationOverhead from binary translation
Para-virtualizationGuest OS modified to call the hypervisor (Xen)Better performanceGuest OS must be modified
Hardware-assistedCPU features (Intel VT-x, AMD-V) support VMsHigh performance, simpler hypervisorNeeds modern hardware
OS-level (containers)Many isolated user spaces on one kernel (Docker)Lightweight, fast start, high densitySame OS kernel, weaker isolation
Storage virtualizationPools physical storage into one logical store (SAN)Easy management, better utilisationComplexity, vendor lock-in
Network virtualizationVirtual networks, SDN, VLANsFlexible, programmableComplex troubleshooting
Desktop virtualizationDesktops run on servers (VDI)Central management, access anywhereNeeds network, server cost

General advantages: server consolidation, lower hardware and energy cost, quick provisioning, isolation, easy backup/migration, disaster recovery. Disadvantages: performance overhead, single host failure affects many VMs, licensing and management complexity, security of the hypervisor.

Q4 – Characteristics and challenges of cloud computing

Key characteristics (NIST):

  • On-demand self-service – provision servers/storage without human interaction (create an AWS EC2 instance from the console).
  • Broad network access – available over the internet from laptops and phones (Gmail).
  • Resource pooling – multi-tenant use of shared resources.
  • Rapid elasticity – scale up and down automatically (auto-scaling during a sale).
  • Measured service – pay per use (per hour, per GB).

Challenges: security and privacy of data, compliance and data location laws, availability/outages, dependence on internet connectivity, vendor lock-in and lack of interoperability, performance and latency, cost management, legal issues and SLAs, migration of legacy applications.

Q5 – CaaS, SaaS, IaaS and PaaS

ModelWhat is providedUser managesExamples
IaaS – Infrastructure as a ServiceVirtual machines, storage, networksOS, middleware, applications, dataAmazon EC2, Azure VMs, Google Compute Engine
PaaS – Platform as a ServiceRuntime, OS, database, development toolsApplications and dataGoogle App Engine, Heroku, Azure App Service
SaaS – Software as a ServiceComplete applications over the webOnly use/settingsGmail, Office 365, Salesforce, Zoho
CaaS – Communication (or Container) as a ServiceCommunication services – VoIP, messaging, video conferencing (or managed containers)Use of the service / containersSkype for Business, Twilio, Zoom; (Containers: AWS ECS, Google Kubernetes Engine)

Case study: a start-up builds its web app on Heroku (PaaS), stores files in Amazon S3/EC2 (IaaS), uses Office 365 for staff email (SaaS) and Twilio for SMS verification (CaaS) – paying only for what it uses.

Q6 – Standards for application development and security

Standards are necessary for interoperability (applications and data can move between clouds), portability (avoid vendor lock-in), security and trust (common, tested protection methods), and easier integration and compliance.

  • Application development standards: HTTP/HTTPS, HTML5, XML and JSON for data exchange, AJAX, SOAP and REST web services, JavaScript, OVF for VM packaging, TOSCA for application topology, OCCI/CIMI for cloud management.
  • Security standards: SSL/TLS encryption, OAuth and OpenID (authorization and identity), SAML (federated single sign-on), XACML (access control), ISO/IEC 27001 and 27017, CSA Cloud Controls Matrix, PCI-DSS for payments.

Following these standards lets developers build applications that run on different clouds and lets customers trust the security of their data.

Save this paper for offline studyDownload the question paper, or save the paper together with all solved answers as a PDF.
↓ Download Paper (JPG)

About Saif R

An educator and technology enthusiast passionate about empowering students through quality education and digital learning. Dedicated to making academic resources and opportunities accessible to everyone.