exam questions

Exam AWS Certified Developer Associate All Questions

View all questions & answers for the AWS Certified Developer Associate exam

Exam AWS Certified Developer Associate topic 1 question 14 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 14
Topic #: 1
[All AWS Certified Developer Associate Questions]

A company is using AWS Elastic Beanstalk to deploy a three-tier application. The application uses an Amazon RDS DB instance as the database tier. The company wants to decouple the DB instance from the Elastic Beanstalk environment.
Which combination of steps should a developer lake to meet this requirement? (Choose two.)

  • A. Create a new Elastic Beanstalk environment that connects to the DB instance.
  • B. Create a new DB instance from a snapshot of the previous DB instance.
  • C. Use the Elastic Beanstalk CLI to decouple the DB instance.
  • D. Use the AWS CLI to decouple the DB instance.
  • E. Modify the current Elastic Beanstalk environment to connect to the DB instance.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

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
VivekSolutionArchitect
Highly Voted 2 years, 5 months ago
Correct answer A and B. Reference-https://aws.amazon.com/premiumsupport/knowledge-center/decouple-rds-from-beanstalk/
upvoted 19 times
qiaoli
1 year, 10 months ago
I think creating and using a new db will lead to data loss because snapshot is never latest data; and possibly downtime during the db cut-over.
upvoted 3 times
...
Merrick
2 years, 4 months ago
I cannot find that creating new DB instance from a snapshot(B) in the reference, which is guiding to connect between new EB and old RDS DB instance
upvoted 6 times
...
...
ShiaH
Most Recent 5 days, 5 hours ago
Selected Answer: BE
The task is to decouple the 2-tiers which only requires for one to become independent of the other. So creating a snapshot of the current DB and maintaining the current elastic beanstalk instance for the application, so achieve the goal.
upvoted 1 times
...
avinashk99
1 week, 2 days ago
Selected Answer: BE
Creating a new Elastic Beanstalk environment is not required to decouple the database. The goal is to make the database independent while keeping the current Elastic Beanstalk environment running and connected to the new standalone RDS instance.
upvoted 1 times
...
sumanshu
1 month, 3 weeks ago
Selected Answer: BE
A) Eliminated - Creating a new Elastic Beanstalk environment is not required to decouple the database. The goal is to make the database independent while keeping the current Elastic Beanstalk environment running and connected to the new standalone RDS instance.
upvoted 2 times
sumanshu
1 month, 3 weeks ago
B & E - Correct - After creating the standalone DB instance, the Elastic Beanstalk environment configuration must be updated to connect to the new DB instance. This involves modifying the database endpoint, username, and password in the Elastic Beanstalk environment variables
upvoted 2 times
sumanshu
1 month, 3 weeks ago
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.RDS.html
upvoted 1 times
...
...
...
thucta96dn
3 months, 1 week ago
Selected Answer: B
B. Of course
upvoted 1 times
...
kishkish
11 months, 3 weeks ago
Selected Answer: DE
These two steps that would meet the requirement to decouple the DB instance
upvoted 1 times
...
kishkish
11 months, 3 weeks ago
It would be D,E These two steps that would meet the requirement to decouple the DB instance
upvoted 1 times
...
gilleep_17
1 year ago
a and b
upvoted 1 times
...
AsmaZoheb
1 year ago
Selected Answer: AB
i think so AB for me
upvoted 1 times
...
hulongdou
1 year, 2 months ago
BD, chatGTP 4
upvoted 1 times
...
kyoharo
1 year, 2 months ago
Selected Answer: AB
A,B ** Elastic Beanstalk Migration: Decouple RDS ** 1- Create a snapshot of RDS DB ( as a safeguard) 2- Go to the RDS console and protect the RDS databse from deletion 3- Create a new Elastic Beanstalk environement, without RDS, point your application to existing RDS 4- Perform a CNAME swap (blue/green) or Route 53 updata, confirm working 5- Terminate the old environment (RDS won't be deleted) 6- Delete CloudFormation stack (in deletefailed state)
upvoted 2 times
...
dexdinh91
1 year, 4 months ago
Selected Answer: CD
I think CD are correct answer, no need to create and modify the current app
upvoted 1 times
...
ja1092m
1 year, 5 months ago
Thoughts? https://repos t.aws/knowledge-center/decouple-rds-from-beanstalk
upvoted 1 times
...
ninomfr64
1 year, 5 months ago
Selected Answer: CD
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.db.html#using-features.decoupling-config-files.db:~:text=Follow%20these%20steps%20to%20decouple%20the%20database%20from%20your%20Elastic%20Beanstalk%20environment.%20You%20can%20use%20the%20EB%20CLI%20or%20the%20AWS%20CLI%20to%20complete%20the%20steps Follow these steps to decouple the database from your Elastic Beanstalk environment. You can use the EB CLI or the AWS CLI to complete the steps, thus C and D
upvoted 1 times
...
Magic_Dumpling
1 year, 5 months ago
Selected Answer: DE
Found this in the aws docs: https://aws.amazon.com/about-aws/whats-new/2021/10/aws-elastic-beanstalk-database-decoupling-elastic-beanstalk-environment/ You can now decouple db from the beanstock using console or cli. Means we can decouple the db and change previous configuration to point to the decoupled db.
upvoted 1 times
...
Yasser001
1 year, 7 months ago
Selected Answer: AB
We can protect RDS DB by checking delete protection option. Once DB is protected then delete previous environment and create new one. Connect to old DB.
upvoted 2 times
...
rcaliandro
1 year, 7 months ago
Selected Answer: AB
To be honest I am not hundred percent sure abot this question but I opted for B and E. But, doing some research, it seems that it's not possible to modify the current beanstalk enviroment and we need to create a new one from scratch. So, A and B would make more sense for me. (https://repost.aws/knowledge-center/decouple-rds-from-beanstalk)
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