Enterprise Virtual, Cloud, and Wireless Network Protection · Topic 4 of 5

AWS, Azure, GCP and Cloud Security Best Practices

Learn the main security services of AWS, Azure and Google Cloud, plus general cloud security best practices and tools tested on the CND 312-38 exam.

  • 5 min
In a nutshell
  • AWS: IAM, CloudTrail, GuardDuty, Inspector, Macie, KMS, Security Hub.
  • Azure: Entra ID, RBAC, NSG, Defender for Cloud, Sentinel, Key Vault.
  • GCP: Cloud IAM, Cloud Audit Logs, Security Command Center, Cloud KMS, VPC Service Controls.

What it is

Every large cloud provider offers the same families of security services under different names: identity, network filtering, logging, threat detection, key management and posture checks. The CND exam asks you to recognize which service does which job on each platform.

Learn the job first, then the name.

Identitywho can actNetworkwhat can connectDataencryption and keysLoggingwho did whatDetectionalerts and posture

How it works

Security in Amazon Web Services (AWS)

ServiceJob
IAMUsers, groups, roles and policies. Use roles and temporary credentials, and enable MFA on the root account
Security groupsStateful virtual firewall at the instance level
Network ACLsStateless filtering at the subnet level
AWS CloudTrailRecords API calls and account activity
Amazon CloudWatchMetrics, logs and alarms
VPC Flow LogsRecords IP traffic to and from network interfaces
Amazon GuardDutyThreat detection from logs and network activity
Amazon InspectorScans workloads for vulnerabilities
Amazon MacieFinds sensitive data in S3
AWS ConfigTracks configuration and checks it against rules
AWS KMSCreates and controls encryption keys
AWS Security HubCollects findings from many services in one place
AWS WAF and AWS ShieldWeb application firewall and DDoS protection
S3 Block Public AccessPrevents buckets from being made public
AWS OrganizationsAccount structure with service control policies

Security in Microsoft Azure

ServiceJob
Microsoft Entra IDIdentity service (formerly Azure Active Directory), with MFA and Conditional Access
Azure role based access control (RBAC)Controls who can do what on resources
Privileged Identity ManagementJust in time, time limited admin access
Network security groups (NSG)Allow and deny rules for subnets and network interfaces
Azure FirewallManaged network firewall
Azure DDoS ProtectionProtection against volumetric attacks
Microsoft Defender for CloudPosture management and threat protection
Microsoft SentinelCloud SIEM and SOAR
Azure MonitorMetrics and logs, including the activity log
Azure Key VaultStores keys, secrets and certificates
Azure PolicyEnforces rules on how resources are configured

Security in Google Cloud Platform (GCP)

ServiceJob
Cloud IAMRoles and permissions on projects and resources
VPC firewall rulesAllow and deny traffic for instances
Cloud Audit LogsAdmin activity, data access and system event logs
Security Command CenterCentral view of risks, vulnerabilities and threats
Cloud KMSKey management
Secret ManagerStores secrets
VPC Service ControlsA perimeter that reduces the risk of data exfiltration from managed services
Organization PolicyConstraints applied across the resource hierarchy
Cloud ArmorWeb application firewall and DDoS defense

General cloud security best practices and tools

  1. Least privilege. Grant the minimum role, review permissions often, and remove unused accounts.
  2. MFA everywhere. Especially for administrators and the root or global admin account.
  3. No long lived keys in code. Use roles, managed identities and a secrets store.
  4. Encrypt data. At rest and in transit, with managed keys, and rotate them.
  5. Turn on logging. Send audit logs to a protected, separate location and alert on unusual events.
  6. Close the network by default. Allow only needed ports, and use private connectivity for internal services.
  7. Check configuration continuously. Use CSPM and policy rules to find drift.
  8. Patch and scan. Images, workloads and containers.
  9. Back up and test recovery.
  10. Apply Zero Trust. Verify each request, regardless of network location.
Tool typeWhat it does
CSPMPosture and misconfiguration checks
CWPPProtects workloads such as VMs and containers
CASBPolicy enforcement and shadow IT discovery between users and services
CIEMReviews and trims cloud permissions
SIEM and SOARCollect cloud logs, detect and automate response
ScannersOpen source auditing tools such as ScoutSuite and Prowler

A worked example

A security team wants to know who deleted a virtual machine in AWS last night. The right source is CloudTrail, which records API calls with the identity and time. In Azure the equivalent is the activity log in Azure Monitor, and in GCP it is Cloud Audit Logs.

If the team also wants an alert for a stolen credential used from an odd location, a threat detection service such as GuardDuty, Defender for Cloud or Security Command Center would raise it.

How the exam asks about this

  • "Which AWS service records API activity for an account?" → AWS CloudTrail.
  • "Which Azure service is a cloud native SIEM?" → Microsoft Sentinel.
  • "Which GCP service provides a central view of security risks?" → Security Command Center.

What to remember for the exam

  • AWS: IAM, CloudTrail, GuardDuty, Inspector, Macie, KMS, Security Hub.
  • Azure: Entra ID, RBAC, NSG, Defender for Cloud, Sentinel, Key Vault.
  • GCP: Cloud IAM, Cloud Audit Logs, Security Command Center, Cloud KMS, VPC Service Controls.
  • Security groups are stateful, network ACLs are stateless.
  • Least privilege, MFA, encryption, logging and configuration checks apply on every cloud.
Watch out

Do not confuse the activity log (who did what to the control plane) with a threat detection service (which flags suspicious behavior). They answer different questions.

Common mistakes

Mixing up platform names. Learn each service by its job, then match it across clouds.

Leaving logs only on the account that may be attacked. Store audit logs in a separate protected place.

Using the root or global admin account for daily work. Protect it with MFA and keep it for rare tasks.

Check yourself

  • Which AWS service finds sensitive data stored in S3?

    Amazon Macie.

  • What is the difference between a security group and a network ACL in AWS?

    A security group is stateful and works at the instance level, while a network ACL is stateless and works at the subnet level.

  • What does a CASB do?

    It enforces security policy between users and cloud services and discovers shadow IT.

Topic 4 of 5 in Enterprise Virtual, Cloud, and Wireless Network Protection

Test yourself on Enterprise Virtual, Cloud, and Wireless Network Protection

The full EC-Council 312-38 question bank has 800 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by EC-Council. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.