ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 60 - ANS-C01 discussion

Report
Export

A company recently migrated its Amazon EC2 instances to VPC private subnets to satisfy a security compliance requirement. The EC2 instances now use a NAT gateway for internet access. After the migration, some long-running database queries from private EC2 instances to a publicly accessible third-party database no longer receive responses. The database query logs reveal that the queries successfully completed after 7 minutes but that the client EC2 instances never received the response.

Which configuration change should a network engineer implement to resolve this issue?

A.
Configure the NAT gateway timeout to allow connections for up to 600 seconds.
Answers
A.
Configure the NAT gateway timeout to allow connections for up to 600 seconds.
B.
Enable enhanced networking on the client EC2 instances.
Answers
B.
Enable enhanced networking on the client EC2 instances.
C.
Enable TCP keepalive on the client EC2 instances with a value of less than 300 seconds.
Answers
C.
Enable TCP keepalive on the client EC2 instances with a value of less than 300 seconds.
D.
Close idle TCP connections through the NAT gateway.
Answers
D.
Close idle TCP connections through the NAT gateway.
Suggested answer: C

Explanation:

When a TCP connection is idle for a long time, it may be terminated by network devices, including the NAT gateway. By enabling TCP keepalive, the client EC2 instances can periodically send packets to the third-party database to indicate that the connection is still active, preventing it from being terminated prematurely.

asked 16/09/2024
Matt Rider
29 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first