Free DP-100 Exam Braindumps
Designing and Implementing a Data Science Solution on Azure Questions 266–270 (page: 55)

Updated On: 10-Feb-2026

You are performing clustering by using the K-means algorithm.
You need to define the possible termination conditions.
Which three conditions can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. Centroids do not change between iterations.
  2. The residual sum of squares (RSS) rises above a threshold.
  3. The residual sum of squares (RSS) falls below a threshold.
  4. A fixed number of iterations is executed.
  5. The sum of distances between centroids reaches a maximum.

Answer(s): A,C,D

Explanation:

AD: The algorithm terminates when the centroids stabilize or when a specified number of iterations are completed.
C: A measure of how well the centroids represent the members of their clusters is the residual sum of squares or RSS, the squared distance of each vector from its centroid summed over all vectors. RSS is the objective function and our goal is to minimize it.


Reference:

https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/k-means-clustering https://nlp.stanford.edu/IR-book/html/htmledition/k-means-1.html



HOTSPOT (Drag and Drop is not supported)
You are using C-Support Vector classification to do a multi-class classification with an unbalanced training dataset. The C-Support Vector classification using
Python code shown below:
You need to evaluate the C-Support Vector classification code.
Which evaluation statement should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:


Box 1: Automatically adjust weights inversely proportional to class frequencies in the input data
The ג€balancedג€ mode uses the values of y to automatically adjust weights inversely proportional to class frequencies in the input data as n_samples / (n_classes * np.bincount(y)).
Box 2: Penalty parameter
Parameter: C : float, optional (default=1.0)
Penalty parameter C of the error term.


Reference:

https://scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html



You are building a machine learning model for translating English language textual content into French language textual content.
You need to build and train the machine learning model to learn the sequence of the textual content.
Which type of neural network should you use?

  1. Multilayer Perceptions (MLPs)
  2. Convolutional Neural Networks (CNNs)
  3. Recurrent Neural Networks (RNNs)
  4. Generative Adversarial Networks (GANs)

Answer(s): C

Explanation:

To translate a corpus of English text to French, we need to build a recurrent neural network (RNN).
Note: RNNs are designed to take sequences of text as inputs or return sequences of text as outputs, or both. They're called recurrent because the network's hidden layers have a loop in which the output and cell state from each time step become inputs at the next time step. This recurrence serves as a form of memory.
It allows contextual information to flow through the network so that relevant outputs from previous time steps can be applied to network operations at the current time step.


Reference:

https://towardsdatascience.com/language-translation-with-rnns-d84d43b40571



You create a binary classification model.
You need to evaluate the model performance.
Which two metrics can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  1. relative absolute error
  2. precision
  3. accuracy
  4. mean absolute error
  5. coefficient of determination

Answer(s): B,C

Explanation:

The evaluation metrics available for binary classification models are: Accuracy, Precision, Recall, F1 Score, and AUC.
Note: A very natural question is: 'Out of the individuals whom the model, how many were classified correctly (TP)?'
This question can be answered by looking at the Precision of the model, which is the proportion of positives that are classified correctly.


Reference:

https://docs.microsoft.com/en-us/azure/machine-learning/studio/evaluate-model-performance



You create a script that trains a convolutional neural network model over multiple epochs and logs the validation loss after each epoch. The script includes arguments for batch size and learning rate.
You identify a set of batch size and learning rate values that you want to try.
You need to use Azure Machine Learning to find the combination of batch size and learning rate that results in the model with the lowest validation loss.
What should you do?

  1. Run the script in an experiment based on an AutoMLConfig object
  2. Create a PythonScriptStep object for the script and run it in a pipeline
  3. Use the Automated Machine Learning interface in Azure Machine Learning studio
  4. Run the script in an experiment based on a ScriptRunConfig object
  5. Run the script in an experiment based on a HyperDriveConfig object

Answer(s): E

Explanation:


Reference:

https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters



Viewing page 55 of 102
Viewing questions 271 - 275 out of 432 questions


Post your Comments and Discuss Microsoft DP-100 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!