Network Security Basics

Chapter 14
Cloud, Zero Trust, Automation and Emerging Security

Diploma in Computer Architecture and Networking
Network Security Basics   •   Diploma

Cloud, Zero Trust, Automation and Emerging Security

Introduction

Enterprise computing has moved from protected internal networks toward distributed environments involving public clouds, software-defined networks, remote users, mobile devices, application programming interfaces (APIs), containers, edge systems and third-party services. This change improves scalability and flexibility, but it also changes the security problem. Security boundaries can no longer be identified simply by locating the organisation’s network perimeter.

This chapter examines four connected developments. First, cloud security requires a clear allocation of responsibilities between the cloud provider and the customer. Second, virtual networks and software-defined infrastructure must be protected through identity, segmentation, configuration control and monitoring. Third, zero trust and Secure Access Service Edge (SASE) provide architectural approaches for controlling access in distributed environments. Fourth, automation, artificial intelligence (AI), adversarial AI and post-quantum cryptography are changing both defensive practice and workforce requirements.

The central principle is that modern security depends on continuous verification, secure configuration, observable systems and well-governed automation rather than on a single perimeter device.

Learning Objectives

After completing this chapter, the learner should be able to:

  1. Explain the cloud shared-responsibility model and apply it to common services.
  2. Describe security controls for virtual networks, containers, APIs and cloud identities.
  3. Compare zero trust and SASE and outline a practical implementation plan.
  4. Explain how security orchestration, automation and AI-assisted detection are used responsibly.
  5. Analyse adversarial AI risks, including prompt injection, poisoning and evasion.
  6. Explain the significance of post-quantum cryptography and migration planning.
  7. Identify governance, ethical and workforce implications of emerging security technologies.

1. The Changing Security Environment

Traditional enterprise security assumed that users and systems inside a corporate network were relatively trustworthy, while external traffic was suspicious. Cloud computing weakens this assumption. A user may be working from a home network, an application may run across several cloud regions, and a workload may communicate with a service operated by another organisation.

Several properties make cloud security distinctive:

  • Elasticity: resources are created and removed dynamically.
  • Multi-tenancy: provider infrastructure may host multiple customers.
  • Programmability: infrastructure is configured through APIs and code.
  • Abstraction: customers may not control the physical hosts or network devices.
  • Shared operation: provider and customer responsibilities overlap but are not identical.
  • High velocity: a poorly reviewed template or script can deploy insecure resources rapidly.

The major security objectives remain confidentiality, integrity, availability, authenticity and accountability. However, the controls used to achieve them increasingly involve identity platforms, policy engines, encryption services, security information and event management (SIEM), cloud security posture management and automated response.

2. Cloud Shared Responsibility

The shared-responsibility model states that cloud security is divided between the provider and the customer. The exact division depends on the service model, contract and provider architecture.

Service modelProvider commonly managesCustomer commonly manages
Infrastructure as a Service (IaaS)Facilities, hardware, physical network, hypervisorGuest operating system, applications, identities, data, security groups
Platform as a Service (PaaS)Infrastructure, operating system, runtime platformApplication code, data, access control, secure configuration
Software as a Service (SaaS)Application platform and infrastructureUsers, permissions, data governance, endpoint access and configuration

This table is a general model, not a substitute for a provider’s service-specific documentation. For example, a provider may patch a managed database engine, while the customer remains responsible for database accounts, network exposure, encryption settings and data classification.

2.1 Provider Responsibilities

The provider normally protects the security of the cloud. Responsibilities may include:

  • physical security of data centres;
  • power, cooling and environmental controls;
  • physical servers and storage devices;
  • core networking and hypervisor security;
  • resilience of provider-managed services;
  • vulnerability management for managed components; and
  • evidence of compliance through audits and assurance reports.

Provider controls do not automatically secure customer workloads. A secure data centre cannot prevent a customer from publishing a storage bucket containing confidential records.

2.2 Customer Responsibilities

The customer normally protects security in the cloud. Responsibilities include:

  • selecting appropriate regions and services;
  • configuring identity and access management;
  • protecting credentials, keys and tokens;
  • applying least privilege;
  • securing operating systems and applications where applicable;
  • configuring firewalls, security groups and private endpoints;
  • classifying, encrypting, retaining and deleting data;
  • logging and monitoring relevant activity; and
  • testing recovery and incident-response procedures.

A useful operational question is: “Who can change this control, who monitors it, and who is accountable if it fails?” Responsibility should be documented in a control matrix rather than assumed.

2.3 Cloud Governance Controls

A cloud security programme should establish:

  1. Account and subscription structure: Separate production, development and security administration where practical.
  2. Identity federation: Use a central identity provider, multifactor authentication and short-lived credentials.
  3. Policy as code: Express approved configurations in machine-readable policies.
  4. Baseline templates: Use hardened infrastructure templates and version control.
  5. Continuous assessment: Detect drift from approved configurations.
  6. Data governance: Map data owners, classification, location, retention and legal requirements.
  7. Resilience: Maintain tested backups, restoration procedures and alternative recovery arrangements.
  8. Supplier assurance: Evaluate provider contracts, breach notification, audit rights and service dependencies.

3. Security of Virtual Networks and Cloud Workloads

A virtual network reproduces many functions of a physical network through software. It may include virtual networks, subnets, route tables, security groups, network access control lists, load balancers, private links and virtual appliances.

3.1 Segmentation and Exposure

Segmentation limits the paths available to an attacker. A common design separates public-facing components, application services, databases, administration systems and backup services. Segmentation is not achieved merely by creating subnets; routing rules, identity policies and workload-level firewalls must enforce the intended boundaries.

A practical rule is to deny unnecessary inbound access by default, restrict administrative interfaces to approved management paths and avoid assigning public addresses to internal services. Egress controls are also important because compromised workloads may attempt to download tools or transmit stolen data.

3.2 Virtualisation and Container Risks

Virtualisation introduces risks such as hypervisor vulnerabilities, insecure management interfaces, image tampering and excessive administrative privileges. Containers share a host kernel, so they are not equivalent to complete virtual machines. Important controls include:

  • scanning images before deployment;
  • using trusted registries and signed images;
  • removing unnecessary packages and privileges;
  • running containers as non-root users where possible;
  • restricting host mounts and capabilities;
  • separating build, test and production environments; and
  • monitoring runtime behaviour.

Kubernetes and similar platforms add control-plane, admission, secret-management and role-based access-control concerns. Cluster administrators should restrict API access, protect service-account tokens and review network policies.

3.3 APIs and Machine Identities

Cloud systems are heavily API-driven. API security requires authentication, authorisation, input validation, rate limiting, secure error handling, inventory and monitoring. A valid token does not necessarily prove that a requested action is appropriate; authorisation must consider the identity, resource, action, context and policy.

Machine identities include service accounts, workload identities, certificates, keys and tokens. Long-lived secrets should be avoided where short-lived, automatically rotated credentials are available. Secrets should not be embedded in source code, images, configuration repositories or logs.

4. Zero Trust Architecture

Zero trust is a security model in which no user, device, workload or network location receives implicit trust. Access is granted only after evaluating identity, device state, requested resource, context and policy, and access is continuously reassessed.

Zero trust does not mean that trust is impossible. It means that trust is explicit, limited, evidence-based and capable of being withdrawn.

4.1 Core Principles

The main principles are:

  • verify explicitly;
  • apply least-privilege access;
  • assume breach;
  • protect resources rather than relying on network location;
  • segment systems and reduce lateral movement;
  • collect telemetry for continuous assessment; and
  • automate consistent enforcement where safe.

A zero-trust decision commonly involves a policy engine, which evaluates rules; a policy administrator, which establishes or terminates access; and a policy enforcement point, which permits, limits or blocks communication. The decision may use identity assurance, multifactor authentication, device compliance, location, time, risk signals and data sensitivity.

4.2 Implementation Roadmap

A realistic implementation should proceed incrementally:

  1. Inventory resources and flows. Identify users, devices, applications, APIs, data stores and dependencies.
  2. Define protect surfaces. Prioritise critical applications, sensitive data and administrative functions.
  3. Strengthen identity. Deploy multifactor authentication, federation, privileged-access management and lifecycle automation.
  4. Establish device and workload posture. Check patch level, encryption, endpoint protection and workload identity.
  5. Segment access. Replace broad network access with application-specific policies.
  6. Instrument systems. Collect authentication, endpoint, application, network and data-access events.
  7. Pilot and measure. Begin with a high-value application and test usability, denial rates and incident response.
  8. Expand and govern. Review exceptions, policy effectiveness and third-party access regularly.

Zero trust can fail if implemented as a collection of products without accurate asset inventories, reliable identity data and clear business policies. It can also create excessive friction if every request is challenged without risk-based design.

5. SASE and Secure Distributed Access

Secure Access Service Edge (SASE) is an architectural approach that combines wide-area networking functions with cloud-delivered security services. Typical components include software-defined wide-area networking (SD-WAN), secure web gateways, cloud access security brokers, zero-trust network access and firewall-as-a-service.

SASE places security and connectivity services near users and resources instead of forcing all traffic through a central corporate data centre. This is useful for remote work, branch offices, cloud applications and mobile users.

RequirementRelevant SASE capability
Optimise application connectivitySD-WAN
Filter web trafficSecure web gateway
Control SaaS use and data movementCloud access security broker
Provide application-specific remote accessZero-trust network access
Inspect network trafficFirewall-as-a-service
Apply identity- and context-based rulesCentral policy and identity integration

SASE is not a single product and does not eliminate the need for endpoint security, secure development or governance. Organisations should evaluate provider coverage, inspection limitations, latency, data residency, logging, interoperability, outage handling and exit options.

6. Security Automation and Orchestration

Security automation uses software to perform repeatable actions, while orchestration coordinates actions across tools and teams. A security orchestration, automation and response (SOAR) platform might receive an alert, enrich it with threat intelligence, isolate an endpoint, open a ticket and notify an analyst.

A sound automation process distinguishes among:

  • fully automatic actions: low-risk, reversible actions such as adding context to an alert;
  • approval-based actions: potentially disruptive actions such as disabling an account; and
  • manual actions: high-impact actions requiring human judgement, such as deleting evidence or shutting down a production service.

Automation should include validation, logging, rollback, rate limits and a tested failure mode. An automated rule that misclassifies a legitimate administrator can cause a major outage.

6.1 Detection Metrics

Security teams commonly evaluate detection and response using measures such as:

  • True positive: an alert correctly identifies malicious activity.
  • False positive: an alert incorrectly identifies benign activity.
  • False negative: malicious activity is missed.
  • Precision: the proportion of generated alerts that are true positives.
  • Recall: the proportion of actual malicious events that are detected.

Using counts, precision is TP/(TP+FP) and recall is TP/(TP+FN), where TP is true positives, FP is false positives and FN is false negatives. These measures are meaningful only when the event population, labelling method and time period are defined. In a rare-event environment, a high apparent accuracy can coexist with poor detection performance.

7. AI-Assisted Detection and Adversarial AI

AI and machine-learning systems can support anomaly detection, entity behaviour analytics, malware classification, alert prioritisation, natural-language investigation and security knowledge retrieval. Their value is greatest when they reduce analyst workload while preserving evidence and human accountability.

A responsible AI-assisted detection system should provide:

  • traceable input data and model versions;
  • confidence information and supporting evidence;
  • evaluation against representative benign and malicious data;
  • monitoring for drift and performance degradation;
  • controls against sensitive-data leakage;
  • human review for consequential decisions; and
  • a process for correcting errors and updating models.

7.1 Adversarial Threats

Attackers may target AI systems through:

  • evasion: modifying malicious input to avoid detection;
  • poisoning: inserting misleading training data;
  • prompt injection: manipulating an AI assistant through untrusted instructions;
  • model extraction: inferring model behaviour through repeated queries;
  • data leakage: causing confidential training or contextual data to be revealed;
  • automation abuse: using an AI agent to perform excessive or destructive actions.

AI-generated output must therefore be treated as an input to professional judgement, not as unquestionable fact. Agents should have minimum permissions, bounded tools, approval gates and complete action logs.

8. Post-Quantum Cryptography

Large-scale fault-tolerant quantum computers could threaten widely used public-key systems based on integer factorisation or discrete logarithms, including RSA and elliptic-curve cryptography. Symmetric cryptography is affected differently; larger key sizes can generally provide a security margin, subject to algorithm and implementation choices.

Post-quantum cryptography (PQC) develops classical algorithms intended to resist quantum attacks. Important families include lattice-based, hash-based, code-based and other constructions. Organisations should not replace cryptography casually: algorithms must be selected according to current standards, implementation guidance and vendor support.

The “harvest now, decrypt later” risk is significant for data that is captured today but must remain confidential for many years. Migration planning should therefore begin before practical quantum computers exist.

A PQC readiness programme should:

  1. create a cryptographic inventory;
  2. identify long-lived confidential information;
  3. locate certificates, keys, protocols and libraries;
  4. assess vendors and supply-chain dependencies;
  5. design crypto-agile interfaces;
  6. test hybrid and approved post-quantum mechanisms;
  7. establish key-management and certificate-rotation procedures; and
  8. record migration decisions and residual risks.

The correct response is crypto agility: the ability to replace cryptographic algorithms and parameters without redesigning every application.

9. Governance, Ethics and Regulation

Emerging security systems create governance questions as well as technical opportunities. Organisations must consider privacy, proportionality, accountability, discrimination, explainability, data sovereignty and employment effects.

Examples include:

  • monitoring employee behaviour beyond what is necessary for security;
  • using automated risk scores to deny access without an appeal process;
  • transferring security logs across jurisdictions;
  • retaining personal data longer than required;
  • relying on opaque AI models for disciplinary or legal decisions; and
  • failing to disclose third-party processing of sensitive information.

Security programmes should follow applicable privacy and cybersecurity laws, contractual duties, sector regulations and recognised standards. Controls should be documented, risk-based and periodically reviewed. A governance board should include security, infrastructure, legal, privacy, human resources, procurement and business representatives.

10. Workforce and Professional Practice

Modern security work requires more than knowledge of firewalls. Important capabilities include:

  • cloud identity and access management;
  • infrastructure as code and secure configuration;
  • scripting and API use;
  • incident response and digital forensics;
  • data analysis and detection engineering;
  • secure software and supply-chain practice;
  • risk communication and documentation;
  • privacy and regulatory awareness; and
  • critical evaluation of AI output.

The workforce is also becoming more interdisciplinary. Network professionals must understand application dependencies; cloud engineers must understand threat modelling; and security analysts must communicate with service owners and managers. Continuous learning is essential because cloud services, attack techniques, standards and cryptographic recommendations change rapidly.

Applied Case: Illustrative Regional Health Provider

Background

A fictional regional health provider operates a local data centre, two public-cloud environments and several remote clinics. Staff use a mixture of managed laptops, personal mobile devices and clinical tablets. The organisation has experienced excessive VPN traffic, inconsistent cloud configurations and delayed investigation of suspicious logins.

Problem

The existing design grants broad network access after VPN authentication. A compromised account could reach several internal services. Cloud responsibilities are poorly documented, and a security team receives thousands of low-quality alerts each month.

Analysis

The most important risks are identity compromise, lateral movement, exposed storage, unmanaged devices and insufficient visibility into cloud activity. The provider also stores medical information whose confidentiality must be preserved for many years, creating a need for cryptographic inventory and migration planning.

Approach

The organisation adopts a staged programme:

  1. It inventories applications, data stores, service accounts and network flows.
  2. It enforces multifactor authentication and privileged-access management.
  3. It replaces broad VPN access with application-specific zero-trust access.
  4. It separates clinical, administrative, development and backup environments.
  5. It introduces cloud policy-as-code and continuous configuration assessment.
  6. It centralises identity, endpoint, cloud and application logs.
  7. It automates enrichment and low-risk containment while requiring approval for disruptive actions.
  8. It evaluates AI-assisted alert prioritisation using labelled historical incidents.
  9. It creates a cryptographic inventory and tests approved migration paths.

Outcome

The illustrative organisation reduces unnecessary network exposure, improves accountability for cloud controls and gives analysts higher-quality evidence. It does not claim that zero trust or AI eliminates risk. Instead, risk is reduced through layered controls, measured policies and human oversight.

Learning Points

The case demonstrates that architecture, governance and operations must change together. Buying a SASE service without identity maturity would not solve the problem. Automating response without evidence and rollback could create new risks. Cryptographic migration must begin with inventory rather than with an unplanned algorithm replacement.

Challenges and Limitations

Cloud and zero-trust programmes face several limitations:

  • configuration complexity can create hidden dependencies;
  • central identity systems become high-value targets;
  • continuous verification can affect usability and availability;
  • provider outages and proprietary interfaces create concentration risk;
  • automation can amplify incorrect assumptions;
  • AI systems may be biased, opaque or vulnerable to manipulation;
  • detection metrics may be distorted by incomplete labels; and
  • PQC migration may require hardware, protocol and certificate changes.

These limitations do not invalidate the approaches. They show why implementation must be incremental, evidence-based and supported by testing, governance and fallback procedures.

Best-Practice Checklist

  • Document the provider–customer responsibility boundary for every important service.
  • Use multifactor authentication, least privilege and short-lived machine credentials.
  • Keep sensitive services private and control both ingress and egress.
  • Treat infrastructure and security policy as version-controlled code.
  • Build zero-trust policies around applications, data and context rather than location alone.
  • Evaluate SASE as an architecture and service dependency, not merely as a product purchase.
  • Automate reversible, well-understood tasks first.
  • Preserve evidence and human approval for high-impact decisions.
  • Test AI systems against adversarial input, drift and data leakage.
  • Maintain a cryptographic inventory and plan for crypto agility.
  • Measure outcomes, review exceptions and rehearse incident and recovery procedures.

Chapter Summary

Cloud security is a shared responsibility. Providers protect the underlying cloud infrastructure and managed services, while customers remain responsible for identities, configurations, applications, data and appropriate monitoring. Virtual networks, containers and APIs require segmentation, secure images, protected machine identities and continuous configuration assessment.

Zero trust removes implicit trust based on network location. It uses explicit identity, device, workload and context signals to grant least-privilege access to specific resources. SASE combines cloud-delivered networking and security capabilities to support distributed users and applications, but it must be assessed for coverage, privacy, resilience and provider dependency.

Automation and AI can improve detection and response, yet they can also amplify errors and create new attack surfaces. Human oversight, evidence, access limits, testing and rollback are essential. Post-quantum cryptography requires early inventory and crypto-agile migration because information captured today may need protection against future quantum capabilities. Finally, emerging security demands a workforce able to combine cloud engineering, networking, programming, analysis, governance, privacy and ethical judgement.

Key Terms

Shared responsibility model: Division of cloud security obligations between provider and customer.

Infrastructure as a Service: Cloud service providing virtualised computing, storage and networking resources.

Platform as a Service: Managed application platform on which customers deploy code and data.

Software as a Service: Provider-operated application delivered to customers over a network.

Virtual network: Software-defined network containing virtual subnets, routes and security controls.

Segmentation: Division of systems or traffic into controlled security zones.

Machine identity: Identity assigned to a service, workload, device or automated process.

Zero trust: Security model that grants no implicit trust and continually evaluates access.

Policy engine: Component that evaluates information and determines an access decision.

Policy enforcement point: Component that permits, restricts or blocks an activity.

SASE: Architecture combining cloud-delivered networking and security functions.

SOAR: Security orchestration, automation and response platform.

False positive: Benign activity incorrectly classified as malicious.

False negative: Malicious activity that a detection system fails to identify.

Adversarial AI: Techniques that attack, manipulate or misuse artificial-intelligence systems.

Prompt injection: Malicious instructions placed in input intended to influence an AI system.

Post-quantum cryptography: Cryptographic algorithms designed to resist attacks from quantum computers.

Crypto agility: Ability to replace cryptographic algorithms and parameters with limited redesign.

Policy as code: Machine-readable security or governance rules enforced through automated tools.

Review Questions

Short Answer Questions

  1. What does the cloud shared-responsibility model mean?
  2. Why is a container not automatically equivalent to a virtual machine?
  3. State two principles of zero trust.
  4. What is the difference between security automation and orchestration?
  5. Why is a cryptographic inventory important for post-quantum migration?

Long Answer Questions

  1. Compare provider and customer responsibilities in IaaS, PaaS and SaaS.
  2. Explain a practical zero-trust implementation roadmap for a medium-sized organisation.
  3. Describe the main capabilities and limitations of SASE.
  4. Discuss how AI-assisted detection can improve security operations and how it can fail.
  5. Explain why workforce development and governance are necessary for emerging security technologies.

Analytical / Application Questions

  1. A company gives every VPN-authenticated employee access to all internal applications. Analyse the weaknesses and design a staged zero-trust improvement plan.
  2. A SOAR playbook automatically disables any account associated with a high-severity alert. Evaluate the risks and propose approval, validation and rollback controls.
  3. A hospital must protect medical records for several decades. Develop a high-level post-quantum readiness plan, including inventory, prioritisation, testing and governance.

Multiple Choice Questions with Answers

Question 1

In a typical IaaS arrangement, which responsibility usually remains with the customer?

A. Physical data-centre security

B. Hypervisor maintenance

C. Guest operating-system and application security

D. Cooling and power management

Correct Answer: C. Guest operating-system and application security

Question 2

Which statement best describes zero trust?

A. All internal users are trusted after connecting to the LAN

B. Access is granted based only on IP address

C. No entity receives implicit trust, and access is evaluated explicitly

D. All network traffic is blocked permanently

Correct Answer: C. No entity receives implicit trust, and access is evaluated explicitly

Question 3

Which SASE capability is primarily intended to provide application-specific remote access?

A. Zero-trust network access

B. Disk defragmentation

C. Physical access control

D. Database indexing

Correct Answer: A. Zero-trust network access

Question 4

What is a false negative in security detection?

A. Benign activity classified as malicious

B. Malicious activity missed by the detection system

C. A correctly detected attack

D. A duplicated event record

Correct Answer: B. Malicious activity missed by the detection system

Question 5

Which automation action generally deserves human approval?

A. Adding threat-intelligence context to an alert

B. Formatting an event record

C. Disabling a production administrator account

D. Adding a timestamp to a log

Correct Answer: C. Disabling a production administrator account

Question 6

Which is an example of adversarial AI activity?

A. Updating an approved software inventory

B. Poisoning training data to influence a detection model

C. Rotating a password according to policy

D. Backing up an audit log

Correct Answer: B. Poisoning training data to influence a detection model

Question 7

Why should organisations begin post-quantum planning before large-scale quantum computers exist?

A. Captured encrypted data may be decrypted in the future

B. Quantum computers eliminate all network traffic

C. Symmetric encryption cannot be used today

D. Cloud providers no longer support certificates

Correct Answer: A. Captured encrypted data may be decrypted in the future

Question 8

Which control most directly reduces the risk of exposed cloud storage?

A. Disabling all system logs

B. Reviewing access policies and continuously checking configuration

C. Increasing monitor brightness

D. Allowing anonymous access for testing

Correct Answer: B. Reviewing access policies and continuously checking configuration

Question 9

What is crypto agility?

A. The ability to change cryptographic algorithms without extensive redesign

B. The speed of a network encryption cable

C. A method for deleting all encryption keys

D. A replacement for identity management

Correct Answer: A. The ability to change cryptographic algorithms without extensive redesign

Question 10

Why are short-lived machine credentials preferred over embedded long-lived secrets?

A. They eliminate the need for authorisation

B. They reduce the time available for misuse if compromised

C. They make logs unnecessary

D. They prevent all software vulnerabilities

Correct Answer: B. They reduce the time available for misuse if compromised

Network Security Basics
Chapter 14 of 14