Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 8 Question 16 Discussion

You need to execute inline testing of an Azure DevOps pipeline that uses a Docker deployment model. The solution must prevent the results from being published to the pipeline.What should you use for the inline testing?
C) a multi-stage Dockerfile
A) a single stage Dockerfile
B) an Azure Kubernetes Service (AKS) pod
D) a Docker Compose file 'Build and test with a multi-stage Dockerfile: build and tests execute inside the container using a multi-stage Docker file, as such test results are not published back to the pipeline.' https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-test-results?view=azure-devops&tabs=trx%2Cyaml

Microsoft AZ-400 Exam - Topic 8 Question 16 Discussion

Actual exam question for Microsoft's AZ-400 exam
Question #: 16
Topic #: 8
[All AZ-400 Questions]

You need to execute inline testing of an Azure DevOps pipeline that uses a Docker deployment model. The solution must prevent the results from being published to the pipeline.

What should you use for the inline testing?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Daron
7 months ago
Multi-stage Dockerfile is the best option, no doubt about it!
upvoted 0 times
...
Rueben
8 months ago
I’ve used Docker Compose for testing before, but not sure it fits this scenario.
upvoted 0 times
...
Arlie
8 months ago
Wait, can a single stage Dockerfile even handle this? Seems risky.
upvoted 0 times
...
Monte
8 months ago
Definitely agree, it keeps things clean and prevents publishing results.
upvoted 0 times
...
Marti
8 months ago
I think a multi-stage Dockerfile is the way to go here.
upvoted 0 times
...
Kiera
8 months ago
I feel like Docker Compose could be useful, but I recall that multi-stage Dockerfiles are specifically designed for this kind of inline testing scenario.
upvoted 0 times
...
Anglea
8 months ago
I think we practiced a similar question where multi-stage Dockerfiles were mentioned as a way to isolate tests. That might be the answer.
upvoted 0 times
...
Portia
8 months ago
I remember something about using multi-stage Dockerfiles for testing, but I'm not entirely sure if that's the best option here.
upvoted 0 times
...
Alberto
8 months ago
I’m a bit confused about the difference between a single-stage and a multi-stage Dockerfile. Does the single-stage one not prevent results from being published?
upvoted 0 times
...
Glenn
8 months ago
This is a tricky situation, but I think the best approach is to address it directly with the student. Option D seems like the most appropriate - respond immediately and remind them of the expected behavior.
upvoted 0 times
...
Rebbecca
9 months ago
Okay, I think I've got it. The team is focused on speed and budget, while the tester is more concerned with quality. Option D seems like the best fit - the tester's role might shift to verifying requirements rather than just reporting defects.
upvoted 0 times
...
Helga
9 months ago
Okay, I think I've got this. For rule chaining, I'd go with RetePlus. It's designed to handle that kind of complex rule execution efficiently.
upvoted 0 times
...

Save Cancel