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

A Machine Learning Specialist previously trained a logistic regression model using scikit-learn on a local machine, and the Specialist now wants to deploy it to production for inference only.
What steps should be taken to ensure Amazon SageMaker can host a model that was trained locally?

  • A. Build the Docker image with the inference code. Tag the Docker image with the registry hostname and upload it to Amazon ECR.
  • B. Serialize the trained model so the format is compressed for deployment. Tag the Docker image with the registry hostname and upload it to Amazon S3.
  • C. Serialize the trained model so the format is compressed for deployment. Build the image and upload it to Docker Hub.
  • D. Build the Docker image with the inference code. Configure Docker Hub and upload the image to Amazon ECR.
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
arulrajjayaraj
Highly Voted 2 years, 6 months ago
Ans : A Refer the below : https://sagemaker-workshop.com/custom/containers.html
upvoted 19 times
...
Paul_NoName
Highly Voted 2 years, 7 months ago
A https://sagemaker-workshop.com/custom/containers.html
upvoted 7 times
...
endeesa
Most Recent 5 months ago
Selected Answer: A
You need the container to be hosted on ECR.
upvoted 1 times
...
loict
7 months, 2 weeks ago
Selected Answer: A
A. YES - the inference code is built after inspecting the coefficient of the Linear Model (or, alternatively, the model can be serialized via pickle and the inference code is simply to unserialized the mode); ECR is only registry supported by SageMaer; tagging the Docker image with the registry hostname (eg. docker tag image1 public.ecr.aws/g6h7x5m5/image1) is required so that the docker push command knows where to push the image B. NO - no need to compress; image must be on ECR C. NO - no need to compress; image must be on ECR D. NO - image must be on ECR
upvoted 5 times
...
Khalil11
1 year ago
Selected Answer: A
A is the right answer
upvoted 3 times
...
Nadia0012
1 year, 1 month ago
Selected Answer: A
For SageMaker to run a container for training or hosting, it needs to be able to find the image hosted in the image repository, Amazon Elastic Container Registry (Amazon ECR). The three main steps to this process are building locally, tagging with the repository location, and pushing the image to the repository.
upvoted 4 times
...
geekgirl007
2 years, 3 months ago
Selected Answer: A
A for sure.
upvoted 3 times
...
astonm13
2 years, 6 months ago
Answer is A.
upvoted 3 times
...
cnethers
2 years, 6 months ago
Docker Hub is a repository so ANS D makes no sense. Option A is the way to go.
upvoted 2 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