Ends in
00
days
00
hrs
00
mins
00
secs
SHOP NOW

Get $4 OFF in AWS Solutions Architect & Data Engineer Associate Practice Exams for $10.99 each ONLY!

Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Solutions Architect Professional There’s a glitch in the Matrix

  • There’s a glitch in the Matrix

  • Stresco

    Member
    February 2, 2024 at 7:16 am

    The following question has the same answer listed twice #1 and #6. I chose #1 and got the question wrong because #6 was the “right” answer :/

    9. Question

    A company is running a stateless application on Amazon ECS with AWS Fargate. The Fargate cluster runs behind an Application Load Balancer (ALB) that serves internet traffic. The Amazon Aurora MySQL database cluster is on a private subnet in the same VPC. To connect to the database, the database hostname is passed to the application using the DB_HOST environment variable. The database password is encrypted in AWS Secrets Manager and is passed to the application using the DB_PASSWORD environment variable. Upon running the Fargate tasks, the application was unable to access the database.

    Which of the following actions should be taken in order to resolve this issue? (Select THREE.)

    #1 Ensure that the “DB_HOST” environment variable is configured with the hostname of the Aurora database instance endpoint.
    #2 Set the “DB_PASSWORD” environment variable as “ValueFrom” with the secret name from AWS Secrets Manager.
    #3 Set the “DB_PASSWORD” environment variable as “ValueFrom” with the ARN of the secret from AWS Secrets Manager.
    #4 Configure the Aurora MySQL database security group to allow inbound traffic from the AWS Fargate cluster on the TCP port 3306.
    #5 Configure the AWS Fargate cluster security group to allow inbound traffic from the Amazon Aurora MySQL cluster on the TCP port 3306.
    #6 Ensure that the “DB_HOST” environment variable is configured with the hostname of the Aurora database cluster endpoint.

  • Nikee-TutorialsDojo

    Administrator
    February 2, 2024 at 8:53 am

    Hi Stresco,

    Thank you for your posting here. After reviewing the options, I can confirm that all of them are correct and distinct from each other. However, please take note that the first option specifies to configure the “DB_Host” environment variable with the hostname of the Aurora database instance endpoint, while the other option instructs to configure it with the hostname of the Aurora database cluster endpoint.

    Therefore, one of the correct answers is the option “Ensure that the “DB_HOST” environment variable is configured with the hostname of the Aurora database cluster endpoint.” since this is the main endpoint that accepts read/write connections.

    Hope this clarifies any confusion.

    Regards,

    Nikee @ Tutorials Dojo

Viewing 1 - 2 of 2 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now