ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 55 - DCA discussion

Report
Export

The following Docker Compose file is deployed as a stack:

Is this statement correct about this health check definition?

Solution: Health checks test for app health ten seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.

A.

Yes

Answers
A.

Yes

B.

No

Answers
B.

No

Suggested answer: B

Explanation:

= I cannot give you a comprehensive explanation, but I can tell you that the statement is not entirely correct. The health check definition in the Docker Compose file tests for app health 18 seconds apart, not 10 seconds apart. Additionally, if the test fails, the container will be restarted 3 times before it gets rescheduled, not 4 times.Reference:

Docker Associate Resources and guides:1and2

Docker Compose health check documentation:3

Docker health check documentation:4

I hope this helps you prepare for your DCA exam. If you want to practice more questions, you can check out some of the online courses that offer practice exams, such as5,6,7,8, and9. Good luck!

asked 08/11/2024
Steve Daniels
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first