Implementing Security Management
Chapter 9
Implementing Security Management
IAM, access models, hardening, vulnerability management, and the threats and monitoring practices that hold a cloud environment together — condensed into one field guide, with a few things to click.
$ whoami --role
# Principle of Least Privilege in effect
✓ authenticated · ✓ authorized · ✓ logged
$ scan --target cloud-env --output=cvss
# 4 findings: 1 critical, 1 high, 2 medium
$
Identity and Access Management
Everything in cloud security traces back to knowing who someone is and what they're allowed to touch.
Core IAM topics
- IAM policies
- User and group management
- Account lifecycle management
- Authentication requirements & password policies
- Multifactor Authentication (MFA)
Where it lives in the major clouds
- Microsoft Entra ID
- AWS IAM
- Google Identity Platform
Why "least privilege" is the exam's favorite phrase
Secure Access to Cloud Resources
Admins reach cloud resources through web portals, APIs, SDKs, and CLI tools — each remote path needs its own hardening.
Best practices
- Use SSH key-based authentication instead of passwords
- Restrict RDP access to trusted networks only
- Route administration through a bastion host
- Protect API keys and secrets like passwords, not config
Authorization & Authentication Models
Authorization decides what you can do. Authentication decides who you are. The cloud runs on models for both.
Authorization models
- Mandatory Access Control (MAC)
- Discretionary Access Control (DAC)
- Group-Based Access Control
- Role-Based Access Control (RBAC) — the cloud default
- Rule-Based Access Control
| Common Azure Role | Grants |
|---|---|
| Reader | View resources only |
| Contributor | Manage resources, no access control changes |
| Owner | Full control, including access management |
| Network Contributor | Manage networking resources |
| Virtual Machine Contributor | Manage VMs |
| Backup Operator | Manage backup operations |
Authentication models
- Local authentication
- Directory-based authentication
- Federated authentication — SAML, OpenID Connect, OAuth 2.0
- Token-based authentication
- Multifactor Authentication (MFA)
- Single Sign-On (SSO)
Together, these let a user authenticate once and securely reach multiple cloud services.
Security Controls in the Cloud
Controls that stand between an attacker and your workloads.
Endpoint protection
- Endpoint Detection and Response (EDR)
- Host-based IDS / IPS (HIDS / HIPS)
- Antivirus & host firewalls
Data Loss Prevention (DLP) — three goals
- Identify sensitive data
- Protect data automatically
- Detect exfiltration attempts
| IDS | IPS | |
|---|---|---|
| Action | Detects | Detects and blocks |
| Posture | Passive | Active |
| Behavior | Logs events | Logs and mitigates |
Firewalls & Network Security
Filtering happens at different layers, from raw packets to application logic.
Network ACLs filter on
- Source IP · Destination IP · Protocol · Port number
Web Application Firewalls (WAF)
Protect apps from SQL Injection, XSS, CSRF, and DDoS — using Allow Lists or Deny Lists.
Security Groups
Virtual firewalls at the VM level (AWS Security Groups, Azure NSGs).
Vulnerability Management
A repeatable loop, not a one-time scan.
- Scan — sweep the environment
- Identify — catalog findings against known CVEs
- Assess — score severity with CVSS
- Remediate — patch, script, or reconfigure
| Type | Cloud-native | Third-party |
|---|---|---|
| Scanners | Amazon Inspector, Azure Defender, GCP Container Analysis | Nessus, Burp Suite, Nmap |
Standards to know: CVE (the catalog), CVSS (the score), NVD (the database). Remediation happens via patching, Ansible, scripts, Docker image updates, or configuration management tools.
Common Cloud Threats & Attacks
Most cloud incidents trace back to one of these categories.
Human Error
Outdated Software
Social Engineering
Malware, Ransomware & Cryptojacking
Zombie Resources
Monitoring & Incident Response
Detection tools and the baseline they compare against.
What gets watched
- User activity · Resource deployment changes · Configuration drift · Performance changes
- Tools: AWS CloudWatch, Azure Monitor
Security baseline defines
- Approved OS versions & software · Patch levels · Network configurations · Encryption requirements
| Incident | Response |
|---|---|
| Data breach | Contain, notify, recover |
| Website defacement | Restore from backup |
| DDoS | Filter traffic, contact CSP |
| Virus infection | Reimage affected systems |
Exam Keyword Flashcards
Tap a card to flip it. These are the terms most likely to show up as answer choices.
Quick Self-Check
Four questions pulled straight from the chapter. No pressure — just recall.