Cloud Computing Nptel Week 5 Assignment Answers

Are you looking for the Cloud Computing Nptel Week 5 Assignment Answers Look no further! Our platform provides precise and comprehensive Cloud Computing Nptel Assignment Solutions for Week 5 in this course

Course Link: Click Here


Cloud Computing Nptel Week 5 Assignment Answers images

Cloud Computing Nptel Week 5 Assignment Answers (July-Dec 2024)


1. In a SLA negotiation, the provider agreed with the service availability of 98%. The consumer runs the application for X hours/day. At the end of one month [31 days], the total service outage was 12 hrs. However, SLA negotiation (in terms of service availability) is honored:

a) X is at least 19.74
b) X is at most 19.74
c) X is exactly 19.74
d) Insufficient information

Answer: a) X is at least 19.74


2. Average resource demand is 45 units, Baseline (owned) unit cost is 200 units, Time is 10 hours, Peak resource demand is 100 units. If the cloud is cheaper than owning of computer infrastructures, the utility premium is:

a) Greater than 2.22
b) Less than 2.22
c) At least 4.45
d) At most 4.45

Answer: a) Greater than 2.22


3. In computing, there is a linear relationship between the number of processing cores used and power consumption:

a) TRUE
b) FALSE

Answer: b) FALSE


4. The __ takes a series of key/value pairs, processes each, and generates zero or more output:

a) map function
b) partition function
c) reduce function
d) None of these

Answer: a) map function


5. In a MapReduce framework the HDFS block size is 64 MB. We have 6 files of size 64KB, 65MB, X MB, Y KB, 67KB, and 127MB. 24 blocks are created by the Hadoop framework. The size of X and Y are respectively [one or more than one options may be correct, select all correct options]:

a) 66 and 64
b) 64 and 64
c) 64 and 66
d) 128 and 64

Answer: b) 64 and 64


6. Which among the following is/are logical resource(s):

a) Network
b) Computer
c) Database
d) Execution

Answer: d) Execution


7. When load decreases, VM management can be done by:

a) Live migrate VMs to more utilized nodes
b) Shutdown unused nodes
c) Migrate VMs to less utilized nodes
d) None of these

Answer: a) Live migrate VMs to more utilized nodes
b) Shutdown unused nodes


8. Correspondence between resources required by the users and resources available with the provider is known as:

a) Resource provisioning
b) Resource adaptation
c) Resource mapping
d) None of these

Answer: c) Resource mapping


9. Ability or capacity of that system to adjust the resources dynamically to fulfill the requirements of the user is known as:

a) Resource provisioning
b) Resource adaptation
c) Resource mapping
d) None of these

Answer: b) Resource adaptation


10. Statement 1: Map operation consists of transforming one set of key-value pairs to another. Statement 2: Each reducer groups the results of the map step using the same key.

a) Both statements are true
b) Both statements are false
c) Statement 1 is true and Statement 2 is false
d) Statement 1 is false and Statement 2 is true

Answer: a) Both statements are true


Cloud Computing NPTEL All weeks: Click Here

For answers to additional Nptel courses, please refer to this link: NPTEL Assignment Answers


Nptel Cloud Computing Week 5 Assignment Answers (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 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 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.

See also  Cloud Computing Nptel Week 7 Assignment Answers

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 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 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 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 Answers

More Weeks of Cloud Computing: Click here

More Nptel Courses: Click here


Nptel Cloud Computing Week 5 Assignment Answers (JULY-DEC 2023)

Course Name: Cloud Computing

Course Link: Click Here

These are Nptel Cloud Computing Week 5 Assignment 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 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

See also  Theory of Computation Week 5 Nptel Assignment Answers

Answer: a, b, c


These are Nptel Cloud Computing Week 5 Assignment 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 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 Answers


More Weeks: Click here

More Nptel Courses: Click here


Nptel Cloud Computing Week 5 Assignment Answers (JAN-APR 2023)

Course Name: Cloud Computing

Course Link: Click Here

These are Nptel Cloud Computing Week 5 Assignment 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 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 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 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

See also  Cloud Computing | Week 5

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 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 Answers

All weeks of Cloud Computing: Click here

More NPTEL course: Click Here


Nptel Cloud Computing Week 5 Assignment Answers (JULY-DEC 2022)

Course name: Cloud Computing NPTEL

Link to Enroll: Click Here

These are Nptel Cloud Computing Week 5 Assignment 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 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 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 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 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 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 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 Answers