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 256 discussion

A company is creating an application to identify, count, and classify animal images that are uploaded to the company’s website. The company is using the Amazon SageMaker image classification algorithm with an ImageNetV2 convolutional neural network (CNN). The solution works well for most animal images but does not recognize many animal species that are less common.

The company obtains 10,000 labeled images of less common animal species and stores the images in Amazon S3. A machine learning (ML) engineer needs to incorporate the images into the model by using Pipe mode in SageMaker.

Which combination of steps should the ML engineer take to train the model? (Choose two.)

  • A. Use a ResNet model. Initiate full training mode by initializing the network with random weights.
  • B. Use an Inception model that is available with the SageMaker image classification algorithm.
  • C. Create a .lst file that contains a list of image files and corresponding class labels. Upload the .lst file to Amazon S3.
  • D. Initiate transfer learning. Train the model by using the images of less common species.
  • E. Use an augmented manifest file in JSON Lines format.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
loict
Highly Voted 1 year, 7 months ago
Selected Answer: CD
A. NO - we can't change the model for transfer learning B. NO - we can't change the model for transfer learning C. YES - lst file is how we give input to SageMaker (https://medium.com/@texasdave2/itty-bitty-lst-file-format-converter-for-machine-learning-image-classification-on-aws-sagemaker-b3828c7ba9cc) D. YES - obvious E. NO - there is no extra metadata we want to provide (https://docs.aws.amazon.com/sagemaker/latest/dg/augmented-manifest.html)
upvoted 5 times
...
MJSY
Most Recent 6 months, 3 weeks ago
Selected Answer: CD
.lst file is the correct way to pass metadata of training files to sagemaker training job. C is correct not E. no doubt for D.
upvoted 1 times
...
JonSno
11 months, 4 weeks ago
Create a .lst File (Option C): Explanation: The .lst file is a standard format used with Amazon SageMaker's image classification algorithm, which lists image files and their corresponding labels. This file is crucial for SageMaker to read and map the images correctly for training purposes. The .lst file needs to be uploaded to Amazon S3. Initiate Transfer Learning (Option D): Explanation: Transfer learning allows you to leverage pre-trained weights from existing models (like ImageNetV2) and fine-tune them using your own data. In this case, training with the 10,000 new labeled images helps the model recognize less common animal species. Transfer learning is more efficient since the model has already been trained on similar data.
upvoted 3 times
cloudera3
9 months, 2 weeks ago
Link for more information on the .lst requirement for training and validation channels: https://docs.aws.amazon.com/sagemaker/latest/dg/image-classification.html#IC-inputoutput
upvoted 1 times
...
...
AIWave
1 year, 1 month ago
Selected Answer: DE
A - no need for full training only transfer learning B - no built in inception model in sagemaker and no transfer learning C - no data augmentation could introduce inaccuracies D - yes! Transfer learning E - yes, augmentation improves accuracy
upvoted 1 times
...
endeesa
1 year, 5 months ago
Selected Answer: DE
We need to augment the existing images so E makes sense
upvoted 1 times
...
giustino98
1 year, 5 months ago
Selected Answer: CD
A False - no transfer learning B False - no transfer learning C True - "If you use the Image format for training, specify train, validation, train_lst, and validation_lst channels as values for the InputDataConfig parameter of the CreateTrainingJob request. Specify the individual image data (.jpg or .png files) for the train and validation channels. Specify one .lst file in each of the train_lst and validation_lst channels. Set the content type for all four channels to application/x-image." D True - it uses transfer learning E False - "To include metadata with your dataset in a training job, use an augmented manifest file. " Here we don't have any metadata
upvoted 4 times
...
DimLam
1 year, 6 months ago
Selected Answer: DE
I would go with E. as we have a hint in the question, that we need to use a Pipe mode, and E is used for pipe mode
upvoted 1 times
...
backbencher2022
1 year, 6 months ago
Selected Answer: DE
D is obvious. Reason for option E is because they want to train model in Pipe mode and using an augmented manifest file in JSON Lines format enables trraining in Pipe mode as per this link - https://docs.aws.amazon.com/sagemaker/latest/dg/image-classification.html Refer to the section - Train with Augmented Manifest Image Format in this link for more details. Using an augmented manifest file is an alternative to preprocessing when you have labeled data. For training jobs using labeled data, you typically need to preprocess the dataset to combine input data with metadata before training. If your training dataset is large, preprocessing can be time consuming and expensive.
upvoted 2 times
...
goku58
1 year, 7 months ago
Selected Answer: DE
D is obvious. Keyword here is pipe mode. "The augmented manifest format enables you to do training in Pipe mode using image files without needing to create RecordIO files." Hence, E.
upvoted 2 times
...
Mickey321
1 year, 8 months ago
Selected Answer: DE
https://docs.aws.amazon.com/sagemaker/latest/dg/augmented-manifest.html
upvoted 1 times
...
kaike_reis
1 year, 8 months ago
Selected Answer: DE
Letter A - B deviate from what is asked in the scope of the question. Correct alternatives are E - D. To understand that C is wrong, look here: https://docs.aws.amazon.com/sagemaker/latest/dg/image-classification.html TL;DR - .lst file is only for classification task
upvoted 2 times
...
awsarchitect5
1 year, 9 months ago
Selected Answer: DE
Augmented manifest format enables you to do training in Pipe mode using files without needing to create RecordIO files (.rec)
upvoted 2 times
...
ADVIT
1 year, 9 months ago
D+E https://docs.aws.amazon.com/sagemaker/latest/dg/augmented-manifest.html
upvoted 1 times
...
brianb08
1 year, 10 months ago
Selected Answer: CD
C. Create a .lst file that contains a list of image files and corresponding class labels. Upload the .lst file to Amazon S3. D. Initiate transfer learning. Train the model by using the images of less common species. Details provided in this blog post: https://aws.amazon.com/blogs/machine-learning/classify-your-own-images-using-amazon-sagemaker/
upvoted 4 times
...
SandeepGun
1 year, 10 months ago
Selected Answer: DE
Correct Ans DE
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