[DEVELOPER] Developer Security Flashcards

ACM, GuardDuty, Inspector, Detective (7 cards)

1
Q

What is AWS Certificate Manager (ACM) primarily used for in application development?

A

Provisioning, managing, and deploying public and private SSL/TLS certificates for integrated services like Load Balancers, CloudFront, and API Gateway.

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

Can an ACM-issued certificate be installed directly on an Amazon EC2 instance?

A

No.

ACM certificates must be deployed on an integrated service (e.g., ALB, CloudFront, API Gateway). For a standalone EC2 server, you would need to import a certificate.

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

When retrieving secrets from Secrets Manager in code, how should developers retrieve the secret value?

A

Do not cache it.

Instead, retrieve the secret programmatically at runtime using the AWS SDK, and configure a client-side or server-side caching strategy if needed.

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

What is Amazon GuardDuty and what are its primary data sources?

A

A threat detection service that continuously monitors for malicious activity and unauthorized behavior.

It analyzes:
- VPC Flow Logs,
- CloudTrail Management Event Logs
- DNS Logs.

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

What is Amazon Inspector used for in a continuous integration/continuous deployment (CI/CD) pipeline?

A

An automated security assessment service that scans EC2 instances for software vulnerabilities and unintentional network exposure, and also scans container images in ECR.

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

When a security issue is flagged by GuardDuty, which service can be used to visually trace and understand the root cause of the issue?

A

Amazon Detective.
It automatically collects log data and uses a graph model to visualize and analyze security findings.

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

What is the pupose of a Cognito Identity Pool?

A

It allows users (authenticated via User Pools or federated) to obtain temporary AWS credentials to directly access other AWS services (like S3 or DynamoDB).

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