SAA - Security Flashcards

1
Q

How do you protect objects in your Amazon S3 buckets from deletion or overwrite?

A

Turn on versioning and MFA delete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you secure sensitive data in Amazon EBS volumes?

A

Ensure you turn on EBS encryption when creating the volume.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What AWS service can you use to provide short-term access that acts as temporary security credentials for access to your AWS resources?

A

AWS Security Token Service

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What permissions do IAM identities start with when you create a new user, group, or role?

A

No permissions, all permissions must be explicitly granted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What two types of policies can be attached to an IAM role?

A

Trust policy and permission policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What two main ways are Service Control Policies used?

A
  • To block services by default and then allow certain services. (allow list).
  • Allow by default and block access to certain services (deny list)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some differences between network access control lists and security groups?

A
  • Network ACLs are used with subnets and are used for explicit denies and allows
  • Security groups are used for almost everything else and are simpler because they are stateful, so there are less rules needed to secure your environment
  • Security groups are used with the elastic network interfaces of your Amazon EC2 instances or resources
  • Security groups have an explicit deny, meaning anything not explicitly allowed will be denied
  • Network ACLs are processed in order from the lowest rule number to the highest rule number
  • Network ACLs are stateless and security groups are stateful
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the two types of endpoints that you can create inside your Amazon VPC?

A
  • Gateway Endpoints are used for AWS public services. Sometimes we want to connect to these public services like S3 or DynamoDB from a private instance or subnet that does not have access to the internet or a NAT Gateway setup. Gateway endpoints can be restricted using policies, use routing, and need an entry on the route table.
  • Interface Endpoints are used for everything else, and you have to pick the correct endpoint depending on the AWS services. Interface endpoints use security groups, not policies. They also use DNS with a prefix list.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which AWS service do you integrate to encrypt and rotate all database credentials, API keys, and secrets?

A

AWS Secrets Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which AWS service do you integrate to secure your web application and allow multiple domains to serve SSL traffic over the same IP address?

A

AWS Certificate Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which AWS Directory Service do you implement to access resources both on premises and in AWS using the on premises credentials?

A

AWS Directory Service for Microsoft Active Directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You need to limit the maximum number of requests from a single IP address for your AWS WAF rule. What do you create?

A

A rate-based rule and set the rate limit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly