Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 889 discussion

A company runs a proprietary stateless ETL application on an Amazon EC2 Linux instances. The application is a Linux binary, and the source code cannot be modified. The application is single-threaded, uses 2 GB of RAM, and is highly CPU intensive. The application is scheduled to run every 4 hours and runs for up to
20 minutes. A solutions architect wants to revise the architecture for the solution.
Which strategy should the solutions architect use?

  • A. Use AWS Lambda to run the application. Use Amazon CloudWatch Logs to invoke the Lambda function every 4 hours.
  • B. Use AWS Batch to run the application. Use an AWS Step Functions state machine to invoke the AWS Batch job every 4 hours.
  • C. Use AWS Fargate to run the application. Use Amazon EventBridge (Amazon CloudWatch Events) to invoke the Fargate task every 4 hours.
  • D. Use Amazon EC2 Spot Instances to run the application. Use AWS CodeDeploy to deploy and run the application every 4 hours.
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
pinhead900
Highly Voted 2 years, 1 month ago
Selected Answer: C
probably C, step function could run a scheduled task when triggered by eventbrige, but why would you add that layer of complexity just to run aws batch when you could directly invoke it through eventbridge. The link provided - https://aws.amazon.com/pt/blogs/compute/orchestrating-high-performance-computing-with-aws-step-functions-and-aws-batch/ makes sense only for HPC, this is a single instance that needs to be run
upvoted 10 times
...
nimbus_00
Most Recent 1 month ago
Selected Answer: B
Key word: Scheduling While Fargate could work, it is more suited to containerized applications and doesn't offer the batch job scheduling capabilities that AWS Batch provides. AWS Batch also has better handling for compute-intensive, scheduled jobs.
upvoted 1 times
...
rodrod
1 year, 2 months ago
Selected Answer: C
C is the answer
upvoted 1 times
...
pitakk
1 year, 10 months ago
Selected Answer: B
https://docs.aws.amazon.com/step-functions/latest/dg/connect-batch.html It's B
upvoted 2 times
...
evargasbrz
1 year, 10 months ago
Selected Answer: B
I'll go with B Why not C-> It says "Fargate task" and not "ECS tasks" using Fargate.
upvoted 4 times
...
Jonfernz
2 years ago
Selected Answer: C
A & D don't make sense. As for B --- it's wrong for two reasons. Firstly, this is just a single job ... you don't an added workflow by using StepFunctions. Secondly, Step Functions cannot be scheduled. Even if you want to use it for this case, you would at least need to use CloudWatch Events to trigger the process. C solves everything and is this only feasible option.
upvoted 2 times
...
fais1985
2 years ago
Answer B https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduled_tasks.html
upvoted 1 times
fais1985
2 years ago
Sorry its C via Fargate https://docs.aws.amazon.com/AmazonECS/latest/developerguide/scheduled_tasks.html
upvoted 1 times
...
...
dcdcdc3
2 years, 1 month ago
Selected Answer: B
I would like to go with B: https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/orchestrate-an-etl-pipeline-with-validation-transformation-and-partitioning-using-aws-step-functions.html as the question is asking for an ETL solution Maybe the incorrect piece in C is around invoking a "Fargate task" every 4 hours where it should be invoke "ECS task" (aka your app) every 4 hours
upvoted 3 times
dcdcdc3
2 years, 1 month ago
Or maybe because source code cannot be modified, we are stuck with a fargate container with unclear answer C and we cannot re-architect the solution to B ?.?
upvoted 1 times
...
...
Yashar1691
2 years, 1 month ago
Selected Answer: B
https://docs.aws.amazon.com/step-functions/latest/dg/connect-batch.html
upvoted 1 times
...
kapara
2 years, 2 months ago
Selected Answer: C
C. those who say B - how can step function state can run schedule task?
upvoted 4 times
...
cale
2 years, 2 months ago
Selected Answer: B
It is B.
upvoted 1 times
...
AwsBRFan
2 years, 2 months ago
Selected Answer: B
B considering this link https://aws.amazon.com/pt/blogs/compute/orchestrating-high-performance-computing-with-aws-step-functions-and-aws-batch/
upvoted 1 times
rodrod
1 year, 2 months ago
Step function can call batch but not on a scheduled basis. It requires a trigger like eventbridge So B is a distractor....
upvoted 1 times
...
...
AwsBRFan
2 years, 2 months ago
Selected Answer: C
Maybe C https://aws.amazon.com/pt/blogs/compute/orchestrating-high-performance-computing-with-aws-step-functions-and-aws-batch/
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 ...