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

A company is building a line-counting application for use in a quick-service restaurant. The company wants to use video cameras pointed at the line of customers at a given register to measure how many people are in line and deliver notifications to managers if the line grows too long. The restaurant locations have limited bandwidth for connections to external services and cannot accommodate multiple video streams without impacting other operations.
Which solution should a machine learning specialist implement to meet these requirements?

  • A. Install cameras compatible with Amazon Kinesis Video Streams to stream the data to AWS over the restaurant's existing internet connection. Write an AWS Lambda function to take an image and send it to Amazon Rekognition to count the number of faces in the image. Send an Amazon Simple Notification Service (Amazon SNS) notification if the line is too long.
  • B. Deploy AWS DeepLens cameras in the restaurant to capture video. Enable Amazon Rekognition on the AWS DeepLens device, and use it to trigger a local AWS Lambda function when a person is recognized. Use the Lambda function to send an Amazon Simple Notification Service (Amazon SNS) notification if the line is too long.
  • C. Build a custom model in Amazon SageMaker to recognize the number of people in an image. Install cameras compatible with Amazon Kinesis Video Streams in the restaurant. Write an AWS Lambda function to take an image. Use the SageMaker endpoint to call the model to count people. Send an Amazon Simple Notification Service (Amazon SNS) notification if the line is too long.
  • D. Build a custom model in Amazon SageMaker to recognize the number of people in an image. Deploy AWS DeepLens cameras in the restaurant. Deploy the model to the cameras. Deploy an AWS Lambda function to the cameras to use the model to count people and send an Amazon Simple Notification Service (Amazon SNS) notification if the line is too long.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
spaceexplorer
Highly Voted 2 years, 12 months ago
Selected Answer: D
Answer is D: A is not correct since restaurant has limited bandwidth B is not correct since cannot enable Rekognition service on DeepLens C is not correct the same reason as A
upvoted 17 times
muralipr
2 years, 9 months ago
B is correct with Rekognition integrated with Deeplens and no extra configuration needed. (https://aws.amazon.com/blogs/machine-learning/building-a-smart-garage-door-opener-with-aws-deeplens-and-amazon-rekognition/)
upvoted 6 times
RLai
2 years, 3 months ago
In this blog, rekognition service is not running on Deeplens. It said "After you deploy the sample object detection project into AWS DeepLens, you need to change the inference (edge) Lambda function to upload image frames to Amazon S3. ... and Rekognition would do its work from the Cloud to image frames on S3."... It would still consume lots of bandwidth. So B is NOT correct.
upvoted 2 times
...
...
dunhill
2 years, 5 months ago
I also agree with D. B is incorrect due to that it's no need to do "person is recognized". It just needs to count the number of people.
upvoted 2 times
...
...
wjohnny
Highly Voted 2 years, 4 months ago
Selected Answer: C
AWS will not recommend to use Deeplense in production. From https://aws.amazon.com/deeplens/device-terms-of-use/
upvoted 8 times
alp_ileri
2 years, 1 month ago
aws doesn't allow use in production but in evaluation. can we accept counting number of people as an evaluation?
upvoted 2 times
...
BTRYING
2 years, 2 months ago
https://aws.amazon.com/deeplens/device-terms-of-use/
upvoted 3 times
...
...
santi1975
Most Recent 2 months, 1 week ago
Selected Answer: A
Sorry guys, not B, C or D. Reasons? Deeplens is a deprecated product, not suitable for being used in real production environment (as clearly stated in its T&C), thus B & D option are out. Between A & C, the clearly option is A. C implies the creation of a custom ML model. Making a custom model is very expensive, time consuming, error prone and a highly specialized task. Option A uses a well-known, key-in-hand service as AWS Rekognition which implies very little effort in comparison with uses a custom-made one. I know, this option does not follow the flock, but I think that I am right.
upvoted 3 times
...
MultiCloudIronMan
6 months, 1 week ago
Selected Answer: B
Yes, Amazon Rekognition can be integrated with AWS DeepLens. You can use AWS DeepLens to capture video and perform initial processing on the device. For more advanced image and video analysis, you can send frames from DeepLens to Amazon Rekognition
upvoted 1 times
...
kyuhuck
1 year, 2 months ago
Selected Answer: D
The best solution for building a line-counting application for use in a quick-service restaurant is to usethe following steps:Build a custom model in Amazon SageMaker to recognize the number of people in an image. AmazonSageMaker is a fully managed service that provides tools and workflows for building, training, anddeploying machine learning models. A custom model can be tailored to the specific use case of linecounting and achieve higher accuracy than a generic model1 Deploy AWS DeepLens cameras in therestaurant to capture video
upvoted 3 times
...
CloudHandsOn
1 year, 3 months ago
Selected Answer: B
B. AWS DeepLens with Local Amazon Rekognition and AWS Lambda: AWS DeepLens is designed for local processing and can run models at the edge (i.e., on the device itself). This setup would enable local analysis of the video feed without the need to stream the video to the cloud, thus conserving bandwidth. Amazon Rekognition and Lambda can then be used to analyze the footage and send notifications. This option aligns well with the bandwidth limitations. D. Custom Model on AWS DeepLens with AWS Lambda: Deploying a custom model built in SageMaker to AWS DeepLens allows for local processing of video data. This option also avoids the bandwidth issue by processing data on the device. However, developing a custom model might be more complex than using pre-built solutions like Amazon Rekognition.
upvoted 1 times
...
vikaspd
1 year, 4 months ago
Selected Answer: D
Rekognition is a managed service. It uses API's and can't be deployed locally on devices. What we need here is local inference on the camera. AWS DeepLens comes pre-installed with a high performance, efficient, optimized inference engine for deep learning using Apache MXNet.
upvoted 2 times
...
DimLam
1 year, 6 months ago
Selected Answer: A
I would go with A, As DeepLenght is not for production workloads, we are left with A or C. A requires less effort.
upvoted 1 times
...
seifskl
1 year, 6 months ago
Selected Answer: B
B : https://aws.amazon.com/ko/blogs/machine-learning/building-a-smart-garage-door-opener-with-aws-deeplens-and-amazon-rekognition/
upvoted 1 times
...
Mickey321
1 year, 8 months ago
Selected Answer: D
Based on the requirements, the best solution is option D. This option uses AWS DeepLens cameras to capture video and process it locally on the device, without sending any video streams to external services. This reduces the bandwidth consumption and avoids impacting other operations in the restaurant. The option also uses a custom model built in Amazon SageMaker to recognize the number of people in an image, which can be more accurate and tailored to the specific use case than a generic face detection model. The option also deploys an AWS Lambda function to the cameras to use the model to count people and send an Amazon Simple Notification Service (Amazon SNS) notification if the line is too long.
upvoted 1 times
...
ccpmad
1 year, 8 months ago
Selected Answer: D
it is D. "The restaurant locations have limited bandwidth for connections to external services and cannot accommodate multiple video streams without impacting other operations." So, using Amazon Kinesis Video Streams is not a solution here. Ok, DeepLens dissapears in 2024...but this questions is for 2022... In the real world, the restaurant would buy good signal internet and use answer C, which is better solution.
upvoted 1 times
...
TQM__9MD
1 year, 9 months ago
Selected Answer: C
C is Answer
upvoted 1 times
...
mirik
1 year, 9 months ago
Selected Answer: C
AWS DeepLens will reach end-of-ilfe in 31/01/2024 so, I don't think this question will even appear in the exam.
upvoted 5 times
...
Mllb
2 years ago
Selected Answer: D
Deeplens + lambda + model inference
upvoted 3 times
...
fez_2312
2 years, 1 month ago
After giving this some thought, I am thinking D. Tricky, my initial answer was C. But D is a better solution - given DeepLens and counting the number of people.
upvoted 1 times
...
SANDEEP_AWS
2 years, 1 month ago
Selected Answer: B
https://aws.amazon.com/ko/blogs/machine-learning/building-a-smart-garage-door-opener-with-aws-deeplens-and-amazon-rekognition/
upvoted 3 times
Amit11011996
2 years, 1 month ago
According to this link, Answer should be D, because we can directly deploy model in Deep lense to count the number of people instead a use of rekognition.
upvoted 1 times
...
...
lizlizliz
2 years, 4 months ago
https://aws.amazon.com/blogs/machine-learning/optimize-workforce-in-your-store-using-amazon-rekognition/ B
upvoted 3 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