exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

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

Exam AWS Certified Solutions Architect - Professional topic 1 question 635 discussion

A company has a photo sharing social networking application. To provide a consistent experience for users, the company performs some image processing on the photos uploaded by users before publishing on the application. The image processing is implemented using a set of Python libraries.
The current architecture is as follows:
✑ The image processing Python code runs in a single Amazon EC2 instance and stores the processed images in an Amazon S3 bucket named ImageBucket.
✑ The front-end application, hosted in another bucket, loads the images from ImageBucket to display to users.
With plans for global expansion, the company wants to implement changes in its existing architecture to be able to scale for increased demand on the application and reduce management complexity as the application scales.
Which combination of changes should a solutions architect make? (Choose two.)

  • A. Place the image processing EC2 instance into an Auto Scaling group.
  • B. Use AWS Lambda to run the image processing tasks.
  • C. Use Amazon Rekognition for image processing.
  • D. Use Amazon CloudFront in front of ImageBucket.
  • E. Deploy the applications in an Amazon ECS cluster and apply Service Auto Scaling.
Show Suggested Answer Hide Answer
Suggested Answer: BD 🗳️

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
cpd
Highly Voted 3 years, 8 months ago
"reduce management complexity as the application scales"; both A and E involves managing underlying host (unless its Fargate for E). I'd use lambda to answer this requirement i.e., B. And D is obvious answer.
upvoted 23 times
DashL
3 years, 8 months ago
The question doesn't say if the image processing can complete within a lambda's timeout period of 15 minutes or less. So the answer should be AD
upvoted 4 times
memester
3 years, 7 months ago
It also doesn't say it can't...
upvoted 7 times
...
...
...
Ebi
Highly Voted 3 years, 8 months ago
Answer is BD, B changes existing architecture from EC2 to Lambda with minimum management overhead
upvoted 15 times
...
romiao106
Most Recent 2 years, 2 months ago
Selected Answer: DE
D, E There is no guarantee that the processing will take less than 15 min to finish. Lambda might not be a feasible option.
upvoted 1 times
...
Heer
2 years, 7 months ago
The line from the question is super important that 'Company wants to make changes in its existing architecture ' and which is EC2 .So picking lambda would be an architecture change So A & D looks to be a better choice as per the question ,else my personal preference would be Lambda
upvoted 2 times
...
kadev
2 years, 9 months ago
Because AWS is the best , AWS can do anything ( AWS said) lol => Lambda can process image ( because first sentence => dont care about timeout or many libs ..) => B
upvoted 2 times
kadev
2 years, 9 months ago
we are in exam, not your project.
upvoted 2 times
...
kadev
2 years, 9 months ago
After kidding, "to scale for increased demand on the application and reduce management complexity " - Auto scaling with Ec2, or Ecs for processing event from S3, need add more modules: SQS, CW event, lambda to audjust Scaling size => Lambda is the best option
upvoted 2 times
...
...
jyrajan69
3 years, 3 months ago
D is definitely one choice. For those choosing B, you are considering the complexity. The question states that currently there are a lot of python libraries needed to process, so if using B then you must configure this as layers that Lambda must pull in, adding to the complexity. Now with answer A, you are catering for growth with scaling the EC2 instances, not adding any more complexity and that should be A. Answer A and D
upvoted 1 times
...
tkanmani76
3 years, 5 months ago
D for sure. It's not A as its mentioned that firm wants to change the architecture. Between B and E, Lambda would be a good choice and more operationally efficient over ECS. Its much faster when it comes to scaling over ECS. Hence will choose Lambda (Choice B) over ECS. https://prismatic.io/blog/why-we-moved-from-lambda-to-ecs/ - This is an interesting case study on the problems faced by Prismatic with Lambda and why they moved to ECS - which provide a perspective. However in our case Lambda will do the work.
upvoted 1 times
...
AzureDP900
3 years, 6 months ago
Selected Answer: BD
B,D is right
upvoted 3 times
...
andylogan
3 years, 7 months ago
It's B, D - minimum management overhead
upvoted 1 times
...
DerekKey
3 years, 7 months ago
B&D - we are using such solution in two environments
upvoted 2 times
...
tgv
3 years, 7 months ago
BBB DDD ---
upvoted 2 times
...
blackgamer
3 years, 7 months ago
E is okay, but B is more suitable to minimize management overhead. I will go with B and D.
upvoted 1 times
...
jobe42
3 years, 7 months ago
In fact that we can change the existing architecture: A.) Will not solve the scaling problem, more EC2 instances have somehow cooridinate the tasks, no SQS or DynamoDB here for processing information => NOK B.) S3 triggers a Lambda function for processing => OK C.) Recognition not suitable for "processing", just for analyzing. you can't change the pictures (scale, add watermark etc.) just find out if this is a dog or a copyrighted dog => NOK D.) Obvious.. => OK E.) Would work, but needs more to do than B => NOK == B & D
upvoted 8 times
...
WhyIronMan
3 years, 7 months ago
I'll go with B,D
upvoted 2 times
...
tvs
3 years, 8 months ago
BD - Why not A - because you need to patch and other maintenance on EC2 instances.
upvoted 2 times
...
zolthar_z
3 years, 8 months ago
The answer is B and D.. D is obvious. B the question give the answer (execute on process per image, if there is no new image no process should run, python and libraries) is lambda
upvoted 1 times
...
Waiweng
3 years, 8 months ago
it's A&D implement changes to it's existing architecture and reduce management complexity
upvoted 3 times
student22
3 years, 7 months ago
B,D Lambda will reduce management overhead better. EC2 with ASG will still have some overhead for patching etc.
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 ...