Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Machine Learning - Specialty All Questions

View all questions & answers for the AWS Certified Machine Learning - Specialty exam

Exam AWS Certified Machine Learning - Specialty topic 1 question 205 discussion

A machine learning (ML) specialist has prepared and used a custom container image with Amazon SageMaker to train an image classification model. The ML specialist is performing hyperparameter optimization (HPO) with this custom container image to produce a higher quality image classifier.

The ML specialist needs to determine whether HPO with the SageMaker built-in image classification algorithm will produce a better model than the model produced by HPO with the custom container image. All ML experiments and HPO jobs must be invoked from scripts inside SageMaker Studio notebooks.

How can the ML specialist meet these requirements in the LEAST amount of time?

  • A. Prepare a custom HPO script that runs multiple training jobs in SageMaker Studio in local mode to tune the model of the custom container image. Use the automatic model tuning capability of SageMaker with early stopping enabled to tune the model of the built-in image classification algorithm. Select the model with the best objective metric value.
  • B. Use SageMaker Autopilot to tune the model of the custom container image. Use the automatic model tuning capability of SageMaker with early stopping enabled to tune the model of the built-in image classification algorithm. Compare the objective metric values of the resulting models of the SageMaker AutopilotAutoML job and the automatic model tuning job. Select the model with the best objective metric value.
  • C. Use SageMaker Experiments to run and manage multiple training jobs and tune the model of the custom container image. Use the automatic model tuning capability of SageMaker to tune the model of the built-in image classification algorithm. Select the model with the best objective metric value.
  • D. Use the automatic model tuning capability of SageMaker to tune the models of the custom container image and the built-in image classification algorithm at the same time. Select the model with the best objective metric value.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
rrshah83
Highly Voted 1 year, 10 months ago
Selected Answer: C
https://docs.aws.amazon.com/sagemaker/latest/dg/experiments.html
upvoted 8 times
...
VinceCar
Highly Voted 1 year, 11 months ago
Selected Answer: B
Autopilot is the faster. "Amazon SageMaker Autopilot experiments are now up to 2x faster in Hyperparameter Optimization training mode" . Refer to https://aws.amazon.com/about-aws/whats-new/2022/11/amazon-sagemaker-autopilot-experiments-2x-faster-hyperparameter-optimization-training-mode/?nc1=h_ls
upvoted 8 times
wendaz
1 year ago
SageMaker Autopilot is designed to automatically build, train, and tune the best machine learning model based on a dataset, without the user needing to choose an algorithm. It's not designed to be used with custom container images.
upvoted 2 times
...
Alexkats_87
1 year, 9 months ago
It seems that Autopilot doesn't support image data (image classification), so B will be incorrect in this case https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-datasets-problem-types.html#autopilot-datasets
upvoted 3 times
...
...
spinatram
Most Recent 1 week, 4 days ago
C Question asks "determine whether HPO with the SageMaker built-in image classification algorithm will produce a better model than the model produced by HPO with the custom container image" meaning experiment both option and then determine which is better. "All ML experiments and HPO jobs must be invoked from scripts inside SageMaker Studio notebooks" Sagemake experiments provides more capability https://docs.aws.amazon.com/sagemaker/latest/dg/experiments.html
upvoted 1 times
...
ifmx3
1 week, 6 days ago
SageMaker's automatic model tuning (also known as hyperparameter optimization, or HPO) is designed to find the best hyperparameters for your model by running multiple training jobs with different hyperparameter configurations. It supports both built-in algorithms and custom container images, making it a versatile tool for this task.
upvoted 1 times
...
MultiCloudIronMan
2 weeks, 4 days ago
Selected Answer: D
Option D Not C bcos using SageMaker Experiments to manage multiple training jobs adds an extra layer of management complexity. While it helps in tracking experiments, it does not inherently speed up the HPO process compared to running them concurrently. In summary, Option D provides the most efficient and straightforward approach to determine the best model by leveraging SageMaker’s automatic model tuning capabilities to run HPO on both models simultaneously
upvoted 1 times
...
sheetalconect
5 months ago
Selected Answer: D
Option D stands out as the most effective approach because it leverages SageMaker's automatic model tuning capabilities for both the custom container image and the built-in image classification algorithm. This ensures:
upvoted 2 times
...
rav009
5 months, 3 weeks ago
Selected Answer: D
D The question is talking about how to do HPO using AWS Sagemaker for a model in custom image. Experiment is not to do HPO because you need to input parameter manually. So D
upvoted 1 times
...
rookiee1111
6 months, 2 weeks ago
Selected Answer: C
Amazon sagemaker experiment is ideal for this.
upvoted 1 times
...
F1Fan
7 months, 3 weeks ago
Selected Answer: D
D: By using SageMaker's automatic model tuning capability to tune both the custom container image model and the built-in image classification algorithm model simultaneously, it leverages the parallel processing capabilities of SageMaker. This approach allows for efficient utilization of compute resources and can potentially complete the tuning process for both models in a shorter amount of time compared to running separate tuning jobs sequentially. Additionally, option D aligns with the requirement of invoking all ML experiments and HPO jobs from scripts inside SageMaker Studio notebooks, as SageMaker's automatic model tuning can be initiated and managed through notebook scripts. While options B and C could potentially work, option D provides the most direct and efficient path to meeting the requirements in the least amount of time by leveraging SageMaker's parallel processing capabilities and avoiding potential development overhead or limitations associated with other approaches.
upvoted 1 times
...
kyuhuck
9 months, 1 week ago
Selected Answer: D
The best option to meet the requirements in the least amount of time is D. Use the automatic model tuning capability of SageMaker to tune the models of the custom container image and the built-in image classification algorithm at the same time. This approach directly utilizes SageMaker's built-in capabilities for HPO, applies to both custom containers and built-in algorithms, and avoids the inefficiencies associated with local mode or manual management of experiments. It's important to note that while the tuning jobs would not literally run "at the same time" in a single operation, this option represents the most efficient use of SageMaker's capabilities for both scenarios.
upvoted 1 times
...
[Removed]
11 months, 2 weeks ago
Selected Answer: C
Should be C. We are looking at comparing 2 models here, where Sagemaker Experiments fits the bill. D is out because "Amazon SageMaker automatic model tuning (AMT), also known as hyperparameter tuning, finds the best version of a model by running many training jobs on your dataset." https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning.html
upvoted 1 times
...
akgarg00
11 months, 3 weeks ago
Selected Answer: D
D can be done easily https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning.html "You can use SageMaker AMT with built-in algorithms, custom algorithms, or SageMaker pre-built containers for machine learning frameworks."
upvoted 2 times
...
DimLam
1 year ago
Selected Answer: D
I will go with D https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html
upvoted 1 times
...
backbencher2022
1 year, 1 month ago
Selected Answer: B
Will go with B and Autopilot supports Image classification as per this link - https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html Autopilot currently supports the following problem types: Regression, binary, and multiclass classification with tabular data formatted as CSV or Parquet files in which each column contains a feature with a specific data type and each row contains an observation. The column data types accepted include numerical, categorical, text, and time series that consists of strings of comma-separated numbers. Text classification with data formatted as CSV or Parquet files in which a column provides the sentences to be classified, while another column should provide the corresponding class label. Image classification with images formats such as PNG, JPEG or a combination of both. Time-series forecasting with time-series data formatted as CSV or as Parquet files.
upvoted 1 times
wendaz
1 year ago
SageMaker Autopilot is designed to automatically build, train, and tune the best machine learning model based on a dataset, without the user needing to choose an algorithm. It's not designed to be used with custom container images.
upvoted 1 times
...
...
loict
1 year, 2 months ago
Selected Answer: D
A. NO - try AMT (=Automatic Model Tuning) before using custom HPO scripts; further, no reason to use the local mode B. NO - Autopilot is not for HPO only, it will also select a model etc. C. NO - requires manual parameter setting for each experiments D. YES - AMT (=Automatic Model Tuning) work with custom containers
upvoted 3 times
...
chet100
1 year, 2 months ago
Answer B in my opinion. Key is autopilot in least amount of time and early stopping to switch over
upvoted 1 times
...
Mickey321
1 year, 2 months ago
Selected Answer: C
Changing to option C
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 ...