Read a sample: 1. Read the Security Need Before Choosing a Service
A security question often begins with a problem that sounds urgent: suspicious activity has appeared in an AWS account, a web application is receiving unwanted requests, or a company needs to protect confidential information. Several AWS services may be relevant to the larger situation. The challenge is deciding which one addresses the need the question actually asks about.
That choice becomes easier when you resist the urge to match the first familiar word to a service name. “Security,” “monitoring,” “encryption,” and “protection” are useful clues, but they are broad. A question about suspicious activity and a question about an activity record may describe the same account, yet ask for different outcomes. One seeks a warning; the other seeks evidence.
This chapter gives you a repeatable way to read those scenarios. Before selecting a service, identify four things:
1. The asset: What needs attention or protection?
2. The objective: What security outcome is requested?
3. The evidence: What information would answer the question or support the action?
4. The limits: What does the requested capability not necessarily do?
Think of these as four passes through the same short paragraph. You do not need to write a long analysis during an exam. With practice, the passes become a quick mental checklist.
An asset is the thing involved in the scenario. It might be an AWS account, an application, a database, an encryption key, a credential, or a collection of stored files. Identifying it gives the question a setting, but the asset alone rarely gives you the answer.
Consider a company that stores customer documents in Amazon S3. Any of the following concerns could arise around those documents:
- The company wants to know whether the stored files contain sensitive information.
- It wants to manage keys used to encrypt the files.
- It wants to investigate a suspicious pattern of activity involving the account.
- It wants a record of a particular action taken through the AWS environment.
The asset is related to stored data in every case, but the objectives differ. A service that helps discover sensitive data is not automatically the right choice for managing encryption keys. A record of activity is not the same thing as an assessment that the activity may be malicious.
When reading a scenario, name the asset in ordinary language before reaching for technical detail:
> “The asset is a public web application.”
> “The asset is an encryption key used by an application.”
> “The asset is an AWS account in which someone changed a setting.”
This step prevents you from being distracted by background details. If the question mentions a web application but asks who changed an AWS resource, the application may explain why the investigation matters. The requested answer still concerns evidence of an account action.
The most important clue is often what the organization wants to do.
Does it want to identify, block, record, investigate, encrypt, or manage? Those verbs point toward different categories of security capability. The surrounding story can make several capabilities sound valuable, so look for the final question and the outcome it requests.
Four categories will organize much of this book.
Detection is about recognizing a condition or activity that may need attention. The output is often a finding, alert, or other indication for someone or something to investigate.
A security team might want to identify potentially malicious activity in its AWS environment. The key idea is not merely that an event occurred, but that available information has been analyzed and the activity may warrant concern. Amazon GuardDuty is a service you will study for that kind of threat detection.
Detection does not, by itself, mean that the activity was blocked. A finding can inform a response, and organizations can build or configure responses around findings, but do not assume that a detection service automatically prevents every threat it identifies.
Detection can also refer to other kinds of discovery. Identifying software vulnerabilities, finding sensitive data, and identifying potentially malicious activity are related security goals, but they are not interchangeable. Later chapters separate those needs so that the word “detect” does not become a shortcut to one answer.
Prevention is about applying a control that denies, filters, or otherwise restricts an action. The output the scenario cares about is not simply a warning; it is a changed outcome for the action or request.
For example, a company may want to filter web requests based on rules before they reach its application. AWS WAF is relevant to that web-request filtering need. Other controls operate at different boundaries, such as network traffic controls around resources or subnets.
A preventive control has a scope. A web request rule is not a general answer to every threat, and a network rule is not the same as a detailed web application rule. When a question asks you to prevent something, identify what must be restricted and where the control should act.
Auditing questions ask about evidence of activity or state. They often contain phrases such as “who performed the action,” “what changed,” or “when did it happen?” The desired output might be an activity record or a history of resource configurations.
Suppose an administrator discovers that an AWS resource setting has changed. The team wants to investigate which identity made an API request. That is an activity-evidence question. AWS CloudTrail is relevant because it records AWS account activity as events.
Now change the…