Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

lOMoARcPSD|8944357

Cloud Computing TUM Klausur 2019

Cloud Computing (Technische Universität München)

StuDocu is not sponsored or endorsed by any college or university


Downloaded by Wolf Schönfeld (wolf.schoenfeld@gmail.com)
lOMoARcPSD|8944357

Points Bonus Exercises Grade

Cloud Computing WS 18/19


Final Examination
6.02.2019, 18:00 – 19:00

First name:
Last name:
Matrikelnummer:

Question 1 (3 pts)
Name three novel aspects introduced in the Xeon Phi that will become part of commodity processors as they are
used in cloud computing? Explain each shortly.
1.

2.

3.

Question 2 (2 pts)
Define the following two concepts.
1) Amazon Machine Image:

2) Amazon Instance Type:

Question 3 (6 pts)
You have to deploy a microservice application in the cloud. Which of the following deployment models is best?
Select your favorite and give arguments for that model.
 One VM per service,  Multiple services per VM,  One pod per service, Multiple services per pod.
Mark your favorite model above. Mark your arguments with (1), (2),…

1
Downloaded by Wolf Schönfeld (wolf.schoenfeld@gmail.com)
lOMoARcPSD|8944357

Question 4 (4 pts)
Determine the lifecycle of a VM in AWS. Fill in the boxes and name the transitions.

Put names of states in the boxes. Names of transitions and Box1 and Box2:
Box1: Box2:
A: B: C:
D: E: F:
Explain Box2?

Question 5 (2 pts)
What is the cost model in the serverless platform Amazon Lambda?

Question 6 (6 pts)
Is infinite scaling of services in the cloud possible assuming an unlimited number of physical servers? Give
arguments for your decision marked with (1), (2), ….

2
Downloaded by Wolf Schönfeld (wolf.schoenfeld@gmail.com)
lOMoARcPSD|8944357

Question 7 (3 pts)
Name the three general approaches/kinds given in the lecture for auto-scaling?
1)
2)
3)

Question 8 (2 pts)
The step-scaling policy in AWS is different from the simple scaling policy. It takes
………………………………………………..…… into account?

Question 9 (2 pts)
What is the difference between normal reads and strong consistent reads in DynamoDB?

Question 10 (3 pts)
The major mechanism for cloud security is the control of the network. This is done in AWS by
configuring …………..………………. Part of it is the possibility to define Network Access
Control Lists. This is a …………………… controlling access to ………………………….

Question 11 (3 pts)
What are the following services in OpenStack?
Nova:
Keystone:
Glance:

Question 12 (3 pts)
Explain the different fields of below docker tag command.

3
Downloaded by Wolf Schönfeld (wolf.schoenfeld@gmail.com)
lOMoARcPSD|8944357

Question 13 (4 pts)
There is a Node.js web application called as myapp whose source code is present in the current directory (.) of
your working laptop. You are assigned a task of creating this application’s docker image considering following
points:
a. Base image node is to be used with the version as boron.
b. The application source code is to be copied inside /usr/src/myapp directory.
c. index.js is the file which should be run when the container starts.
d. The application uses port 8080.
Complete the below docker file steps (in the right order) which are required for creating this application’s docker
image considering all the above points.

RUN mkdir -p /usr/src/myapp


WORKDIR /usr/src/myapp
COPY package.json /usr/src/myapp

COPY . /usr/src/myapp

4
Downloaded by Wolf Schönfeld (wolf.schoenfeld@gmail.com)
lOMoARcPSD|8944357

5
Downloaded by Wolf Schönfeld (wolf.schoenfeld@gmail.com)

You might also like