Observability is all about being able to monitor and understand the internal workings of the system, so D seems like the best choice here. I'm pretty confident in this answer.
I bet the folks who wrote this question are just waiting for someone to say 'apt-get install fortune-cookies' as the answer. That would be a real knee-slapper!
Haha, that would be funny! But it looks like the answer is B) To ensure the execution order of the commands because Docker might evaluate the statements of a Dockerfile in any order.
E) To execute the apt-get install command only if the apt-get update command was successful because Docker does not check the success of RUN statements.
Hmm, this is a good one. I wonder if the folks who wrote this question have a sense of humor. Maybe they'll throw in a joke about 'apt-get install fortune-cookies' or something.
Haha, I bet the folks who wrote this question were trying to trip us up. But I'm pretty sure the right answer has something to do with efficiency and avoiding unnecessary image layers.
Carman
3 months agoLennie
3 months agoLeanora
3 months agoDanica
4 months agoLeonor
4 months agoMarylou
4 months agoChaya
4 months agoJani
4 months agoEvangelina
5 months agoCrista
5 months agoBrice
5 months agoThaddeus
5 months agoKristel
5 months agoRima
5 months agoEmerson
5 months agoSheldon
5 months agoOzell
5 months agoGianna
5 months agoAdolph
10 months agoRobt
8 months agoKris
9 months agoGlory
9 months agoCeleste
10 months agoRolland
10 months agoBettina
10 months agoNelida
10 months agoFrancoise
10 months agoRoxanne
10 months agoYasuko
11 months agoMarylin
9 months agoTandra
9 months agoRoxane
9 months agoHalina
9 months agoAshlyn
11 months agoHelaine
9 months agoBlair
10 months agoNovella
10 months agoShelia
11 months agoRoxanne
11 months ago