Cloud Computing | Week 5

Session: JAN-APR 2024

Course Name: Cloud Computing

Course Link: Click Here

For answers or latest updates join our telegram channel: Click here to join

These are Nptel Cloud Computing Week 5 Assignment 5 Answers


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. SLA


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. Statement 1 is TRUE and Statement 2 is FALSE


For answers or latest updates join our telegram channel: Click here to join

These are Nptel Cloud Computing Week 5 Assignment 5 Answers


Q3. If demand is flat, the penalty will be linear.
A. TRUE
B. FALSE

Answer: B. FALSE


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


For answers or latest updates join our telegram channel: Click here to join

These are Nptel Cloud Computing Week 5 Assignment 5 Answers


Q5. A company XYZ needs to support a spike in demand when it becomes popular followed potentially by a reduction once some of the visitors turn away. The company has two options to satisfy the requirements which are given in the following table:
Select the correct statement(s) regarding the value(s) of (total-cost/effective-hour) for both the options.

A. Total-cost/Effective-hour for in-house server is 81.42 INR over three years.
B. Total-cost / Effective-hour for cloud server is 42 INR.
C. Total-cost/Effective-hour for in-house server is 46.42 INR over three years.
D. Total-cost / Effective-hour for cloud server is 40 INR.

Answer: B, C


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 hour 30 minutes, 30 minutes, 2 hours 15 minutes, 1 hour 45 minutes and T hours, each on different days over the service period. Suppose a cloud guarantees service availability for 97% of time. What are the possible value(s) of T that SLA negotiation gets honored in terms of service availability?
A. 3 hours
B. 6 hours
C. 12 hours
D. 8 hours

Answer: A. 3 hours


For answers or latest updates join our telegram channel: Click here to join

These are Nptel Cloud Computing Week 5 Assignment 5 Answers


Q7. Which of the following is/are objective(s) of Resource Management?
A. Increased latency
B. Scalability
C. Improved throughput
D. Improved security

Answer: B, C


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 queueing model
D. Intelligent multi-agent model

Answer: A, D


For answers or latest updates join our telegram channel: Click here to join

These are Nptel Cloud Computing Week 5 Assignment 5 Answers


Q9. Statement 1: Each reducer groups the results of the map step using different keys and performs a function f on the list of values that correspond to 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. Statement 2 is TRUE and Statement 1 is FALSE


Q10. In computing, there is a nonlinear relationship between the number of processing cores used and power consumption
A. TRUE
B. FALSE

Answer: A. TRUE


For answers or latest updates join our telegram channel: Click here to join

These are Nptel Cloud Computing Week 5 Assignment 5 Answers

More Weeks of Cloud Computing: Click here

More Nptel Courses: Click here


Session: JULY-DEC 2023

Course Name: Cloud Computing

Course Link: Click Here

These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q1. Which of the following is/are the objective(s) of Resource Management?
A) Increased overhead
B) Increased throughput
C) Increased latency
D) Scalability

Answer: b, d


Q2. Multiple KPIs are aggregated to SLA.
A) True
B) False

Answer: B) False


Q3. In computing, Performance/Watt follows Moore’s law
A) True
B) False

Answer: B) False


These are Nptel Cloud Computing Week 5 Assignment 5 Answers


Q4. Which of the following is/are resource adaptation approaches?
A) Reinforcement learning guided control policy
B) Intelligent multi-agent model
C) Network queueing model
D) Web-service based prototype

Answer: a, d


Q5. A third party application runs in the cloud for 18 hours/day. At the end of one month (30 days), it was found that the cloud suffered outages totaling 6 hours and Thours, on different days over the service period. The cloud guarantees service availability for 98% of the time. What are the value(s) of T among the given options such that the SLA negotiation does NOT get honored in terms of service availability?
A) 3 hours
B) 5 hours
C) 6 hours
D) 4 hours

Answer: b, c


Q6. Consider that the peak computing demand for an organization is 200 units. The demand as a function of time can be expressed as D(t) = 8t. Baseline (owned) unit cost is 120 and cloud unit cost is 150. The cloud is owned for a period of T time units. Select the values of T for which cloud is cheaper than owning.
A) 25
B) 30
C) 35
D) 45

Answer: a, b, c


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q7. Which of the following is/are true regarding penalty cost?
(Here D(t) and R(t) are instantaneous demand and resources at time t.)

A) If demand is flat, the penalty is equal to 0.
B) Penalty cost o ID(t)/R(t)|dt
C) If demand is exponential (D(t)-e), any fixed provisioning interval (tp) according to the current demands will fall linearly behind.
D) The penalty cost for exponential demand is exponential.

Answer: a, d


Q8. In resource management, ________ is determining when an activity should start or end, depending on its duration, predecessor activities, predecessor relationships etc.
A) Resource allocation
B) Resource mapping
C) Resource scheduling
D) Resource modeling

Answer: c


Q9. Which of the following techniques can be used to conserve energy within a Cloud environment?
A) Schedule VMs to conserve energy.
B) Optimize data center design.
C) Maximize operating inefficiencies for non-essential tasks.
D) Management of both VMs and underlying infrastructure.

Answer: a, b, d


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q10. An app collects the ratings of restaurants in a particular location and logs it in the following form : . ‘restaurantId’ takes any of the values (A, B, C, D) and each user having a unique userId can provide [0,5] rating. There are three files and each file consists of three columns : userId, restaurantId and rating. Each file may consist of the data for the same user or same restaurant multiple times. Now, out of this data, we need to calculate the number of times each restaurant gets a “5 star” rating from users.

The MapReduce framework will divide it into three map tasks and each map task will perform data functions on one of the three files. The inputs are as shown below.
M1 : {(u1,A,5); (u1,B,3); (u2,A,5); (u3,C,5); (u3,D,2); (u7,D,5)}
M2 : {(u1,C,3); (u1,D,5); (u2,C,5); (u2,D,5); (u4,D,5); (u6,A,5)}
M3 : {(u1,A,5); (u2,A,5); (u2, B,5); (u3,B,5); (u4,C,5); (u3,D,5)}
The tasks of all mappers (M1, M2 and M3) are passed to the reducer job. Reducer will output:

(a) <A, 5>; <B, 5>; <C, 5>; <D, 5>
(b) <A, 5>; <B, 2>; <C, 3>; <D, 5>
(c) A; B; C; D
(d) <A, 5>; <D,5>

Answer: (b) <A, 5>; <B, 2>; <C, 3>; <D, 5>


These are Nptel Cloud Computing week 5 Assignment 5 Answers


More Weeks: Click here

More Nptel Courses: Click here


Session: JAN-APR 2023

Course Name: Cloud Computing

Course Link: Click Here

These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q1. ________ is a formal contract between a Service Provider (SP) and a Service Consumer (SC).
A. SLA
Β. ΚΡΙ
C. SLO
D. Utility Premium

Answer: A. SLA


Q2. If demand is exponential (D(t)=et), any fixed provisioning interval (tp) according to the current demands will fall linearly behind.
A. TRUE
B. FALSE

Answer: B. FALSE


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q3. A third party application runs in the cloud for 18 hours/day. At the end of one month (30 days), it was found that the cloud suffered outages totalling 5 hours and T hours, on different days over the service period. The cloud guarantees service availability for 98% of the time. What are the value(s) of T among the given options such that the SLA negotiation does not get honored in terms of service availability?
A. 4 hours
B. 5 hours
C. 6 hours
D. 8 hours

Answer: C, D


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


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q5. Statement I: In resource management, resource allocation is the allocation of a service provider’s resources to a customer.
Statement II: Resource mapping is correspondence between resources required by the users and resources available with the provider.
Which of the options is correct?

A. Statement I is TRUE and Statement II is FALSE
B. Statement II is TRUE and Statement I is FALSE
C. Both statements are TRUE
D. Both statements are FALSE

Answer: B. Statement II is TRUE and Statement I is FALSE


Q6. Which of the following is/are resource allocation approaches in resource management?
A. Intelligent multi-agent model
B. Network queueing model
C. Energy-aware resource allocation
D. Reinforcement learning guided control policy

Answer: A, C


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q7. Consider that the peak computing demand for an organization is 250 units. The demand as a function of time can be expressed as D(t) = 5t. Baseline (owned) unit cost is 120 and cloud unit cost is 150. The cloud is owned for a period of T time units. Select the values of T for which cloud is cheaper than owning.
A. 50
B. 100
C. 150
D. 200

Answer: A. 50


Q8. Which of the following is/are objective(s) of Resource Management?
A. Increased latency
B. Scalability
C. Improved throughput
D. Improved security

Answer: B, C


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q9. In computing, there is a nonlinear relationship between the number of processing cores used and power consumption
A. TRUE
B. FALSE

Answer: A. TRUE


Q10. If demand is flat, the penalty will be linear.
A. TRUE
B. FALSE

Answer: B. FALSE


These are Nptel Cloud Computing week 5 Assignment 5 Answers

All weeks of Cloud Computing: Click here

More NPTEL course: Click Here


Session: JULY-DEC 2022

Course name: Cloud Computing NPTEL

Link to Enroll: Click Here

These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q1) Multiple KPIs are aggregated to SLA.
A. TRUE
B. FALSE

Answer: B. FALSE


Q2) Statement I : In resource management, resource allocation is the allocation of a service provider’s resources to a customer
Statement II : Resource mapping is correspondence between resources required by the users and resources available with the provider.
Which of the options is/are correct?

A. Statement I is TRUE and Statement II is FALSE
B. Statement I is FALSE and Statement II is TRUE
C. Both statements are TRUE
D. Both statements are FALSE

Answer: B. Statement I is FALSE and Statement II is TRUE


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q3) 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 hour 30 minutes, 30 minutes, 2 hours 15 minutes, 1 hour 45 minutes and T hours, each on different days over the service period. Suppose a cloud guarantees service availability for 97% of time. What are the possible value(s) of T that SLA negotiation gets honored in terms of service availability?
A. 3 hours
B. 6 hours
C. 12 hours
D. 8 hours

Answer: A. 3 hours


Q4) In a MapReduce framework, the HDFS block size is 64 Mb. We have 3 files of size 65 Kb, 64 Mb and 128 Mb. How many input splits will be created by the Hadoop framework?
A. 2
B. 3
C. 4
D. 5

Answer: C. 4


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q5) What is/are the correct statement(s) regarding VM load management?
A. When load increases, new VMs should be scheduled to new nod
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. 3 : 2

Answer: A, C, D


Q6) Which of the following is/are the objective(s) of Resource Management?
A. Improved Quality of Service (QoS)
B. Scalability
C. Increased overhead
D. Increased throughput

Answer: A, B, D


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q7) In computing, Performance/Watt follows Moore’s law
A. TRUE
B. FALSE

Answer: B. FALSE


These are Nptel Cloud Computing Week 5 Assignment 5 Answers


Q8) Which of the following part(s) of the MapReduce is responsible for processing one or more chunks of data and producing the output results?
A. Mapper
B. Reducer
C. Map task
D. Task execution

Answer: C. Map task


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q9) Consider that the peak computing demand for an organization is 200 units. The demand as a function of time can be expressed as D(t) = 3(1+t). Baseline (owned) unit cost is 120 and cloud unit cost is 125.
Cloud is costlier than owning for a period of 150 time units.

A. TRUE
B. FALSE

Answer: A. TRUE


These are Nptel Cloud Computing week 5 Assignment 5 Answers


Q10) Which of the following is/are resource provisioning approaches?
A. Intelligent multi-agent model
B. Network queueing model
C. Adaptive resource provisioning
D. Reinforcement learning guided control policy

Answer: B, C


These are Nptel Cloud Computing Week 5 Assignment 5 Answers

More NPTEL course answers: https://progiez.com/nptel


These are Nptel Cloud Computing week 5 Assignment 5 Answers
The content uploaded on this website is for reference purposes only. Please do it yourself first.