exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 37 discussion

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

You are performing feature engineering on a dataset.
You must add a feature named CityName and populate the column value with the text London.
You need to add the new feature to the dataset.
Which Azure Machine Learning Studio module should you use?

  • A. Edit Metadata
  • B. Filter Based Feature Selection
  • C. Execute Python Script
  • D. Latent Dirichlet Allocation
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
RSMCT2011
Highly Voted 4 years, 10 months ago
Answer C to add a new column you can run Execute Python Script
upvoted 58 times
kty
3 years, 7 months ago
I agree
upvoted 2 times
...
Indranee
3 years, 9 months ago
Agree with @RSMCT2011 and @vraviranjan that option C "Execute Python Script" to "add a feature" seems to be the most appropriate response.
upvoted 2 times
...
juandante
4 years, 7 months ago
A new column is a new "feature" ?
upvoted 2 times
FU_User
2 years, 5 months ago
Everything you use as an input for you model is a feature. So if you add a column in your pipeline it will be used as a feature unless you filter it out somewhere or specify not to use it.
upvoted 1 times
...
...
...
VickyM
Highly Voted 4 years, 5 months ago
C seems to be the apt answer among the answer choices. Change Metadata module cannot be used to add new feature\column.
upvoted 13 times
...
deyoz
Most Recent 7 months, 4 weeks ago
after careful reading of all the threads below, I am going with C. As with edit metadata, you can mark a variable as a feature but can't create a new feature or column that has text as values. You need code for that, which in execute python script.
upvoted 2 times
...
InversaRadice
10 months, 4 weeks ago
Well Guys, I do not agree : answer is correct By ML studio drag the module , a couple of click and the work is done... You can achieve it by the script, you can do anything by script, sure, but you're getting lost in a glass of water....
upvoted 1 times
...
PI_Team
1 year, 3 months ago
Selected Answer: C
To add a new feature named CityName to a dataset and populate the column value with the text London in Azure Machine Learning Studio, you should use the Execute Python Script module (Option C). Option A (Edit Metadata) is used to modify the metadata of a dataset, such as changing column names or data types, but it cannot be used to add new columns or modify the data itself. SaM
upvoted 2 times
...
bobML
1 year, 3 months ago
The correct Azure Machine Learning Studio module to add a new feature named CityName and populate it with the text "London" is: A. Edit Metadata The Edit Metadata module in Azure Machine Learning Studio allows you to modify the metadata of your dataset, including adding or renaming columns. In this case, you can use the Edit Metadata module to add a new column named "CityName" and set its value as "London" for every row in the dataset.
upvoted 2 times
vv_bb
11 months, 2 weeks ago
Edit Metadata module doesn't allow you to add new column, neither set its values RTFM https://learn.microsoft.com/en-us/azure/machine-learning/component-reference/edit-metadata?view=azureml-api-2
upvoted 1 times
...
...
phdykd
1 year, 3 months ago
C, Execute Python Script
upvoted 1 times
...
umair_hanu
1 year, 3 months ago
A should be the ans.
upvoted 2 times
...
fhlos
1 year, 4 months ago
Selected Answer: A
A - ChatGPT
upvoted 2 times
...
phdykd
1 year, 8 months ago
C. The Edit Metadata module is used to edit the metadata of existing columns, not to add new columns.
upvoted 1 times
...
JTWang
2 years ago
Selected Answer: C
C is correct
upvoted 2 times
...
ning
2 years, 5 months ago
Selected Answer: C
If you need set up a value for a column, regardless of whether the column existing, you need python script
upvoted 1 times
...
Thornehead
2 years, 7 months ago
As far as filling the data in a column. It can't be done through Edit MetaData. So the answer is C.
upvoted 1 times
...
AjoseO
2 years, 8 months ago
The question requires that we populate (alter) the column value but Edit Metadata module does not alter the values and the data types. From this link: https://docs.microsoft.com/en-us/previous-versions/azure/machine-learning/studio-module-reference/edit-metadata This article describes how to use the Edit Metadata module in Machine Learning Studio (classic) to change metadata that is associated with columns in a dataset. The values and the data types in the dataset are not actually altered; what changes is the metadata inside Machine Learning that tells downstream components how to use the column.
upvoted 2 times
...
eskilos
2 years, 9 months ago
Selected Answer: C
can't add new columns in edit metadata
upvoted 3 times
...
Shailen
2 years, 10 months ago
Selected Answer: A
I think question is bit tricky but if you focus key question then it is asking the way to add any new feature into dataset (even if it is a new or existing column added through python but adding new feature means changing metadata of a column to mark it as feature) which can be done by metadata only! And so A should be the correct answer.
upvoted 3 times
...
dija123
2 years, 10 months ago
I agree with A
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