300-440 practice question 2 of 10
A cloud engineer is setting up a new set of nodes in the AWS EKS cluster to manage database integration with Mongo Atlas. The engineer set up security to Mongo but now wants to ensure that the nodes are also secure on the network side. Which feature in AWS should the engineer use?
Full set: 38 questionsAmazon EKS nodes are Amazon EC2 instances. In AWS, the primary feature for controlling network traffic to and from EC2 instances is the security group. A security group acts as a stateful virtual firewall at the instance level, allowing an engineer to define specific inbound and outbound rules based on protocol, port, and source/destination IP addresses or other security groups. To secure the EKS nodes on the network side, the engineer must configure security groups to permit necessary traffic (e.g., from the control plane, other nodes, or the Mongo Atlas cluster) while denying all other unauthorized access.
A. EC2 Trust Lock: This is not a valid AWS service or feature. It is a distractor term with no official documentation or function within the AWS ecosystem.
C. tagging: Tagging is a metadata mechanism used for organizing resources, managing costs, and implementing resource-level permissions via IAM policies, but it does not provide network traffic filtering.
D. key pairs: Key pairs are cryptographic credentials used to authenticate and securely connect to an EC2 instance (e.g., via SSH), not for controlling network traffic flow.
1. Amazon Web Services (AWS) Documentation. Amazon EKS security group considerations. "Security groups act as a virtual firewall for your cluster's nodes to control inbound and outbound traffic. When you create a cluster, Amazon EKS creates a security group... You can also associate your own security groups to the nodes when you create a managed node group." This directly links security groups to the network security of EKS nodes.
2. Amazon Web Services (AWS) Documentation. Control traffic to resources using security groups. "A security group acts as a virtual firewall for your instance to control inbound and outbound traffic... You can add rules to each security group that allow traffic to or from its associated instances." This defines the fundamental role of security groups for network control.
3. Amazon Web Services (AWS) Documentation. Amazon EC2 key pairs and Linux instances. "Amazon EC2 uses public–key cryptography to encrypt and decrypt login information... To log in to your instance, you must create a key pair." This reference clarifies that key pairs are for authentication, not network traffic control.
Keep practicing
Take the free 300-440 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
