nerdexam
Amazon

SAP-C02 · Question #328

A new application is running on Amazon Elastic Container Service (Amazon ECS) with AWS Fargate. The application uses an Amazon Aurora MySQL database. The application and the database run in the same…

The correct answer is A. Select the ARN D. Ensure the SG allows traffic in the DB F. Amazon Aurora typically involves a cluster of DB instances instead of a single instance. A. https://docs.aws.amazon.com/AmazonECS/latest/userguide/specifying-sensitive-data- cluster endpoint (or writer endpoint) for an Aurora DB cluster connects to the current primary DB instance for that DB cluster…

Submitted by ngozi_ng· Mar 6, 2026Design for New Solutions

Question

A new application is running on Amazon Elastic Container Service (Amazon ECS) with AWS Fargate. The application uses an Amazon Aurora MySQL database. The application and the database run in the same subnets of a VPC with distinct security groups that are configured. The password for the database is stored in AWS Secrets Manager and is passed to the application through the DB_PASSWORD environment variable. The hostname of the database is passed to the application through the DB_HOST environment variable. The application is failing to access the database. Which combination of actions should a solutions architect take to resolve this error? (Choose three.)

Options

  • ASelect the ARN
  • BEnsure that the container has the environment variable with name "DB_PASSWORD" specified
  • CEnsure that the Fargate service security group allows inbound network traffic from the Aurora
  • DEnsure the SG allows traffic in the DB
  • EEnsure that the container has the environment variable with name "DB_HOST" specified with the
  • FAmazon Aurora typically involves a cluster of DB instances instead of a single instance. A

How the community answered

(30 responses)
  • A
    80% (24)
  • B
    3% (1)
  • C
    7% (2)
  • E
    10% (3)

Explanation

https://docs.aws.amazon.com/AmazonECS/latest/userguide/specifying-sensitive-data- cluster endpoint (or writer endpoint) for an Aurora DB cluster connects to the current primary DB instance for that DB cluster. https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.Endpoints.

Community Discussion

No community discussion yet for this question.

Full SAP-C02 Practice