Your website is under attack and a malicious party is stealing large amounts of data. You have default NACL rules. Stopping the attack is the ONLY priority in this case. Which two commands should you use? (Choose two.)
A.
aws ec2 delete-network-acl-entry -network-acl-id acl-5fb84d47 -ingress -rule-number 32768
B.
aws ec2 delete-network-acl-entry -network-acl-id acl-5fb84d47 -egress rule-number 100
C.
aws ec2 delete-network-acl-entry -network-acl-id acl-5fb84d47 -ingress rule-number 100
D.
aws ec2 create-network-acl-entry -network-acl-id acl-5fb84d47 -ingress rule-number 100 -protocol -1 -port-range From =-1,To =-1 -cidr-block 0.0.0.0/0 -rule- action deny
Suggested Answer:BC🗳️
You should remove the default allow rules in your NACL and a default deny will be the only rule left for inbound and outbound. If you attempt to create a rule number 100, it will encounter an error as there is already a rule 100.
Default NACL Inbound and Outbound as below
100 All traffic All All 0.0.0.0/0 Allow
* All traffic All All 0.0.0.0/0 Deny
So delete Inbound and Outbound rule 100 and let * (Default) to the Deny
I just checked the default NACL from the AWS console. there is a deny all entry under rule 100 by default. Rule 100 is permit all. So we just need to remove rule 100 outbound/inbound then it will drop all packets. So D is not needed I think
upvoted 4 times
...
...
This section is not available anymore. Please use the main Exam Page.ANS-C00 Exam Questions
Log in to ExamTopics
Sign in:
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.
CloudArchitect
Highly Voted 3 years, 8 months agoMarty2021
Most Recent 2 years, 11 months agoChauPhan
3 years, 7 months agoChauPhan
3 years, 7 months agoCloudArchitect
3 years, 8 months agoPaagee
3 years, 8 months ago