exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 84 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 84
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A DevOps engineer is planning to deploy a Ruby-based application to production. The application needs to interact with an Amazon RDS for MySQL database and should have automatic scaling and high availability. The stored data in the database is critical and should persist regardless of the state of the application stack.

The DevOps engineer needs to set up an automated deployment strategy for the application with automatic rollbacks. The solution also must alert the application team when a deployment fails.

Which combination of steps will meet these requirements? (Choose three.)

  • A. Deploy the application on AWS Elastic Beanstalk. Deploy an Amazon RDS for MySQL DB instance as part of the Elastic Beanstalk configuration.
  • B. Deploy the application on AWS Elastic Beanstalk. Deploy a separate Amazon RDS for MySQL DB instance outside of Elastic Beanstalk.
  • C. Configure a notification email address that alerts the application team in the AWS Elastic Beanstalk configuration.
  • D. Configure an Amazon EventBridge (Amazon CloudWatch Events) rule to monitor AWS Health events. Use an Amazon Simple Notification Service (Amazon SNS) topic as a target to alert the application team.
  • E. Use the immutable deployment method to deploy new application versions.
  • F. Use the rolling deployment method to deploy new application versions.
Show Suggested Answer Hide Answer
Suggested Answer: BCE 🗳️

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
SmileyCloud
Highly Voted 2 years, 4 months ago
Selected Answer: BDE
B and not A because the RDS data is critical. Move RDS out of Beanstalk. D and not C, because D constantly monitors the Beanstalk health. See https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.eventbridge.html E and not F because immutable creates another environment. If rolling deployment fails, you need to redeploy it again. They ask for automated healing. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html#environments-cfg-rollingdeployments-method
upvoted 22 times
BelloMio
2 years, 2 months ago
D uses elastic beanstalk events as source. It does not use Health. Therefore C is correct
upvoted 2 times
Piccaso
2 years, 2 months ago
In a table of the link: Environment update failed ERROR Failed to deploy configuration.
upvoted 1 times
Piccaso
2 years, 2 months ago
It means C is involved by D
upvoted 1 times
...
...
...
...
USalo
Highly Voted 2 years, 4 months ago
Selected Answer: BCE
B: and not A because the RDS data is critical. Move RDS out of Beanstalk. C: not D, because AWS Health monitor health status of AWS services, not deployments. E: This was tricky one. We should pay attention that we need automatic rollback, not rolling update. Failed rolling update required manual work to deploy new good version. Failed immutable update will rollback all unhealthy instances automatically, no manual work is needed https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html#environments-cfg-rollingdeployments-method
upvoted 15 times
benjl
2 years, 4 months ago
Yes, BCE looks correct to me. You can set sns notification in elastic beanstalk console. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.sns.html
upvoted 5 times
...
benjl
2 years, 4 months ago
I mean notification email address, not the sns.
upvoted 1 times
...
...
auxwww
Most Recent 9 months, 2 weeks ago
Selected Answer: BCE
B C - https://docs.aws.amazon.com/sns/latest/dg/sns-configure-dead-letter-queue.html . D is incorrect because it says Event bridge and AWS Health integration. E - https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html#environments-cfg-rollingdeployments-method
upvoted 1 times
...
failexamonly
1 year, 3 months ago
Selected Answer: BCE
See USalo
upvoted 1 times
...
easytoo
1 year, 11 months ago
bce-bce-bce
upvoted 1 times
...
scottytoohotty
2 years ago
Selected Answer: BCE
Originally thought BDE, but seen this link below so it's BCE, I got confused with CW Events when using codedeploy https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.sns.html
upvoted 1 times
...
asfsdfsdf
2 years, 1 month ago
Selected Answer: BCE
BCE Why not D? 1) D uses health which is not related. 2) Beanstalk already creates a SNS topic just need to update the email address in order to subscribe to it. https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.sns.html
upvoted 1 times
...
okm1997_2
2 years, 1 month ago
Selected Answer: BCE
B - RDS data is critical C - For notification E - rollback
upvoted 1 times
...
Arnaud92
2 years, 1 month ago
Selected Answer: BCE
https://docs.aws.amazon.com/fr_fr/elasticbeanstalk/latest/dg/using-features.managing.sns.html
upvoted 1 times
...
daburahjail
2 years, 2 months ago
Selected Answer: BCE
Not D, as AWS Health is for service-level faults, not deployment issues.
upvoted 5 times
...
daburahjail
2 years, 2 months ago
Selected Answer: BDE
AWS Health is for monitoring service-level faults, and should not alert anything related to failed deployments
upvoted 1 times
...
Mark1000
2 years, 2 months ago
BCE B and E seem to be uncontroversial Regarding C or D, I'll go with C, the reason is that when you generate the beanstalk environment and define in the Notifications section an email, AWS automatically takes care of creating the associated SNS topic and that email as a subscription in pending confirmation status. Once confirmed, when a deployment is done it notifies you of status changes, so if after a deployment or rollback it fails it notifies you of any changes.
upvoted 3 times
...
Mark1000
2 years, 2 months ago
BCE B y E parece que no tienen discusión Con respecto a C o D, me quedo con C, la razón es que cuando generas el entorno de beanstalk y le defines en la sección Notificaciones un correo electrónico, AWS se encarga automáticamente de crear el topic SNS asociado y ese correo como subscripción en estado pending confirmation. Una vez confirmado, cuando se realiza implementación te notifica de los cambios de estado, así que si tras una implementación o rollback falla te notifica
upvoted 1 times
...
speedster
2 years, 2 months ago
Selected Answer: BDE
B and E are obvious. D not C because "To configure which notifications are sent under certain circumstances, you also have other options available. You can use Amazon EventBridge to set up event-driven rules , which notify you when Elastic Beanstalk emits events that meet certain criteria. Alternatively, you can configure your environment to publish custom metrics and set up Amazon CloudWatch alarms to notify you when those metrics reach unhealthy thresholds." Here requirement is only deployment fails https://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/dg/using-features.managing.sns.html#:~:text=To%20configure%20which,reach%20unhealthy%20thresholds.
upvoted 1 times
USalo
2 years, 2 months ago
Why do you need to monitor AWS Health ??? I agree, that you need EventBridge, but why to monitor AWS Health? Even in you link there is no mentioning of AWS Health. AWS Health is completely different service that does not show the deployment status of EB
upvoted 2 times
...
...
Bulti
2 years, 3 months ago
Correct answer is B,C and E. B because RDS data is critical, C because that's the way to send notifications on failed deployment to your email address using Elastric BeanStalk which uses SNS to send notification to your email address abd E because of the ability to rollback to the previous version after a failed deployment
upvoted 4 times
...
saeidp
2 years, 3 months ago
Selected Answer: BDE
I vote for BDE
upvoted 1 times
...
saggy4
2 years, 3 months ago
Selected Answer: BCE
A -- RDS is critical and should not be clubbed with AWS Beanstalk ENV. B -- Correct as RDS should be created separately independent of the BeanStalk ENV. C -- Correct -- You can send alerts for your ENV via adding email address in config https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.sns.html#configuration-notifications-namespace D -- Health monitor will give alerts for all the environments and also not related to Deployments E -- Correct and D -- Incorrect --> Rolling == No automatic Rollback, Immutable == Automatic Rollback.
upvoted 5 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