Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Cisco Exam 300-910 Topic 4 Question 66 Discussion

Actual exam question for Cisco's 300-910 exam
Question #: 66
Topic #: 4
[All 300-910 Questions]

Refer to the exhibit.

A docker-compose.yml file implements a postgres database container.

Which .gitlab-ci.yml code block checks the health status of the container and stops the pipeline if the container is unhealthy?

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Glen
1 months ago
Option B is the way to go, unless you're a fan of 'Unhealthy Containers: The Musical' playing in your CI/CD pipeline.
upvoted 0 times
Joanne
2 days ago
I agree, Option B is definitely the best choice here.
upvoted 0 times
...
...
Vince
1 months ago
Option B, for sure! The other options don't seem to be as comprehensive in checking the container's health status.
upvoted 0 times
Magda
1 days ago
User3: Yeah, Option B is the way to go for sure.
upvoted 0 times
...
Theron
11 days ago
User2: I agree, Option B seems to be the most comprehensive in checking the container's health status.
upvoted 0 times
...
Ben
12 days ago
User1: I think Option B is the best choice.
upvoted 0 times
...
...
Elbert
2 months ago
Hmm, this is a tricky one. I'll have to double-check the documentation, but I think Option B is the way to go.
upvoted 0 times
Kattie
8 days ago
Let's go with Option B then.
upvoted 0 times
...
Sarah
13 days ago
I think Option B is the correct one too.
upvoted 0 times
...
Arthur
15 days ago
I agree, Option B looks like the best choice.
upvoted 0 times
...
...
Elli
2 months ago
I'm pretty sure Option B is the right choice here. This code block is exactly what I need to monitor the health of my Postgres container.
upvoted 0 times
Val
1 days ago
User3: I also agree with User2, Option B seems to be the right one.
upvoted 0 times
...
Vincenza
12 days ago
User2: I disagree, I believe Option B is the correct choice.
upvoted 0 times
...
Kallie
20 days ago
User1: I think Option A might be better.
upvoted 0 times
...
...
Fannie
2 months ago
Option B looks like the correct answer. It checks the health status of the container and stops the pipeline if the container is unhealthy.
upvoted 0 times
Wilbert
1 months ago
User 2: Yeah, Option B checks the health status of the container and stops the pipeline if it's unhealthy.
upvoted 0 times
...
Natalie
1 months ago
User 1: I think Option B is the correct answer.
upvoted 0 times
...
Brice
1 months ago
User 2: Yeah, Option B checks the health status of the container and stops the pipeline if it's unhealthy.
upvoted 0 times
...
Bonita
2 months ago
User 1: I think Option B is the correct answer.
upvoted 0 times
...
...
Paola
3 months ago
I'm not sure, but I think Option B could also be a valid choice. It checks the health status and stops the pipeline if the container is unhealthy.
upvoted 0 times
...
Rossana
3 months ago
I agree with Van, Option C seems to be the best choice for checking the health status of the container.
upvoted 0 times
...
Van
3 months ago
I think the correct answer is Option C.
upvoted 0 times
...
Santos
3 months ago
That makes sense, I see your point. Let's review the options again before making our final choice.
upvoted 0 times
...
Kimberlie
3 months ago
I disagree, I believe Option B is the correct answer as it uses the healthcheck parameter to check the container's health.
upvoted 0 times
...
Santos
3 months ago
I think the correct answer is Option C because it includes the healthcheck command.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77