ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 165 - ANS-C00 discussion

Report
Export

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
Answers
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
Answers
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
Answers
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
Answers
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: B, C

Explanation:

Explanation:

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.

asked 16/09/2024
Glen Teis
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first