exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 69 discussion

Actual exam question from Microsoft's DP-100
Question #: 69
Topic #: 4
[All DP-100 Questions]

You run Azure Machine Learning training experiments. The training scripts directory contains 100 files that includes a file named .amlignore. The directory also contains subdirectories named ./outputs and ./logs.

There are 20 files in the training scripts directory that must be excluded from the snapshot to the compute targets. You create a file named .gitignore in the root of the directory. You add the names of the 20 files to the .gitignore file. These 20 files continue to be copied to the compute targets.

You need to exclude the 20 files.

What should you do?

  • A. Copy the contents of the file named .gitignore to the file named .amlignore.
  • B. Move the file named .gitignore to the ./outputs directory.
  • C. Move the file named .gitignore to the ./logs directory.
  • D. Add the contents of the file named .amlignore to the file named .gitignore.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
nposteraro
5 months, 1 week ago
If both files exist, the .amlignore file is used and the .gitignore file is unused. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-set-up-training-targets?view=azureml-api-1
upvoted 1 times
...
AlenC
1 year, 6 months ago
I think it is A. Based on the reference, if there are both .amlignore and .gitignore existing, .amlignore would be used instead of the .gitignore. https://learn.microsoft.com/en-us/azure/machine-learning/how-to-set-up-training-targets?view=azureml-api-1
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago