300-910 · Question #91
300-910 Question #91: Real Exam Question with Answer & Explanation
Sign in or unlock 300-910 to reveal the answer and full explanation for question #91. The question stem and answer options stay visible for context.
Question
Refer to the exhibit. A network engineer is designing a CI/CD pipeline with Travis CI for a Python script. This CI/CD pipeline automatically runs unit tests with the pytest library and verifies code formatting with the Python script with the Black library. However, when this pipeline runs, Travis CI reports the error: No command 'black' found, did you mean: Command 'slack' from package 'slack' (universe) black: command not found The command "black --check" exited with 127. What must be added to the travis.yml file to fix the error?
Options
- AAfter script: - pip install pytest
- BAfter script: - pip install black
- CInstall: - pip install pytest
- DInstall: - pip install black
Unlock 300-910 to see the answer
You've previewed enough free 300-910 questions. Unlock 300-910 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.