Domain 2: Security and Compliance Flashcards

1
Q

You’re hosting a MySQL database on Amazon RDS. Are you responsible for patching the database engine on an RDS database instance or is AWS responsible for this security patching?

A

AWS is responsible for patching on Amazon RDS.

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

You have a database running on EC2. Who would be responsible for patching of the Amazon EC2 instance?

A

You are responsible for the patching of your Amazon EC2 instance.

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

Where can you find information about compliance on AWS?

A

AWS compliance programs such as AWS Artifact, the Security Center, and the AWS Knowledge Center.

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

What AWS service helps to identify an IAM user who deleted an EC2 instance in your production environment?

A

AWS Cloudtrail
Cloudtrail is a service for governance l, compliance, operational auditing, and risk auditing of your AWS account that continuously monitors and retain account activity related to actions across your AWS infrastructure.

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

What are some actions you can perform as the account root user of your AWS account?

A

You can:
• change your account settings
• restore IAM user permissions
• activate access to the AWS Billing and Cost Management console
• register as a seller
•configure an S3 bucket to enable MFA
• close your AWS account
etc.

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

What identity in AWS has associated usernames and passwords?

A

IAM users.

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

What AWS service would you choose if you need to create rules to filter web traffic based on conditions such as IP addresses, HTTP headers, or custom URLs?

A

AWS WAF
helps to control traffic with rules that you define that block common attack patterns like SQL injections or cross-site scripting.

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

Can you conduct security assessments and penetration testing without prior approval against your AWS resources?

A

Yes, but only for certain services.

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

Which AWS service provides a quick and automated way to create and manage AWS accounts?

A

AWS Organizations
offers an API to create and manage AWS accounts. Organizations can control permissions that are available to accounts and can consolidate billing.

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

Which service or feature will enhance the security of access to the AWS Management Console?

A
  1. Multi-factor authentication (MFA)
  2. Complex password requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Company wants to add a virtual firewall to an Amazon VPC. The company wants all instances inside a specific subnet to be automatically covered under its firewall.
Which feature meets these requirements?

A

Network ACLs
used to allow or deny specific traffic to a VPC at the subnet level. They are stateless - info about previously sent or received traffic is not saved. Can associate Network ACLs with multiple subnets, however a subnet can only be associated with one ACL at a time. each subnet in your VPC must have a Network ACL.

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

Company has a new requirement to log actions taken in a production account.
Which AWS service should meet that requirement?

A

AWS CloudTrail
for example log actions taken in the Management Console, CLI, and SDKs.

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

Which AWS service provides managed threat detection that will identify compromised instances and accounts?

A

Amazon GuardDuty
provides continuous monitoring and threat detection services. GuardDuty uses threat intelligence feeds and ML to identify unauthorized and malicious activity within your AWS environment. You can use GuardDuty to identify compromised instances and accounts.

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

What is something the customer is responsible for updating and patching, according to the AWS shared responsibility model?

A

Amazon WorkSpaces virtual Windows desktop.
You can schedule maintenance windows or manually make the update yourself.

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

What is a task that AWS is responsible for in the AWS shared responsibility model for security and compliance?

A

Updating EC2 hardware.

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

What security-related services or features does AWS offer?

A
  1. AWS Trusted Advisor Security Checks
  2. Data encryption
17
Q

What task is the customer’s responsibility for AWS Lambda, according to the AWS shared responsibility model?

A

Encryption of the application data at rest.

Although lambda is fully managed, customers are still responsible for application data. Therefore, customer is responsible for protection and encryption of app data at rest.

18
Q

Which service should someone use to turn on single sign-on (SSO) to the AWS Management Console?

A

AWS IAM Identity Center.

provides you with the ability to manage sign-in security for your workforce users.

19
Q

Which service provides risk auditing by continuously monitoring and logging API requests to resources in an account, which includes user actions in the AWS Management Console and AWS SDKs?

A

CloudTrail

20
Q

What is CloudWatch used for?

A

CloudWatch monitors your AWS resources and the applications that you run on AWS in real time. You can use CloudWatch to collect and track metrics, which are variables that you can measure for your resources and apps.
Can create custom dashboards to display metrics about your custom apps. Can create alarms that watch metrics and send notifications or auto make changes to the resources you’re monitoring when a threshold is breached.

21
Q

During a compliance review, one of the auditors requires a copy of the AWS SOC 2 report.
Which service should be used to submit this request?

A

AWS Artifact

a web service that allows you to download AWS security and compliance documents such as ISO certifications and SOC reports.

22
Q

What is the AWS Health Dashboard?

A

AWS Health provides ongoing visibility into your resource performance and the availability of your AWS services and accounts.
Can use Health events to learn how service and resource changes might affect your apps running on AWS.
Health helps you be aware of and prepare for planned activities.
Delivers alerts and notifications triggered by changes in the health of AWS resources, so you get near-instant event visibility and guidance to help accelerate troubleshooting.

23
Q

Which AWS service uses ML to help discover, monitor, and protect sensitive data that’s stored in S3 buckets?

A

Amazon Macie

24
Q

What is AWS Shield?

A

Shield Standard and Shield advanced are DDoS protection services that operate at the network, transport and application layers.

25
Q

What is Amazon Cognito?

A

Cognito is an identity platform that provides user management and authentication for web and mobile apps. It’s a user directory, an authentication server, and an authorization service for OAuth 2.0 access tokens and AWS credentials.
Can authenticate users from the built in user directory, from your enterprise directory, and from consumer identity providers like Google and Facebook.

26
Q

What is AWS Secrets Manager?

A

a service that helps you manage, retrieve, and rotate database credentials, app credentials, OAuth tokens, API keys and other secrets throughout their lifecycles.

27
Q

What is AWS Certificate Manager?

A

ACM handles the complexity of creating, storing, and renewing public and private SSL/TLS certificates and keys that protect your AWS-based websites and apps.

28
Q

What is a security group?

A

controls the traffic that’s allowed to reach and leave the resources that it’s associated with. (example of a resource is EC2 instances)
VPC come with a default security group (and nw ACL).
stateful if traffic is allowed out, it will be allowed back in.

29
Q

What is Amazon Inspector used for?

A

It’s used to scan AWS workloads for software vulnerabilities and unintended network exposure based on industry standards.
Discovers and scans EC2 instances, container images in ECR, and Lambda functions.

30
Q

What is the purpose of AWS Application Discovery Service?

A

Helps you plan your migration to the AWS cloud by collecting usage and configuration data about your on-premises servers and databases.

31
Q

What is the AWS Directory Service for Microsoft Active Directory?

A

AWS Managed Microsoft AD is a fully managed service that gives you the ability to connect to your existing active directory or to migrate workloads.

32
Q

What is a transit gateway used for?

A

To interconnect your VPC and on-premises networks through a central hub.

33
Q

What is a route table?

A

Contains a set of rules, called routes, that determine where network traffic from your subnet or gateway is directed.

34
Q

What is AWS Config?

A

a service that provides a detailed view of the configuration of AWS resources in your AWS account. This view includes how the resources are related to one another and how they were configured in the past so that you can see how the configurations and relationships change over time.

35
Q

Which AWS service or feature can create and provide temporary credentials for a trusted user to access AWS resources?

A

AWS Security Token Service (STS)