Security Flashcards
How to block IP at EC2 Instance level?
“Host based firewall
Linux:iptables,ufw,firewalid
Windows: Windows Firewall”
How to block IP at EC2 in Security group Instance level?
“Using Security group can allow only valid IP & all other will be denied.
Add host based firewall at EC2 instance”
How to block IP at EC2 in Security group with VPC?
“preferably Add WAF to filter IP address or Add NACL & permit only valid address & reject bad address.
Using Security group can allow only valid IP & all other will be denied.
Add host based firewall at EC2 instance”
How to block IP at EC2 in Security group with VPC along with Application load balancer?
“ALB hide end user ip; preferably Add WAF to filter IP address or add NACL before ALB.
Security group & host based firewall is ineffective in this case.”
How to block IP at EC2 in Security group with VPC along with network load balancer?
“NLB do not hide end user IP; So Security group & Host based firewall will be effective.
preferably Add WAF to filter IP address or Add NACL before NLB so that we allow only valid traffic to NLB”
How to block IP at EC2 in Security group with VPC along with ALB & Cloud front?
“Cloud front will hide end user IP & its outside VPC so NACL cant be used;
Add WAF before cloud front to filter IP address .
Security group & host based firewall is ineffective in this case.”
How to block all IP coming from a country?
Cloud Front Geo match feature can block all IP originated from a particular country.
Is KMS is global service?
No KMS is a reginal managed service.
Abbreviation for KMS?
Key Managed Service
What is the use of KMS?
KMS is used to manage security keys which is used to encrypt & decrypt data.
abbreviation for CMK?
Customer managed keys
What is use of CMK?
CMK is the logical representation of a key
Can we transfer CMK from one region to another?
No CMK will never leave the region.
What is the max size of data KMS can encrypt/decrypt?
4KB
What KMS service is charged?
KMS service charged is based on pay per API call?
Can we see audit logs for KMS?
Yes using CloudTrail; we can do audit log for KMS which is delivered to s3.
What is the cryptography standard achieved by KMS service?
FIPS 140-2 level 2