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

A company runs its application in the eu-west-1 Region and has one account for each of its environments: development, testing, and production. All the environments are running 24 hours a day, 7 days a week by using stateful Amazon EC2 instances and Amazon RDS for MySQL databases. The databases are between 500 GB and 800 GB in size.

The development team and testing team work on business days during business hours, but the production environment operates 24 hours a day, 7 days a week. The company wants to reduce costs. All resources are tagged with an environment tag with either development, testing, or production as the key.

What should a solutions architect do to reduce costs with the LEAST operational effort?

  • A. Create an Amazon EventBridge rule that runs once every day. Configure the rule to invoke one AWS Lambda function that starts or slops instances based on me tag, day, and time.
  • B. Create an Amazon EventBridge rule that runs every business day in the evening. Configure the rule to invoke an AWS Lambda function that stops instances based on the tag. Create a second EventBridge rule that runs every business day in the morning. Configure the second rule lo invoke another Lambda function that starts instances based on the tag.
  • C. Create an Amazon EventBridge rule that runs every business day in the evening, Configure the rule to invoke an AWS Lambda function that terminates, instances based on the lag. Create a second EventBridge rule that runs every business day in the morning. Configure the second rule lo invoke another Lambda function that restores the instances from their last backup based on the tag.
  • D. Create an Amazon EventBridge rule that runs every hour. Configure the rule to invoke one AWS Lambda function that terminates or restores instances from their last backup based on the tag. day, and time.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
masetromain
Highly Voted 2 years, 3 months ago
Selected Answer: B
The correct answer is B. Creating an Amazon EventBridge rule that runs every business day in the evening to stop instances and another rule that runs every business day in the morning to start instances based on the tag will reduce costs with the least operational effort. This approach allows for instances to be stopped during non-business hours when they are not in use, reducing the costs associated with running them. It also allows for instances to be started again in the morning when the development and testing teams need to use them. Option A would require the instances to be stopped and started once a day, which could result in instances being stopped while they are in use or not being stopped when they are not in use. Option C would terminate instances during non-business hours and restore them again in the morning, which could lead to data loss or longer start up times. Option D would terminate or restore instances every hour, which could lead to unnecessary costs as well as data loss or longer start up times.
upvoted 11 times
...
Musk
Highly Voted 2 years, 2 months ago
Selected Answer: B
this is easy. I wish I'll have several of this in the exam.
upvoted 8 times
...
nimbus_00
Most Recent 6 months, 2 weeks ago
Selected Answer: B
Stopping instances rather than terminating them ensures that the environment's state can be quickly restored the next day without needing to manage backups or restorations, making it operationally efficient.
upvoted 1 times
...
amministrazione
7 months, 3 weeks ago
B. Create an Amazon EventBridge rule that runs every business day in the evening. Configure the rule to invoke an AWS Lambda function that stops instances based on the tag. Create a second EventBridge rule that runs every business day in the morning. Configure the second rule lo invoke another Lambda function that starts instances based on the tag.
upvoted 1 times
...
AWSLord32
1 year, 3 months ago
Selected Answer: B
Voted B, but C seems to be more cost effective. Any idea to why it wouldn't work?
upvoted 1 times
pangchn
1 year, 2 months ago
C will terminate the instance which may potentially the work on the disk
upvoted 1 times
...
...
career360guru
1 year, 4 months ago
Selected Answer: B
Option B
upvoted 1 times
...
NikkyDicky
1 year, 9 months ago
Selected Answer: B
B for sure
upvoted 1 times
...
Maria2023
1 year, 10 months ago
Selected Answer: B
A cannot complete the requirement since it runs once a day and we need to stop the non-prod instances in the eveninig and start them in the morning. A would potentially work if we set up the rule to run every hour and then determine the appropriate action based on the time of the day. C and D are nonsense to me
upvoted 1 times
...
leehjworking
1 year, 11 months ago
Can anyone explain why B has less operational effort than A?
upvoted 1 times
chikorita
1 year, 10 months ago
cuz we have to schedule Eventbridge to run twice a day [STOP trigger and START trigger]....Option A mentions about "ONCE" which could only be either stop or start so option B is most appropiate
upvoted 1 times
...
...
dev112233xx
2 years ago
Selected Answer: B
B is correct The keyword here is whether you terminate or stop the instance. ofc you don't want to terminate. stop is enough and company don't pay when the instance is in stop state.
upvoted 4 times
...
mfsec
2 years, 1 month ago
Selected Answer: B
B is the easy choice
upvoted 2 times
...
zhangyu20000
2 years, 3 months ago
B is correct. Stop the instance that preserver all data. C: is incorrect because it terminate instance that will loss data
upvoted 5 times
rbm2023
1 year, 11 months ago
with the addition to the fact that to recreate those DBs from scratch would take a long time.
upvoted 2 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