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

MapMySite is setting up a web application in the AWS VPC. The organization has decided to use an AWS RDS instead of using its own DB instance for HA and
DR requirements.
The organization also wants to secure RDS access.
How should the web application be setup with RDS?

  • A. Create a VPC with one public and one private subnet. Launch an application instance in the public subnet while RDS is launched in the private subnet.
  • B. Setup a public and two private subnets in different AZs within a VPC and create a subnet group. Launch RDS with that subnet group.
  • C. Create a network interface and attach two subnets to it. Attach that network interface with RDS while launching a DB instance.
  • D. Create two separate VPCs and launch a Web app in one VPC and RDS in a separate VPC and connect them with VPC peering.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
A Virtual Private Cloud (VPC) is a virtual network dedicated to the user's AWS account. It enables the user to launch AWS resources, such as RDS into a virtual network that the user has defined. Subnets are segments of a VPC's IP address range that the user can designate to a group of VPC resources based on the security and operational needs.
A DB subnet group is a collection of subnets (generally private) that a user can create in a VPC and assign to the RDS DB instances. A DB subnet group allows the user to specify a particular VPC when creating the DB instances. Each DB subnet group should have subnets in at least two Availability Zones in a given region.
Reference:
http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html

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
amministrazione
8 months, 1 week ago
B. Setup a public and two private subnets in different AZs within a VPC and create a subnet group. Launch RDS with that subnet group.
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: B
DB instance for HA and DR requirements. B - is correct.
upvoted 2 times
...
ggrodskiy
2 years, 7 months ago
DB instance for HA and DR requirements. B - is correct.
upvoted 1 times
...
gondohwe
2 years, 8 months ago
answering that qstn from a security angle i wld go for A
upvoted 1 times
...
RVivek
3 years, 3 months ago
B. Each DB subnet group should have subnets in at least two Availability Zones in a given AWS Region. When creating a DB instance in a VPC, you must choose a DB subnet group https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html A- is in correct . After you create a subnet group how do you choose private subnet to deploy RDS
upvoted 3 times
...
cldy
3 years, 4 months ago
B. Setup a public and two private subnets in different AZs within a VPC and create a subnet group. Launch RDS with that subnet group.
upvoted 4 times
...
sergioandreslq
3 years, 5 months ago
B: reason: DB subnet group is a collection of subnets (generally private) that a user can create in a VPC and assign to the RDS DB instances. A DB subnet group allows the user to specify a particular VPC when creating the DB instances. Each DB subnet group should have subnets in at least two AZs in a given region.
upvoted 1 times
...
FERIN_01
3 years, 5 months ago
A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment. ... ElastiCache uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes.
upvoted 1 times
...
robertomartinez
3 years, 5 months ago
those old questions are impossible, the formulation is very poor and you are always wondering if it's a voluntary mistake or not: it's not testing knowlege but how yo interpret a sh***y question.In real life you'd ask your client to rephrase to clear things out. I agree A or B depending on how you want to read the question concerning the presence of the public subnet in the subnet group.
upvoted 3 times
...
01037
3 years, 7 months ago
B? is the public subnet is also in RDS subnet group? Then RDS instance may exist in the public subnet?
upvoted 4 times
bamjive06
3 years, 6 months ago
I see where you're going with this. So whats your answer then? If they didnt mention HA, I'd have picked A. So B sounds OK - RDS part of private ofcoz... Sarcasm maybe ;)
upvoted 1 times
DashL
3 years, 6 months ago
A The subnets in a DB subnet group are either public or private. They can't be a mix of both public and private subnets. So B is ruled out
upvoted 1 times
...
...
...
viet1991
3 years, 7 months ago
B. Setup a public and two private subnets in different AZs within a VPC and create a subnet group. Launch RDS with that subnet group.
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