Research Questions Restart Policies
Quiz Summary
0 of 26 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 26 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 26
1. Question
Run a container with image
nginx
, namenginx
and hostnamewebapp
.CorrectIncorrect -
Question 2 of 26
2. Question
What is the hostname set on the container when the following command is run :
docker container run -d --name webapp httpd
CorrectIncorrect -
Question 3 of 26
3. Question
What is the default restart policy?
CorrectIncorrect -
Question 4 of 26
4. Question
Which policy would restart the containers even after the docker daemon is restarted?
CorrectIncorrect -
Question 5 of 26
5. Question
Which policy is used to restart a container unless it is explicitly stopped or Docker is restarted.
CorrectIncorrect -
Question 6 of 26
6. Question
Which command can be used to check the restart policy of
webapp
container?CorrectIncorrect -
Question 7 of 26
7. Question
Restart container unless it is explicitly stopped or Docker is restarted.
CorrectIncorrect -
Question 8 of 26
8. Question
Which command should be used to update the
httpd
container with the always policy?CorrectIncorrect -
Question 9 of 26
9. Question
Which command should be used to update all the running containers with unless-stopped policy?
CorrectIncorrect -
Question 10 of 26
10. Question
Which option is used to reduce container downtime due to daemon crashes, planned outages, or upgrades?
CorrectIncorrect -
Question 11 of 26
11. Question
What is the path file which is used to add the live restore?
CorrectIncorrect -
Question 12 of 26
12. Question
How to enable the live restore setting to keep containers alive when the daemon becomes unavailable?
CorrectIncorrect -
Question 13 of 26
13. Question
Which of the below commands may be used to copy a file
/web.conf
from a container namedwebapp
with id89683681
to the/tmp
directory on the host?CorrectIncorrect -
Question 14 of 26
14. Question
Copy the
/etc/nginx
directory from thewebapp
container to the docker host under/tmp/
.CorrectIncorrect -
Question 15 of 26
15. Question
What is the command to copy the file
/root/myfile.txt
from the host to/root/
of thewebapp
container?CorrectIncorrect -
Question 16 of 26
16. Question
We can copy a file from a stopped container.
CorrectIncorrect -
Question 17 of 26
17. Question
Data inside the container is persistent.
CorrectIncorrect -
Question 18 of 26
18. Question
You can run multiple instances of the same application on the docker host.
CorrectIncorrect -
Question 19 of 26
19. Question
You can map to the same port on the Docker host more than once.
CorrectIncorrect -
Question 20 of 26
20. Question
Which option could be used to expose a webapp container to the outside world?
CorrectIncorrect -
Question 21 of 26
21. Question
Map TCP port 80 in the container to port 8080 on the Docker host for connections to host IP 192.168.1.10 . Select the all right answers
CorrectIncorrect -
Question 22 of 26
22. Question
Unless specified otherwise, docker publishes the exposed port on all network interfaces.
CorrectIncorrect -
Question 23 of 26
23. Question
Map UDP port 80 in the container to port 8080 on the Docker host.
CorrectIncorrect -
Question 24 of 26
24. Question
How does the -P option in the docker container run command know what ports to publish on the container?
CorrectIncorrect -
Question 25 of 26
25. Question
How does docker map a port on a container to a port on the host?
CorrectIncorrect -
Question 26 of 26
26. Question
What IPTables chains does Docker modify to configure port mapping on a host?
CorrectIncorrect