NPTEL Cloud Computing Week 5 Assignment Answers 2024
Q1. ____ is a formal contract between a Service Provider (SP) and a Service Consumer (SC).
- A. SLO
- B. SLA
- C. KPI
- D. Utility Premium
✅ Answer :- b
✏️ Explanation: A Service Level Agreement (SLA) is a formal contract that outlines expectations, responsibilities, and guarantees between a Service Provider and a Service Consumer.
Q2. Statement 1: SLA contains SLO.
Statement 2: Multiple KPIs are aggregated to SLA.**
- A. Statement 1 is TRUE and Statement 2 is FALSE
- B. Statement 2 is TRUE and Statement 1 is FALSE
- C. Both statements are TRUE
- D. Both statements are FALSE
✅ Answer :- a
✏️ Explanation:
- Statement 1 is TRUE: SLA includes Service Level Objectives (SLOs).
- Statement 2 is FALSE: KPIs support SLOs, but aren’t directly aggregated to SLA.
Q3. If demand is flat, the penalty will be linear.
- A. TRUE
- B. FALSE
✅ Answer :- b
✏️ Explanation: Flat demand doesn’t necessarily lead to a linear penalty; penalties often depend on SLA terms, not demand patterns.
Q4. What is/are the correct statement(s) regarding VM load management?
- A. When load increases, new VMs should be scheduled to new nodes.
- B. When load decreases, use WOL to start up waiting nodes.
- C. When load increases, use WOL to start up waiting nodes.
- D. When load decreases, live migrate VMs to more utilized nodes.
✅ Answer :- a, c, d
✏️ Explanation:
- (a) New VMs on new nodes help scale.
- (c) Wake-on-LAN (WOL) is used to power up standby nodes under load.
- (d) Migration helps consolidate VMs and power down unused nodes.
- (b) is incorrect; WOL is for scaling up, not down.
Q6. A third-party application runs in the cloud for 12 hours/day. At the end of one month [30 days], it was found that the cloud service suffered 5 outages of durations: 1 hr 30 min, 30 min, 2 hr 15 min, 1 hr 45 min, and T hours. SLA guarantees 97% uptime. What are the possible value(s) of T that SLA negotiation gets honored?
- A. 3 hours
- B. 6 hours
- C. 12 hours
- D. 8 hours
✅ Answer :- a
✏️ Explanation:
Total uptime = 12 hrs/day × 30 = 360 hrs
97% of 360 = 349.2 hrs → allowed downtime = 10.8 hrs
Sum of known outages = 6 hrs
T must be ≤ 4.8 hrs → 3 hrs is acceptable, others violate SLA.
Q7. Which of the following is/are objectives of Resource Management?
- A. Increased latency
- B. Scalability
- C. Improved throughput
- D. Improved security
✅ Answer :- b, c
✏️ Explanation: Resource management aims to scale efficiently and improve throughput. Increased latency is negative, and while security is important, it is not a primary goal of resource allocation.
Q8. Which of the following is/are resource allocation approaches in resource management?
- A. Energy-aware resource allocation
- B. Reinforcement learning guided control policy
- C. Network queuing model
- D. Intelligent multi-agent model
✅ Answer :- a, d
✏️ Explanation:
- Energy-aware methods optimize for power efficiency.
- Multi-agent systems help in decentralized decision making.
- (b) and (c) are techniques/models, not primary allocation strategies.
Q9. Statement 1: Each reducer groups map results using different keys and applies a function f on the list of values for these keys.
Statement 2: Files are sorted by a key and stored to the local file system.**
- A. Statement 1 is TRUE and Statement 2 is FALSE
- B. Statement 2 is TRUE and Statement 1 is FALSE
- C. Both statements are TRUE
- D. Both statements are FALSE
✅ Answer :- b
✏️ Explanation:
- Statement 1 is FALSE: All reducers group by the same keys.
- Statement 2 is TRUE: Output is often sorted and stored locally.
Q10. In computing, there is a nonlinear relationship between the number of processing cores used and power consumption
- A. TRUE
- B. FALSE
✅ Answer :- a
✏️ Explanation: Power usage doesn’t scale linearly with core count due to overhead, heat, and power efficiency curves.