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

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 18 discussion

A company has a web application that allows users to upload short videos. The videos are stored on Amazon EBS volumes and analyzed by custom recognition software for categorization.
The website contains static content that has variable traffic with peaks in certain months. The architecture consists of Amazon EC2 instances running in an Auto Scaling group for the web application and EC2 instances running in an Auto Scaling group to process an Amazon SQS queue. The company wants to re-architect the application to reduce operational overhead using AWS managed services where possible and remove dependencies on third-party software.
Which solution meets these requirements?

  • A. Use Amazon ECS containers for the web application and Spot instances for the Auto Scaling group that processes the SQS queue. Replace the custom software with Amazon Rekognition to categorize the videos.
  • B. Store the uploaded videos in Amazon EFS and mount the file system to the EC2 instances for the web application. Process the SQS queue with an AWS Lambda function that calls the Amazon Rekognition API to categorize the videos.
  • C. Host the web application in Amazon S3. Store the uploaded videos in Amazon S3. Use S3 event notification to publish events to the SQS queue. Process the SQS queue with an AWS Lambda function that calls the Amazon Rekognition API to categorize the videos.
  • D. Use AWS Elastic Beanstalk to launch EC2 instances in an Auto Scaling group for the web application and launch a worker environment to process the SQS queue. Replace the custom software with Amazon Rekognition to categorize the videos.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
masetromain
Highly Voted 1 month, 4 weeks ago
Selected Answer: C
This solution meets the requirements by using multiple managed services offered by AWS which can reduce the operational overhead. Hosting the web application in Amazon S3 would make it highly available, scalable and can handle variable traffic. The uploaded videos can be stored in S3 and processed using S3 event notifications that trigger a Lambda function, which calls the Amazon Rekognition API to categorize the videos. SQS can be used to process the event notifications and also it is a managed service. This solution eliminates the need to manage EC2 instances, EBS volumes and the custom software. Additionally, using Lambda function in this case, eliminates the need for managing additional servers to process the SQS queue which will reduce operational overhead. By using this solution, the company can benefit from the scalability, reliability, and cost-effectiveness that these services offer, which can help to reduce operational overhead and improve the overall performance and security of the application.
upvoted 30 times
Mahakali
1 year, 1 month ago
Any explanation on option A ?
upvoted 1 times
AWSum1
2 months, 1 week ago
ECS is managed to an extent, but the question fails to elaborate, no mention of fargate etc. There's unnecessary mentions of spot instances to confuse you. The web application has static content which can be hosted in S3 instead of ECS
upvoted 1 times
...
...
...
RaghavendraPrakash
Highly Voted 1 year, 7 months ago
D. Because, you cannot host web application in S3, only static web assets. ElasticBeanStalk provides an easy way to onboard autoscaling web apps with minimal operational overheads.
upvoted 12 times
7f6aef3
7 months, 1 week ago
Rekognition no consulta directamente EBS, pero puedes cargar datos en un recurso de almacenamiento compatible con Rekognition, como S3, para que Rekognition realice análisis sobre esos datos.
upvoted 1 times
...
7f6aef3
7 months, 1 week ago
Rekognition does not query EBS directly, but you can upload data to a Rekognition-compatible storage resource, such as S3, for Rekognition to perform analysis on that data.
upvoted 1 times
...
gofavad926
8 months, 1 week ago
"The company wants to re-architect the application "...
upvoted 2 times
...
Arnaud92
1 year, 2 months ago
But it is specifically specified that the web app is just static content...
upvoted 3 times
Bloops
1 year, 2 months ago
"The website contains static content" Contains do not means that all the website is just static
upvoted 1 times
Six_Fingered_Jose
1 year, 2 months ago
They also do not mention the website has any dynamic content so there's that
upvoted 10 times
...
...
...
...
TariqKipkemei
Most Recent 2 weeks, 1 day ago
Selected Answer: C
'static website' = Amazon S3 'store videos'= Amazon S3 'video analysis' = Amazon Rekognition 'reduce operational overhead, managed service' = S3 events, AWS Lambda, Amazon SQS
upvoted 1 times
...
cudbyanc
1 month, 4 weeks ago
Selected Answer: C
The answer is C. This solution eliminates the need for managing and scaling EC2 instances for the web application and the worker environment for processing the SQS queue. Instead, Amazon S3 can host the web application, and store the uploaded videos, which can trigger S3 event notifications to send messages to the SQS queue. Then, an AWS Lambda function can process the messages in the SQS queue and use Amazon Rekognition API to categorize the videos. This approach also takes advantage of AWS-managed services, such as S3, SQS, and Lambda, which reduces operational overhead and dependency on third-party software.
upvoted 4 times
...
Bereket
1 month, 4 weeks ago
Selected Answer: C
C. Host the web application in Amazon S3. Store the uploaded videos in Amazon S3. Use S3 event notification to publish events to the SQS queue. Process the SQS queue with an AWS Lambda function that calls the Amazon Rekognition API to categorize the videos. Explanation: Hosting the Web Application in Amazon S3: Cost-effective and Scalable: Amazon S3 is a cost-effective and scalable solution for hosting static web content. It can handle variable traffic efficiently without the need to manage servers. Static Content Hosting: Ideal for serving static content like HTML, CSS, JavaScript, and media files.
upvoted 1 times
...
kz407
1 month, 4 weeks ago
Selected Answer: C
While I vote for C, I do think however that whether we can go with C really depends on the application codebase. The use case mentions that the application enables file uploads. We know that handling files require a backend, if your application is written in something like Java. If that's the case, you won't be able to host your application in S3. The phrase "website contains static content" is really vague, as it does not reveal anything about the backend of the application. Now, the fact that the application has EBS to store Video files give up a hint, that suggests that the application has some BE code. I am taking a hint from "re-architect" I assume involves some revamping of the applications codebase. So, here's how I'd go about "re-architecting" 1. Move storage of files to S3. 2. Eliminate the BE codebase, revamp the FE codebase to rely entirely on AWS JS SDK and handle file uploads with that. Now you don't need to manage any compute resources at all. 3. Go about the rest of the solution.
upvoted 1 times
...
924641e
1 month, 4 weeks ago
Selected Answer: C
The mention of static content really throws this question off and clearly the community thinks this as well. The argument of static website vs static content being the key to selecting D isn't really a strong argument but that doesn't exclude D from being a viable solution. Operational overhead is minimized with Elastic Beanstalk and removes dependencies on third party tools/software.
upvoted 2 times
24Gel
8 months, 1 week ago
thanks, this is the best explain
upvoted 1 times
...
...
grire974
1 month, 4 weeks ago
Selected Answer: C
If it were D - how would Rekognition access the videos to classify? Rekognition would need to ssh into the EBS volume of various beanstalk instances running under an ASG (impossible as far as I know). I agree though - I think the wording is terrible for 'contains static content'; as how on earth would this type of app practically run on s3 alone for login/ user auth etc.. would need to be coupled with other serverless products such as lambda/cognito etc.
upvoted 1 times
grire974
10 months, 2 weeks ago
per my previous comment; s3 is the only viable data source for rekognition https://aws.amazon.com/rekognition/faqs/#:~:text=Amazon%20Rekognition%20Video%20operations%20can,are%20MPEG%2D4%20and%20MOV. from my experience this is the same too with similar services like elastic transcoder
upvoted 1 times
...
...
amministrazione
2 months, 3 weeks ago
C. Host the web application in Amazon S3. Store the uploaded videos in Amazon S3. Use S3 event notification to publish events to the SQS queue. Process the SQS queue with an AWS Lambda function that calls the Amazon Rekognition API to categorize the videos.
upvoted 1 times
...
ff32d79
3 months, 2 weeks ago
I saw this question in other question bank (owner of the questions) and it is A, reason is assuming is moving files back and forth cannot be static page, so it is A.
upvoted 1 times
...
Helpnosense
5 months, 1 week ago
Selected Answer: C
Only Answer C is the solution that covers all the requirements, where the videos are stored, how SQS messages are produced and consumed, how web app is hosted.
upvoted 1 times
...
gofavad926
8 months, 1 week ago
Selected Answer: C
C, this is a typical scenario
upvoted 1 times
...
MoT0ne
8 months, 1 week ago
re-architect the application to reduce operational overhead
upvoted 1 times
...
subbupro
11 months, 3 weeks ago
Elastic bean stack is not required , it is a static content only, better can go with S3. So Answer is C
upvoted 1 times
...
abeb
12 months ago
C videos in Amazon S3
upvoted 1 times
...
KevinYao
12 months ago
Selected Answer: D
Web application is never hosted in S3, that is storage normally.
upvoted 2 times
...
severlight
1 year ago
Selected Answer: C
C is a well-explained and detailed solution. For D it isn't like that, for instance, there is no solution provided for storing images.
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 ...