Linux

Chapter 15
Cloud, Edge, AI Workloads and Future Linux

Post Graduate Program in Computer Science Engineering
Linux   •   Post Graduate

15. Cloud, Edge, AI Workloads and Future Linux

Introduction and Context

Linux has moved from being primarily an operating system for servers and workstations to becoming a foundational control layer for cloud platforms, container clusters, edge devices, high-performance computers, artificial-intelligence systems, and specialized infrastructure. Its importance is not based only on its kernel. It arises from the interaction of the kernel with open standards, automation tools, virtualization, containers, observability systems, security frameworks, and a large ecosystem of distributions and communities.

The modern Linux administrator or architect therefore works across several environments. A workload may be developed on a laptop, built in a cloud pipeline, executed in a public-cloud virtual machine, accelerated by a GPU, and partially relocated to an edge site because latency or data-residency requirements make centralized processing unsuitable. The same workload may also need to operate on an immutable operating system, inside a confidential virtual machine, or on a high-performance computing cluster.

This chapter evaluates Linux in these settings. It examines architectural choices rather than treating cloud, edge, artificial intelligence, and high-performance computing as isolated topics. It also considers the direction of Linux development through immutable systems, confidential computing, Rust-based kernel components, AI-assisted operations, and emerging kernel capabilities.

Learning Objectives

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

1. Evaluate Linux as a platform for public-cloud and hybrid infrastructure.

2. Explain the architectural characteristics of edge and high-performance computing environments.

3. Describe how Linux manages GPU, machine-learning, and data-intensive workloads.

4. Compare mutable and immutable operating-system models.

5. Explain the purpose and limitations of confidential computing.

6. Assess the significance of Rust adoption in Linux systems programming.

7. Design a reasoned approach to AI-assisted operations and automation.

8. Identify technical, security, governance, and operational risks in emerging Linux deployments.

Linux as a Control Plane for Cloud and Hybrid Infrastructure

In a public cloud, Linux may appear as a guest operating system inside a virtual machine, as the operating system of a container host, or as part of the provider’s own control infrastructure. The abstraction presented to a customer is usually an instance, container, managed database, serverless function, or platform service. Beneath that abstraction are kernel mechanisms such as namespaces, cgroups, virtual memory, networking, block I/O, scheduling, and device management.

Virtual machines provide stronger isolation boundaries than ordinary processes. A hypervisor presents virtual CPUs, memory, disks, and network interfaces to a Linux guest. Linux then manages the guest resources as if they were physical. This arrangement supports migration, snapshots, elastic provisioning, and heterogeneous operating systems, but it introduces overhead and a second layer of scheduling. A virtual CPU can be delayed both by the guest scheduler and by the hypervisor’s scheduling decisions.

Containers provide operating-system-level isolation. They share the host kernel while using namespaces to isolate process identifiers, mounts, users, network interfaces, and other resources. Control groups limit and account for CPU, memory, I/O, and process consumption. Containers are therefore efficient and quick to start, but the shared kernel means that a kernel vulnerability can have consequences across multiple containers. Containers should not be confused with complete virtual machines.

Cloud architecture is increasingly hybrid. An organization may retain regulated data in a private data centre while using public-cloud capacity for analytics or seasonal demand. Linux is valuable in this model because common tools, distributions, container formats, orchestration platforms, identity mechanisms, and automation frameworks can operate across locations. Nevertheless, portability is not automatic. Differences in kernel versions, storage semantics, CPU architecture, GPU availability, network latency, and cloud-specific services can create operational dependence on a particular provider.

A useful decision model evaluates a workload along five dimensions:

  • Elasticity: whether demand changes sufficiently to justify rapid provisioning.
  • Latency: whether remote execution meets response-time requirements.
  • Data governance: whether data may legally or contractually leave a location.
  • Specialized hardware: whether the workload needs GPUs, FPGAs, large memory, or low-latency networking.
  • Operational control: whether the organization requires direct control of the kernel, hardware, and maintenance schedule.

Linux does not eliminate these trade-offs. It makes them more manageable through automation and standard interfaces.

Essential Cloud Concepts

A Linux-based cloud deployment usually involves an image, an instance or node, a virtual network, an identity mechanism, storage, monitoring, and an automated configuration process. Images should be treated as reproducible artifacts rather than manually modified machines. Infrastructure-as-code tools can describe networks, security groups, instances, policies, and managed services in version-controlled form.

Cloud-init and similar initialization systems can configure a newly created instance, but sensitive data should not be embedded in images or scripts. Secrets should be retrieved through a controlled secret-management service, with short-lived credentials and auditable access.

The Linux kernel’s cgroup hierarchy is particularly significant in cloud-native systems. It enables resource limits and accounting, but resource controls must be interpreted carefully. A memory limit can cause process termination under pressure; a CPU quota can produce throttling; and I/O limits can create queueing that appears to applications as unexplained latency. Effective capacity planning therefore requires observation of both application metrics and kernel-level metrics.

Edge Computing: Moving Linux Closer to Data and Users

Edge computing places computation near the source of data or the user. Examples include industrial controllers, retail systems, telecommunications sites, autonomous machines, and regional content-processing nodes. Edge sites differ from centralized clouds in several ways: connectivity may be intermittent, physical access may be limited, hardware may be heterogeneous, and local resources may be constrained.

Linux is suitable for edge deployments because it supports a wide range of architectures, including x86, ARM, and specialized embedded platforms. It provides mature networking, device support, containers, real-time extensions, and remote administration tools. However, a conventional server-management model is insufficient when hundreds or thousands of small sites must be maintained.

An edge platform should assume that nodes can be disconnected, misconfigured, physically compromised, or replaced. Configuration must be declarative and recoverable. Updates should be signed, staged, and capable of rollback. Local services should continue operating when the central controller is unavailable, while synchronization should resume safely when connectivity returns.

Edge design commonly separates workloads into three categories. Time-critical control functions remain local; near-real-time analytics may execute at a site or regional point of presence; and long-term aggregation and model training may occur in a central cloud or data centre. This division reduces bandwidth consumption and latency but creates consistency and lifecycle challenges.

A central management system should report software versions, hardware identity, security posture, resource use, and application health. It should not assume that a node’s last successful report means that all local processes remain healthy. Local watchdogs, health checks, durable queues, and safe-mode recovery are important complements to central monitoring.

Linux in High-Performance Computing

High-performance computing (HPC) seeks to solve computationally intensive problems by combining many processors, large memory systems, accelerators, and high-speed interconnects. Linux dominates HPC because it can be tuned, automated, and integrated with scientific libraries, schedulers, performance tools, and specialized hardware.

An HPC environment normally includes login nodes, management nodes, storage services, and compute nodes. Users submit jobs through a scheduler rather than launching unrestricted processes on compute nodes. The scheduler allocates resources such as CPU cores, memory, GPUs, and wall-clock time. Workload managers also support queues, priorities, fair-share policies, reservations, and accounting.

Parallel programs use models such as MPI for distributed-memory communication, OpenMP for shared-memory parallelism, and accelerator frameworks for GPUs. Performance depends not only on processor speed but also on memory locality, communication overhead, synchronization, I/O patterns, and the topology of the interconnect. A program that scales well from one node to four nodes may scale poorly to hundreds because communication grows faster than useful computation.

Linux administrators must manage kernel versions, firmware, NUMA configuration, huge pages, CPU frequency policies, device drivers, filesystems, and security controls without undermining reproducibility. Scientific users also require stable software environments. Modules, containers, package environments, and workflow systems can make dependencies explicit, although containers on HPC systems require careful integration with high-speed networks and GPUs.

Performance analysis should distinguish throughput from latency. A batch system may maximize total jobs completed per day while an interactive scientific workflow requires rapid response. Useful measurements include utilization, queue wait time, job completion time, parallel efficiency, memory bandwidth, filesystem throughput, and energy per computation.

GPU and Artificial-Intelligence Workloads on Linux

AI workloads are usually divided into training and inference. Training repeatedly processes large datasets to adjust model parameters and often requires distributed acceleration. Inference applies a trained model to new data and may prioritize latency, cost, throughput, privacy, or energy consumption.

Linux provides the foundation for these workloads through device drivers, memory management, process isolation, filesystems, networking, and container support. GPU execution requires a compatible chain involving firmware, kernel drivers, user-space libraries, accelerator runtimes, mathematical libraries, and the machine-learning framework. A mismatch in any layer can produce failures that appear to be application errors.

GPU resources are not automatically equivalent to CPU resources. A GPU may be assigned exclusively to a process, partitioned into logical instances, shared through a scheduler, or exposed through a container runtime. Isolation quality depends on the hardware and driver model. GPU memory is distinct from ordinary system memory, and data transfers between them can become a major bottleneck.

For a reliable AI platform, engineers should record:

  • driver and firmware versions;
  • kernel and container-runtime versions;
  • accelerator type and allocation policy;
  • model, dataset, and code versions;
  • precision format and batch size;
  • training time, energy use, throughput, and error rates.

Reproducibility is especially difficult when frameworks, drivers, compilers, and hardware change independently. Images should be versioned, dependencies pinned where practical, and model artifacts signed. Data pipelines require access control and provenance because a technically reproducible model can still be legally or ethically unacceptable if its training data cannot be traced.

AI inference at the edge can reduce latency and avoid transferring sensitive data. It also creates constraints involving model size, memory, thermal limits, intermittent connectivity, and update safety. Quantization, pruning, batching, and hardware-specific compilation may reduce resource requirements, but each optimization can affect accuracy or explainability.

Immutable Linux Systems and Operational Reliability

A mutable system is changed in place: packages are installed, configuration files are edited, and updates alter the running environment. This model is familiar but can produce configuration drift and uncertain rollback behavior. An immutable or image-based system treats the base operating system as a versioned artifact. Updates replace the system image, while application data and selected configuration are stored separately.

Immutability does not mean that no process can write to disk. It means that the core operating-system image is not ordinarily modified during routine operation. Atomic updates can make deployment and rollback more predictable. The approach is well suited to cloud nodes, edge devices, container hosts, and large fleets where consistency is more important than local customization.

The model changes administrative practice. Troubleshooting focuses on logs, declarative configuration, image history, and workload state rather than ad hoc package changes. Persistent data must be clearly separated from ephemeral system state. Organizations must also design recovery procedures for failed updates, corrupted local data, unavailable registries, and incompatible application assumptions.

Immutability is not a substitute for security. A vulnerable image remains vulnerable until replaced, and a compromised application can still misuse its permissions. Image signing, provenance, minimal software composition, runtime controls, and rapid revocation remain necessary.

Confidential Computing and Trust Boundaries

Confidential computing seeks to protect data while it is being processed by using hardware-supported trusted execution environments. Conventional encryption protects data at rest and in transit, but plaintext normally exists in memory during computation. A confidential virtual machine or enclave attempts to reduce the ability of a host operator, hypervisor, or unauthorized process to inspect that memory.

The key concepts are:

  • Trusted computing base: the hardware, firmware, hypervisor, kernel, and software that must be trusted.
  • Memory encryption: protection of guest memory against certain forms of physical or privileged observation.
  • Attestation: evidence that a workload is running in an expected environment.
  • Key release policy: a rule that releases secrets only after acceptable attestation evidence is presented.

Confidential computing does not solve every security problem. It may not protect against compromised application code, malicious inputs, side channels, denial of service, poor key management, or all forms of host-level attack. Performance overhead and limited device support may also matter. Organizations should therefore identify exactly which adversary the technology addresses rather than treating it as universal protection.

Rust and the Evolution of Linux Systems Programming

Memory-safety vulnerabilities in low-level software have motivated interest in Rust, a systems programming language that combines low-level control with compile-time ownership and borrowing checks. Rust can prevent many classes of buffer overflows, use-after-free errors, and data races in code that satisfies its safety rules.

The Linux kernel has historically been written largely in C because of its long history, extensive tooling, architecture support, and need for precise control. Rust adoption is gradual and selective. It requires compiler integration, kernel-specific abstractions, maintainers familiar with the language, stable build processes, and clear rules for interaction with existing C code. Not every kernel component is an immediate candidate for rewriting.

Rust does not guarantee that an entire system is safe. Unsafe blocks, firmware, hardware, logic errors, denial-of-service conditions, and vulnerabilities in other languages remain possible. Its value is greatest when applied to new components or carefully chosen subsystems where memory safety is important and interfaces can be clearly defined.

The broader lesson is architectural: security improvements often depend more on boundaries, review, testing, and maintainability than on a single programming language. Rust is a useful addition to the Linux development ecosystem, not a replacement for secure engineering practice.

AI-Assisted Linux Operations

Artificial intelligence is increasingly used in operations for anomaly detection, event correlation, capacity forecasting, incident summarization, and assistance with command or configuration generation. Linux systems produce rich telemetry through logs, kernel counters, tracing frameworks, process statistics, network data, and application metrics.

An AI-assisted operations system should be designed as a decision-support mechanism before it is allowed to perform autonomous remediation. A practical workflow is:

1. Collect and normalize trustworthy telemetry.

2. Establish baselines for normal behavior.

3. Detect anomalies and correlate related events.

4. Present evidence, confidence, and possible causes.

5. Require approval for high-impact actions.

6. Record the action, result, and rollback information.

7. Evaluate false positives, false negatives, and operational outcomes.

Language models can generate commands, but generated commands must be validated in a restricted environment. A plausible command may delete data, weaken permissions, expose secrets, or fail because it misunderstands local configuration. Automation should use least privilege, allowlists, dry runs, explicit change windows, and reversible actions.

AI also introduces governance questions. Logs may contain personal data, credentials, or confidential business information. Training or sending such logs to an external service may violate policy or law. Models can produce confident but incorrect explanations, and operators may become over-reliant on recommendations. Human accountability remains essential for changes affecting safety, availability, privacy, or regulated workloads.

An Integrated Evaluation Framework

A mature Linux architecture evaluates a workload through six connected questions.

Where should it run? Choose cloud, private infrastructure, edge, or HPC according to latency, data location, hardware, elasticity, and control requirements.

What isolation is required? Select processes, containers, virtual machines, confidential virtual machines, or physical separation according to threat models and resource needs.

How will it be reproduced? Use versioned images, declarative configuration, controlled dependencies, signed artifacts, and documented build pipelines.

How will it be observed? Combine application telemetry with kernel, hardware, network, storage, and security signals.

How will it recover? Define rollback, backup, failover, offline operation, replacement, and incident-response procedures before deployment.

Who is accountable? Assign ownership for data, images, models, credentials, kernel updates, policy decisions, and emergency actions.

This framework prevents technology selection from becoming a hardware-first or trend-driven exercise.

Illustrative Case Study: A Distributed Industrial Inspection Platform

Background

A manufacturing organization operates cameras and sensors on several production lines. It wants to detect defects using machine-learning models while keeping production data within its facilities. The organization also wants centralized model training and fleet-wide software management.

Situation and Problem

Sending all video to a public cloud creates bandwidth and privacy concerns. The inspection process must respond within a fraction of a second, but individual factories have intermittent links to the corporate network. Edge computers contain GPUs, yet the operations team has limited experience managing them.

Analysis

The workload is divided into three stages. Image capture and immediate classification require local execution. Aggregated, anonymized metrics can be sent to a central service. Periodic model training can use a controlled HPC or cloud environment. The edge nodes must continue classifying products during network outages.

The main risks are inconsistent software versions, unsafe model updates, GPU-driver incompatibility, theft or tampering with edge hardware, and false classifications that interrupt production. A mutable, manually managed operating system would make fleet-wide recovery difficult.

Approach and Solution

The organization deploys an image-based Linux platform on the edge nodes. The operating-system image, inference runtime, and model package are versioned and signed. Updates are staged on a small group of lines before broader rollout, and each node retains a previous known-good image for rollback.

A container runtime isolates the inference service from management services. Resource controls reserve GPU and CPU capacity for inspection while limiting diagnostic workloads. Local queues retain metrics during disconnection. A central management service records node health, image version, model version, GPU-driver status, and update history.

Training data is transferred only after filtering and authorization. Model artifacts are tested against validation data and production-like workloads before deployment. Operators approve changes that could affect safety or production quality. Confidential-computing features are considered for selected sites where the threat model includes privileged infrastructure operators, but the organization does not assume that these features protect against faulty models or compromised applications.

Outcome

The architecture reduces dependence on continuous connectivity and makes software state visible across the fleet. Rollback limits the impact of defective releases, while centralized training improves model consistency. The organization still must monitor model drift, sensor changes, thermal conditions, and false-positive costs.

Learning Points

The case demonstrates that Linux’s value lies in the combination of kernel capabilities, reproducible images, container isolation, hardware support, telemetry, and governance. Edge AI is not merely a matter of installing a machine-learning framework; it is a lifecycle and reliability problem.

Challenges, Risks, and Common Mistakes

A frequent mistake is assuming that cloud portability means identical behavior everywhere. Kernel interfaces, storage performance, time sources, CPU features, and networking can differ. Another is treating containers as a complete security boundary without considering the shared kernel and runtime configuration.

Resource overcommitment is particularly dangerous for AI and HPC systems. A node may appear to have sufficient CPU capacity while memory bandwidth, PCIe links, GPU memory, or storage throughput become bottlenecks. Monitoring only average utilization can conceal queueing and tail latency.

Edge deployments face physical attack, unauthorized peripherals, insecure boot configurations, and long periods without patching. Immutable images reduce drift but do not remove the need for secure boot, identity management, vulnerability response, and recovery testing.

AI operations can amplify bad telemetry. If logs are incomplete or monitoring agents fail, an automation system may make a confident but incorrect recommendation. Human review, staged action, and detailed audit records are essential.

Migration to newer kernel features or Rust-based components may create compatibility and skills challenges. Organizations should test kernel upgrades against drivers, observability tools, security agents, and workload behavior rather than evaluating the kernel in isolation.

Governance, Ethics, and Professional Practice

Linux infrastructure increasingly processes sensitive data and makes decisions with operational consequences. Governance should define data ownership, retention, location, access, auditability, and incident reporting. AI models require additional controls for dataset provenance, bias evaluation, explainability appropriate to the use case, and model-change approval.

Security responsibilities are shared in cloud environments. A provider may secure physical facilities and parts of the virtualization layer, while the customer remains responsible for guest configuration, identity, applications, data, and permissions. Confusing these responsibilities produces preventable vulnerabilities.

Professional practice also requires transparent change management. Automated systems should identify what they changed, why they changed it, which evidence supported the action, and how it can be reversed. Safety-critical or legally significant decisions should not be delegated to opaque automation without accountable human oversight.

Current Developments and Future Directions

Several developments are shaping future Linux systems. eBPF enables programmable observability, networking, and security functions within controlled kernel execution environments. It can reduce the need for custom kernel modules, although verification, privilege management, and program complexity remain important concerns.

The kernel continues to evolve in scheduling, memory management, I/O, networking, hardware acceleration, and support for heterogeneous processors. As systems combine CPUs, GPUs, neural accelerators, and high-speed storage, resource management will need to become more topology-aware and workload-aware.

Confidential computing is likely to become more integrated with cloud orchestration and attestation-based secret release. Immutable operating systems will continue to grow in fleet environments because they make versioning and rollback easier. Rust adoption may expand gradually as abstractions and development practices mature.

AI-assisted operations will become more capable, but trustworthy automation will depend on high-quality telemetry, constrained permissions, evaluation datasets, and effective rollback. The most valuable future Linux professionals will therefore combine kernel understanding with cloud architecture, security engineering, data governance, and systems thinking.

Best Practices

1. Define workload, threat, latency, and data-governance requirements before selecting a deployment location.

2. Prefer reproducible, signed images and declarative configuration for large or distributed fleets.

3. Separate persistent data from replaceable operating-system state.

4. Version kernels, drivers, firmware, containers, models, and datasets together where compatibility requires it.

5. Measure bottlenecks at CPU, memory, GPU, storage, network, and application levels.

6. Design edge systems for disconnection, replacement, rollback, and physical compromise.

7. Use least privilege and explicit resource controls for containers and AI services.

8. Treat confidential computing as a targeted control for a defined threat model.

9. Introduce AI-assisted remediation gradually, with approval gates and audit trails.

10. Test recovery and rollback procedures under realistic failure conditions.

Chapter Summary

Linux is a central platform for public-cloud, hybrid, edge, HPC, and AI infrastructure because it combines flexible kernel capabilities with extensive tools and hardware support. Cloud deployments rely on virtualization, containers, cgroups, namespaces, automation, and observability, but portability must be evaluated rather than assumed. Edge systems emphasize locality, intermittent connectivity, fleet management, and recovery. HPC systems require schedulers, parallel programming models, high-speed interconnects, and performance analysis.

GPU and AI workloads depend on coordinated drivers, runtimes, hardware, models, data, and reproducible environments. Immutable systems improve consistency and rollback, while confidential computing protects selected data-in-use threat scenarios through hardware-based isolation and attestation. Rust can reduce memory-safety risks in suitable Linux components, but it does not replace broader secure-development practices. AI-assisted operations can improve analysis and response only when telemetry, permissions, human accountability, and rollback are carefully designed.

The future of Linux will be shaped by heterogeneous hardware, eBPF, confidential execution, immutable images, Rust, and intelligent automation. Sound decisions require technical evaluation together with governance, security, ethics, and operational discipline.

Key Terms

Cloud-native infrastructure: Infrastructure designed for elastic, automated, service-oriented workloads, commonly using containers and orchestration.

Hybrid cloud: An architecture combining private infrastructure with one or more public-cloud environments.

Namespace: A Linux isolation mechanism that gives processes separate views of selected system resources.

Control group (cgroup): A Linux mechanism for limiting, accounting for, and organizing resource usage.

Container: An isolated process environment sharing the host kernel.

Edge computing: Processing data near its source or users rather than exclusively in a centralized facility.

High-performance computing: The use of parallel systems and specialized hardware to execute computationally intensive workloads.

MPI: A programming interface for communication among processes in distributed-memory parallel systems.

GPU acceleration: Use of graphics or specialized processors to execute suitable computations in parallel.

Inference: Applying a trained machine-learning model to new input data.

Immutable operating system: A system whose core image is replaced as a versioned artifact rather than routinely modified in place.

Confidential computing: Protection of data during processing through hardware-supported trusted execution environments.

Attestation: Evidence that software is running in an expected hardware or software configuration.

Trusted computing base: Components that must be trusted for a security property to hold.

Rust: A systems programming language emphasizing memory safety through ownership and borrowing rules.

eBPF: A mechanism for safely running verified programs associated with kernel and networking events.

Observability: The ability to infer internal system behavior from metrics, logs, traces, and events.

Infrastructure as code: Management of infrastructure through versioned, declarative or programmatic definitions.

Model drift: Change in data or operating conditions that reduces a deployed model’s performance over time.

Confidential virtual machine: A virtual machine designed to protect guest memory from specified host-level threats.

Review Questions

Short Answer Questions

1. How do namespaces and cgroups support Linux containers?

2. Why are edge systems designed to tolerate network disconnection?

3. Distinguish AI training from AI inference.

4. What is the purpose of attestation in confidential computing?

5. State two benefits and one limitation of immutable Linux systems.

Long Answer Questions

1. Evaluate Linux as a platform for hybrid-cloud infrastructure, including virtualization, containers, automation, and portability concerns.

2. Explain the architectural and operational requirements of a Linux-based HPC environment.

3. Discuss the complete software and hardware chain required to operate reliable GPU workloads.

4. Compare mutable and immutable operating-system models in relation to security, troubleshooting, deployment, and rollback.

5. Explain how Rust adoption may influence Linux security and development while identifying its limitations.

Analytical / Application Questions

1. An organization must process sensitive video within 100 milliseconds, continue operating during network outages, and centrally manage 2,000 sites. Recommend a Linux architecture and justify your choices.

2. A cloud AI service shows low CPU utilization but poor response time. Develop an investigation plan that considers GPU memory, data transfer, storage, scheduling, and observability.

3. Design governance controls for an AI-assisted Linux operations system that is allowed to recommend—but not automatically execute—production changes.

22. Multiple Choice Questions with Answers

Question 1

Which Linux mechanisms most directly provide process isolation and resource control for containers?

A. Namespaces and cgroups

B. Firmware and BIOS profiles

C. MPI and OpenMP

D. Attestation and key release

Correct Answer: A. Namespaces and cgroups

Question 2

Why might an organization place inference at the edge rather than in a public cloud?

A. To eliminate the need for model updates

B. To reduce latency and limit transfer of sensitive data

C. To guarantee that the model is always accurate

D. To avoid using Linux device drivers

Correct Answer: B. To reduce latency and limit transfer of sensitive data

Question 3

Which statement best describes an immutable Linux operating system?

A. No process is permitted to write any data to disk

B. The kernel is permanently fixed and can never be upgraded

C. The core operating-system image is replaced as a versioned artifact

D. All applications must execute directly on bare metal

Correct Answer: C. The core operating-system image is replaced as a versioned artifact

Question 4

What is the primary purpose of attestation in confidential computing?

A. To increase GPU clock speed

B. To prove that a workload is running in an expected environment

C. To compress encrypted memory

D. To schedule HPC jobs fairly

Correct Answer: B. To prove that a workload is running in an expected environment

Question 5

A GPU workload has adequate CPU capacity but poor performance because large tensors are repeatedly copied between system memory and GPU memory. What is the most likely bottleneck?

A. Data-transfer overhead

B. Namespace creation

C. Image signing

D. Filesystem permissions alone

Correct Answer: A. Data-transfer overhead

Question 6

Which statement about Rust in the Linux ecosystem is most accurate?

A. Rust automatically makes every kernel subsystem secure

B. Rust can reduce some memory-safety errors but must coexist with existing code and unsafe operations

C. Rust replaces the need for kernel testing

D. Rust is used only for shell scripting

Correct Answer: B. Rust can reduce some memory-safety errors but must coexist with existing code and unsafe operations

Question 7

Why should AI-assisted Linux remediation normally include approval gates and rollback?

A. AI systems cannot read Linux logs

B. Generated recommendations may be incorrect or cause high-impact changes

C. Rollback is required only for immutable systems

D. Approval gates improve GPU memory capacity

Correct Answer: B. Generated recommendations may be incorrect or cause high-impact changes

Question 8

Which workload characteristic most strongly supports using an HPC scheduler?

A. A single interactive text editor

B. Many resource-intensive jobs requiring controlled allocation of CPUs and GPUs

C. A small static website with no batch processing

D. A personal desktop application

Correct Answer: B. Many resource-intensive jobs requiring controlled allocation of CPUs and GPUs

Question 9

In the industrial inspection case, why were operating-system images and model packages signed?

A. To increase network bandwidth

B. To verify provenance and prevent unauthorized deployment

C. To make models independent of hardware

D. To remove the need for monitoring

Correct Answer: B. To verify provenance and prevent unauthorized deployment

Question 10

Which statement represents a sound approach to cloud portability?

A. Assume identical behavior whenever two systems run Linux

B. Ignore kernel and storage differences because containers remove all variation

C. Evaluate differences in kernels, hardware, storage, networking, and provider services

D. Use only manually configured virtual machines

Correct Answer: C. Evaluate differences in kernels, hardware, storage, networking, and provider services

Linux
Chapter 15 of 15