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

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 69 discussion

A software development company has multiple developers who work on the same product. Each developer must have their own development environments, and these development environments must be identical. Each development environment consists of Amazon EC2 instances and an Amazon RDS DB instance. The development environments should be created only when necessary, and they must be terminated each night to minimize costs.
What is the MOST operationally efficient solution that meets these requirements?

  • A. Provide developers with access to the same AWS CloudFormation template so that they can provision their development environment when necessary. Schedule a nightly cron job on each development instance to stop all running processes to reduce CPU utilization to nearly zero.
  • B. Provide developers with access to the same AWS CloudFormation template so that they can provision their development environment when necessary. Schedule a nightly Amazon EventBridge (Amazon CloudWatch Events) rule to invoke an AWS Lambda function to delete the AWS CloudFormation stacks.
  • C. Provide developers with CLI commands so that they can provision their own development environment when necessary. Schedule a nightly Amazon EventBridge (Amazon CloudWatch Events) rule to invoke an AWS Lambda function to terminate all EC2 instances and the DB instance.
  • D. Provide developers with CLI commands so that they can provision their own development environment when necessary. Schedule a nightly Amazon EventBridge (Amazon CloudWatch Events) rule to cause AWS CloudFormation to delete all of the development environment resources.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Finger41
Highly Voted 2 years, 6 months ago
Selected Answer: B
B - https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-run-lambda-schedule.html + https://aws.amazon.com/blogs/mt/using-aws-lambda-to-decommission-products-provisioned-from-an-aws-service-catalog-portfolio/ Ideally you want to delete the Stack, not just the EC2 and RDS instances. Persistant EBS volumes and snapshots may still exist that can incurr cost.
upvoted 18 times
...
gehadg
Most Recent 2 weeks, 3 days ago
Correct Answer: B Option B provides an operationally efficient approach. By using AWS CloudFormation, each developer can easily create an identical development environment from a template. Scheduling a nightly EventBridge rule to invoke a Lambda function that deletes the CloudFormation stacks is efficient because it ensures all resources (EC2 instances, RDS instances, etc.) are automatically deleted every night, reducing costs without requiring additional manual work. Other Options: Option A stops processes to reduce CPU usage but does not terminate resources, meaning costs associated with instances and RDS would still accrue. Option C and Option D require developers to manually provision environments with CLI commands, which is less efficient than CloudFormation templates. Additionally, Option C does not delete CloudFormation stacks, so it’s less organized for ongoing, consistent setup and teardown.
upvoted 1 times
...
Ttomm
1 year ago
it should be C, keyword is "Terminate all resources", not delete stack only
upvoted 1 times
...
[Removed]
1 year, 2 months ago
Selected Answer: B
B for sure!
upvoted 1 times
...
ronnykapo
1 year, 4 months ago
BBBBBBBBBBBB
upvoted 1 times
...
Andrew_A
1 year, 5 months ago
Selected Answer: B
This solution allows each developer to easily create an identical development environment when they need it by using the CloudFormation template. AWS CloudFormation templates are a great way to version and standardize infrastructure, and can be used to create and manage a collection of related AWS resources. The EventBridge rule scheduled to trigger the Lambda function ensures that all resources associated with each CloudFormation stack are deleted every night, minimizing unnecessary costs.
upvoted 4 times
...
joesome
1 year, 5 months ago
B is correct
upvoted 1 times
...
fts_cevans
1 year, 5 months ago
Selected Answer: B
B is correct. It cannot possibly be "C" because the question stipulates the environments must be identical. Handing over access to run CLI commands will not result in identical environments, but provisioning them in CloudFormation will accomplish that.
upvoted 1 times
...
michaldavid
1 year, 11 months ago
Selected Answer: B
BBBBBBB
upvoted 1 times
...
Liongeek
1 year, 12 months ago
Ans: B
upvoted 1 times
...
Surferbolt
2 years, 1 month ago
Selected Answer: B
B is correct.
upvoted 1 times
...
princajen
2 years, 2 months ago
Selected Answer: B
B is correct! You want to delete the stack, not just certain resources.
upvoted 1 times
...
Mikilo
2 years, 5 months ago
Selected Answer: B
B is Correct
upvoted 1 times
...
everythingship
2 years, 6 months ago
It's B.
upvoted 1 times
...
Mikilo
2 years, 6 months ago
Selected Answer: B
B is Correct
upvoted 3 times
everythingship
2 years, 6 months ago
Correct !
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 ...