Advanced Cloud Architecture

Chapter 14
AI, Edge and Emerging Cloud Architectures

Advance Diploma in Cloud Computing
Advanced Cloud Architecture   •   Advance Diploma

AI, Edge and Emerging Cloud Architectures

Introduction and Context

Cloud architecture is changing from a model centred on remotely hosted virtual machines to a distributed computing fabric that places computation, data, and intelligence where they create the greatest technical and business value. Machine learning (ML), generative artificial intelligence (GenAI), edge computing, Internet of Things (IoT), confidential computing, sovereign cloud, WebAssembly, and new serverless models are not isolated trends. They influence how architects design data movement, security boundaries, operating models, cost controls, and reliability.

An AI-enabled cloud platform must support the complete lifecycle of intelligence: collecting data, preparing it, training and evaluating models, registering approved versions, deploying inference services, monitoring behaviour, and safely retiring models. The architecture must also accommodate heterogeneous accelerators, large language models (LLMs), vector search, retrieval-augmented generation (RAG), privacy constraints, and human oversight.

The central architectural question is not simply, “Which cloud service should be selected?” It is: “Where should data and computation reside, under what trust and performance constraints, and how can the resulting system remain secure, explainable, governable, and economically sustainable?”

Learning Objectives

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

  1. Design a cloud architecture for classical ML and generative AI workloads.
  2. Explain data pipelines, feature stores, model registries, accelerators, vector databases, and MLOps.
  3. Select between central cloud, edge, and hybrid deployment using latency, bandwidth, privacy, and reliability criteria.
  4. Apply security controls to models, prompts, data, supply chains, and inference endpoints.
  5. Evaluate confidential computing, sovereign cloud, WebAssembly, and emerging serverless architectures.
  6. Identify responsible-AI, regulatory, operational, and economic risks.

1. Architectural Foundations for AI Workloads

1.1 AI workload characteristics

AI systems differ from conventional transaction systems in several ways:

  • Data intensity: training and evaluation may require large volumes of labelled, multimodal, or time-series data.
  • Accelerated computation: matrix operations benefit from GPUs, tensor-processing units, neural-processing units, and other specialised hardware.
  • Lifecycle complexity: a model is an artefact whose performance can change when data, code, prompts, or dependencies change.
  • Probabilistic output: identical prompts may not always produce identical responses, and a technically available service may still provide inaccurate results.
  • High serving cost: LLM inference can be dominated by accelerator time, memory capacity, token count, and network transfer.
  • Data sensitivity: training data can contain personal, confidential, copyrighted, or regulated information.

A useful reference architecture separates the platform into six logical planes:

  1. Data plane: operational databases, object storage, streams, feature stores, vector stores, and data warehouses.
  2. Compute plane: CPUs, GPUs, AI accelerators, batch clusters, containers, and serverless runtimes.
  3. Model plane: training jobs, model artefacts, registries, evaluation suites, prompt templates, and deployment configurations.
  4. Serving plane: online inference, batch inference, RAG orchestration, gateways, and caching.
  5. Control plane: identity, policy, provisioning, workflow, observability, and release automation.
  6. Governance plane: lineage, consent, audit, risk classification, retention, safety, and compliance.

These planes are logical rather than necessarily separate networks. Their separation helps architects assign ownership and controls.

Logical architecture for an AI cloud platform Data planelake, streams, features Compute planeCPU, GPU, batch, containers Model planetraining, registry, evaluation ServingAPI, RAG, inference Control planeidentity • policy • workflow • observability • release automation Governance plane: lineage, consent, audit, safety and compliance
Logical architecture for an AI cloud platform
Figure: Logical architecture for an AI cloud platform

Figure: Logical planes and information flow in an AI cloud platform.

1.2 Deployment patterns

A centralised cloud pattern places data and inference in a regional or global cloud. It simplifies management and provides elastic accelerators, but may create latency, data-residency, and connectivity concerns. An edge pattern performs some processing near devices or users. A hybrid pattern trains centrally while performing selected inference locally. A federated pattern trains models across sites without moving raw data to a central location; only updates or protected aggregates are exchanged.

The correct pattern depends on requirements rather than fashion. Architects should explicitly record latency targets, maximum data-transfer volume, disconnection tolerance, privacy classification, accelerator availability, operational skills, and recovery objectives.

2. Data Engineering for Machine Learning and GenAI

2.1 The AI data lifecycle

An AI data pipeline normally includes ingestion, validation, transformation, labelling, partitioning, storage, feature or embedding creation, quality monitoring, and retention or deletion. Batch pipelines are suitable for periodic retraining and large historical data. Streaming pipelines are appropriate for fraud detection, industrial telemetry, personalisation, and real-time anomaly detection.

Data quality is multidimensional. Completeness measures missing values; validity checks permitted formats and ranges; consistency compares related sources; timeliness measures freshness; and representativeness assesses whether the data reflects the intended population. A pipeline that is technically available but statistically unsuitable can produce a highly reliable wrong answer.

Training, validation, and test sets must be separated to reduce leakage. Leakage occurs when information unavailable at prediction time enters training, or when related records appear across supposedly independent partitions. Time-dependent problems usually require chronological splits rather than random splits.

2.2 Features, embeddings, and vector databases

A feature is an input variable used by a predictive model. A feature store can provide an offline repository for training and an online repository for low-latency inference. The feature definition, transformation code, point-in-time correctness, ownership, and freshness should be versioned.

An embedding is a numerical vector representing semantic or structural properties of an item. A vector database stores embeddings and supports approximate nearest-neighbour search. A RAG system typically performs the following sequence:

  1. Parse and classify a user request.
  2. Convert the request into an embedding.
  3. Retrieve relevant document chunks using vector, keyword, or hybrid search.
  4. Apply access-control filters and possibly rerank results.
  5. Construct a bounded prompt containing retrieved evidence.
  6. Generate a response and record citations, model version, retrieved identifiers, and policy decisions.

Vector similarity must be interpreted carefully. Cosine similarity between non-zero vectors a and b is:

cos(θ) = (a · b) / (||a|| ||b||)

Here, a · b is the dot product, ||a|| and ||b|| are Euclidean norms, and θ is the angle between vectors. The value is dimensionless and lies between −1 and 1. Cosine similarity is especially useful when direction matters more than magnitude. It is not automatically the best metric; Euclidean distance or inner product may be more suitable depending on the embedding model and index design.

A vector index introduces recall–latency–memory trade-offs. Approximate search is faster than exhaustive comparison but may miss some true neighbours. Retrieval quality should therefore be evaluated with domain-specific queries, access-control tests, and adversarial documents rather than only benchmark scores.

2.3 Data pipeline architecture

Object storage is commonly used as a durable data lake, while a warehouse or lakehouse supports governed analytical access. A catalogue records schemas, ownership, classification, and lineage. Orchestration coordinates dependencies and retries. Quality gates should stop or quarantine data that violates contractual rules.

For GenAI, additional artefacts require governance: document chunking rules, embedding model versions, prompt templates, system instructions, safety filters, and retrieval configurations. Changing any of these can alter behaviour and should trigger evaluation.

3. Accelerated Computing and Model Serving

3.1 Selecting accelerators

CPUs remain appropriate for orchestration, preprocessing, small models, and irregular control flow. GPUs provide high parallel throughput for tensor operations. TPUs and other domain-specific accelerators can offer efficiency for supported workloads. NPUs increasingly support on-device inference. Selection should consider:

  • memory capacity and bandwidth;
  • supported numerical formats and operator libraries;
  • interconnect performance for distributed training;
  • software ecosystem and compiler maturity;
  • availability, procurement, and energy use;
  • utilisation under realistic batch sizes.

Lower numerical precision can improve throughput and reduce memory, but it may reduce accuracy or stability. Quantisation should therefore be validated on representative workloads, not assumed to be harmless.

3.2 Training and inference patterns

Distributed training may use data parallelism, model parallelism, pipeline parallelism, or combinations. Data parallelism replicates a model across devices and partitions batches; it is effective when the model fits on each device. Model parallelism partitions parameters or layers when the model does not fit on one device. Pipeline parallelism divides layers into stages but may introduce pipeline bubbles and scheduling complexity.

Inference can be online, batch, asynchronous, or streaming. Online inference requires predictable latency. Batch inference prioritises throughput and cost. Dynamic batching combines compatible requests, while caching can reduce repeated computation. LLM serving must account for both input and output tokens, context-window limits, time to first token, and time between generated tokens.

A simple capacity estimate is useful for planning. If an inference service receives r requests per second and each request requires t seconds of accelerator time, the idealised accelerator utilisation demand is:

U = r × t

Here, U is accelerator-seconds demanded per second and is dimensionless; r has units requests/second and t has units seconds/request. This estimate ignores queueing, batching, contention, failures, and overhead, so production capacity must include safety margin and load testing.

4. MLOps and AI Platform Operations

MLOps extends DevOps principles to data and models. A robust lifecycle contains:

  1. Experimentation: reproducible environments, tracked parameters, datasets, code commits, and random seeds where relevant.
  2. Validation: data-quality tests, performance tests, bias analysis, robustness tests, security tests, and cost tests.
  3. Registration: signed model artefacts, metadata, licence information, intended use, limitations, and approval status.
  4. Deployment: progressive rollout, shadow testing, canary release, rollback, and policy enforcement.
  5. Monitoring: infrastructure health, latency, cost, data drift, concept drift, output quality, abuse, and safety incidents.
  6. Retirement: revocation, archival, deletion of associated data when required, and replacement communication.

A model registry should distinguish an experimental model from an approved production model. Promotion gates should be automated where possible but should not eliminate accountable human review for high-impact uses.

Data drift is a change in input distribution. Concept drift is a change in the relationship between inputs and the target. Model degradation is a decline in operational performance, which may result from either drift, infrastructure changes, adversarial behaviour, or measurement error. Monitoring should use labelled outcomes when available and proxy indicators when labels are delayed.

For GenAI, conventional accuracy metrics are insufficient. Evaluation may include groundedness, citation correctness, refusal quality, toxicity, privacy leakage, instruction following, hallucination rate, latency, and cost per successful task. Human review remains important for open-ended outputs.

5. Security of Models, Data, and AI Applications

AI security is a systems problem. Controls must protect the training supply chain, datasets, model artefacts, prompts, endpoints, and users.

5.1 Threats

Important threats include:

  • poisoned training or fine-tuning data;
  • malicious or vulnerable dependencies and model packages;
  • extraction of sensitive training information;
  • membership inference and model inversion;
  • prompt injection through user input or retrieved documents;
  • insecure tool invocation by an agent;
  • data leakage through logs, traces, or error messages;
  • denial of service and resource exhaustion;
  • unauthorised model copying or endpoint abuse;
  • supply-chain compromise of containers, plugins, or serving frameworks.

RAG does not automatically make a system trustworthy. Retrieved content is untrusted input and must be treated as data, not as privileged instructions. Tool-using agents require least privilege, explicit allow-lists, validation of arguments, transaction limits, and human approval for consequential actions.

5.2 Controls

A defensible architecture uses strong identity, short-lived credentials, network isolation, encryption in transit and at rest, secrets management, tenant isolation, content filtering, rate limits, quotas, audit logs, and signed artefacts. Sensitive prompts and outputs should be minimised in logs and protected with retention policies.

Security testing should include red teaming, adversarial prompts, retrieval poisoning tests, permission tests, dependency scanning, model provenance checks, and abuse-case analysis. Security controls should be tested after model updates because behaviour can change even when application code does not.

6. Responsible AI and Governance

Responsible AI is not a single algorithmic adjustment. It is a governance system connecting purpose, affected stakeholders, technical controls, organisational accountability, and legal obligations.

Key principles include validity and reliability, safety, security, transparency, explainability where appropriate, privacy, fairness, accountability, and contestability. These principles can conflict. For example, greater model complexity may improve accuracy but reduce explainability; stronger data minimisation may reduce available training information but lower privacy risk.

A practical governance process includes:

  • classify the use case by impact and risk;
  • define a legitimate purpose and prohibited uses;
  • document data provenance, consent, licences, and retention;
  • identify affected groups and potential disparate impacts;
  • establish performance and safety thresholds;
  • conduct pre-deployment impact assessment;
  • provide human escalation and appeal mechanisms;
  • monitor incidents and publish appropriate documentation;
  • maintain an accountable owner and change history.

Compliance obligations vary by jurisdiction and sector. Architects must therefore consult applicable privacy, employment, consumer-protection, safety, intellectual-property, cybersecurity, and AI regulations rather than assuming that a cloud provider’s certification transfers responsibility to the customer. Shared responsibility includes configuration and use, not merely infrastructure security.

7. Edge and IoT Architectures

Edge computing moves selected computation closer to sensors, machines, vehicles, hospitals, retail sites, or users. Its principal advantages are lower round-trip latency, reduced backhaul traffic, local operation during disconnection, and improved data minimisation. Its disadvantages include physical exposure, constrained resources, fragmented deployment, difficult patching, and inconsistent connectivity.

An IoT architecture commonly contains devices, a local gateway, an edge runtime, a regional platform, and central cloud services. Device identity should be unique and cryptographically protected. Secure boot, signed firmware, hardware-backed keys, segmentation, certificate rotation, inventory, and remote attestation reduce risk. Edge nodes should buffer data during outages and reconcile state using explicit conflict policies.

A useful division of responsibility is:

  • device: sensing, immediate control, basic filtering;
  • edge: low-latency inference, protocol conversion, aggregation, local policy;
  • regional cloud: coordination, fleet management, near-real-time analytics;
  • central cloud: large-scale training, historical analytics, governance, and disaster recovery.

Safety-critical control should not depend solely on a distant cloud. Conversely, centralising all logic can make local operation impossible when connectivity fails. The architecture should define degraded modes and safe states before deployment.

8. Confidential Computing and Sovereign Cloud

Confidential computing protects data while it is being processed by using hardware-isolated trusted execution environments (TEEs). Attestation allows a party to verify that approved code is running in an expected environment before releasing secrets. It can reduce exposure to cloud operators and other privileged software, but it does not solve all risks. Vulnerable application code, malicious authorised users, side channels, weak key management, and incorrect attestation policies remain possible.

Confidential AI may protect prompts, datasets, model weights, and intermediate computations. Architects should measure performance overhead, accelerator support, debugging limitations, and evidence quality. Confidentiality should be combined with encryption at rest and in transit, identity controls, and governance.

Sovereign cloud concerns control over data, operations, legal jurisdiction, personnel, technology dependencies, and continuity of service. Data residency is only one dimension. A sovereign requirement may demand locally controlled keys, local administrators, domestic support, independent operational capability, or protection from foreign legal access. Sovereignty is therefore a policy and supply-chain question as well as a hosting-location question.

9. WebAssembly and Emerging Serverless Architectures

WebAssembly (Wasm) is a portable, sandboxed compilation target that can execute code with predictable interfaces and fast startup. In cloud systems, Wasm can support lightweight functions, edge plugins, multi-language components, and tenant isolation. Its strengths include portability, small deployment units, and reduced cold-start time. Limitations include restricted system access, evolving component standards, debugging complexity, and uneven library support.

Emerging serverless systems increasingly combine functions, containers, Wasm components, event brokers, durable workflows, and managed state. The architectural abstraction is moving from “a function per request” toward event-driven applications with durable execution, stateful orchestration, and finer-grained scaling. This can reduce operational work but may increase provider dependence, observability difficulty, and distributed-debugging complexity.

Serverless suitability should be assessed against execution duration, state requirements, event volume, latency variance, networking, compliance, portability, and cost. A fully managed service is not automatically cheaper: charges may arise from invocations, duration, requests, storage, data transfer, and downstream services.

10. Economic and Operational Evaluation

AI architecture must include total cost of ownership rather than accelerator price alone. Relevant components include training, inference, storage, vector indexing, data movement, observability, security controls, support, engineering time, and energy.

For a workload with fixed cost F, variable cost c per request, and n requests, a simple cost model is:

Ctotal = F + n × c

This is an approximation. It assumes constant marginal cost and excludes tiered pricing, idle capacity, failures, and shared-resource allocation. It is useful for comparing alternatives only when the same cost boundaries are used.

Architects should test scenarios rather than rely on a single forecast: low, expected, and peak demand; model-quality changes; regional outages; token growth; and accelerator scarcity. FinOps practices include budgets, labels, chargeback or showback, idle-resource detection, model routing, batching, caching, quantisation, and lifecycle policies.

11. Illustrative Case: Predictive Maintenance for a Distributed Factory

Background

A manufacturer operates 600 machines across four plants. Vibration and temperature sensors produce high-frequency data. The company wants to detect bearing failure early while preventing unsafe automated intervention.

Problem

Sending all raw data to a central cloud is expensive and can create unacceptable latency during network interruptions. The data may also reveal production information that should remain within the plant. A central ML team needs enough historical data to train and compare models.

Analysis

The system has three distinct requirements: immediate local anomaly detection, centralised model development, and reliable governance of devices and models. A single deployment location cannot satisfy all requirements optimally.

Approach and solution

Each plant receives an edge cluster with device identity management, signed update packages, a local message broker, and a small inference model. The edge system filters and aggregates raw vibration data, retaining high-resolution windows only around suspected events. It continues operating during temporary disconnection and enters a safe alert-only mode if model health cannot be verified.

The central cloud stores governed historical data, trains larger models on GPU infrastructure, and maintains the model registry. A pipeline records sensor firmware, feature definitions, training data ranges, model metrics, and approval status. New models are first evaluated offline, then shadowed at one plant, then released by canary to a limited machine population. Operators approve maintenance actions; the model does not directly shut down machinery.

A regional dashboard displays detection latency, alert volume, false-alarm rate, edge connectivity, model versions, and unresolved incidents. Sensitive production metadata is access-controlled, and logs exclude unnecessary raw sensor payloads. Confidential computing is considered for cross-company model evaluation but rejected initially because the chosen edge accelerator lacks adequate TEE support.

Outcome

The hybrid design reduces backhaul traffic, preserves local operation, and allows central retraining. It also makes the safety boundary explicit: the model recommends an inspection, while authorised personnel and existing industrial controls make the final decision.

Learning points

  1. Edge placement should follow latency, resilience, and data-minimisation requirements.
  2. Centralised training and decentralised inference can coexist through MLOps.
  3. Device security and model security are inseparable in IoT systems.
  4. Progressive rollout is safer than simultaneous fleet deployment.
  5. Human authority must remain clear in safety-relevant workflows.

12. Design Method and Best Practices

A repeatable design method is:

  1. Define the business decision, users, affected parties, and unacceptable harms.
  2. Classify data, model, and workload criticality.
  3. Establish latency, availability, recovery, residency, and cost requirements.
  4. Decide what must run on device, edge, regional cloud, or central cloud.
  5. Select storage, accelerators, model patterns, and interfaces.
  6. Design identity, encryption, isolation, attestation, logging, and incident response.
  7. Build reproducible data and model pipelines with approval gates.
  8. Test quality, security, failure modes, drift, accessibility, and economic assumptions.
  9. Deploy progressively with rollback and human escalation.
  10. Monitor outcomes, not only infrastructure metrics, and revise the architecture as evidence changes.

Common anti-patterns include treating a foundation model as a complete application, placing secrets in prompts, allowing retrieved documents to issue privileged instructions, logging all personal content indefinitely, deploying edge devices without an inventory, and measuring only average latency. Strong architectures make assumptions explicit and test them under realistic and adversarial conditions.

Challenges and Limitations

AI cloud architecture remains constrained by accelerator supply, energy consumption, model opacity, data rights, uncertain evaluation, software fragmentation, and rapidly changing regulations. Larger models do not guarantee better domain performance. Vector retrieval can amplify incorrect or unauthorised content. Edge deployments increase operational complexity. Confidential computing may reduce observability and performance. Sovereignty requirements may conflict with global elasticity. Serverless portability is limited when applications depend on proprietary event, identity, and storage services.

The most important limitation is epistemic: system metrics may not fully reveal whether an AI system is serving people fairly, safely, or usefully. Technical monitoring must therefore be complemented by domain experts, affected-user feedback, incident review, and accountable governance.

Chapter Summary

AI cloud architecture combines data engineering, accelerated computing, model lifecycle management, secure serving, and responsible governance. Effective platforms treat data, features, embeddings, prompts, models, and evaluation results as governed production artefacts. MLOps provides reproducibility, controlled promotion, progressive deployment, and monitoring for drift and safety.

Edge and IoT architectures place selected computation near devices to reduce latency, bandwidth use, and dependence on connectivity, while central clouds remain valuable for training, fleet management, and long-term analysis. Confidential computing can protect data during processing, and sovereign cloud addresses jurisdictional and operational control. WebAssembly and durable, event-driven serverless models offer new portability and scaling options but introduce trade-offs in capability, observability, and provider dependence.

A professional architect evaluates these technologies against explicit requirements for performance, resilience, privacy, security, cost, sovereignty, safety, and accountability. The goal is not maximum centralisation or maximum intelligence, but a trustworthy and maintainable distribution of data and computation.

Key Terms

AI accelerator: Hardware specialised for machine-learning operations.

Approximate nearest-neighbour search: An efficient search method that may trade exact recall for lower latency.

Confidential computing: Protection of data during processing using hardware-isolated execution environments.

Concept drift: Change in the relationship between input data and the target outcome.

Data leakage: Unintended use of information in training that would not be available at prediction time.

Data plane: Components that store, transform, transport, or serve workload data.

Edge computing: Processing performed near data sources or users.

Embedding: A numerical vector representation of an item’s semantic or structural properties.

Federated learning: Collaborative model training in which raw data remains at participating sites.

Foundation model: A broadly trained model adaptable to many downstream tasks.

Generative AI: AI that produces content such as text, images, audio, or code.

MLOps: Practices and platforms for operating the ML lifecycle reproducibly and safely.

Model registry: Governed repository for versioned model artefacts and metadata.

Prompt injection: An attempt to manipulate an AI system through crafted instructions in user or retrieved content.

Retrieval-augmented generation: Generation that uses retrieved external information as contextual input.

Sovereign cloud: Cloud architecture designed to satisfy requirements for jurisdictional, operational, and technological control.

Trusted execution environment: Hardware-isolated environment intended to protect code and data during execution.

Vector database: Database optimised for storing embeddings and performing similarity search.

WebAssembly: Portable, sandboxed binary execution format suitable for cloud and edge runtimes.

Review Questions

Short Answer Questions

  1. Why are model artefacts and training datasets versioned in an MLOps platform?
  2. Distinguish data drift from concept drift.
  3. State two advantages and two limitations of edge computing.
  4. What problem does a vector database solve in a RAG architecture?
  5. Why does sovereign cloud involve more than data residency?

Long Answer Questions

  1. Explain the logical planes of an AI cloud platform and describe the responsibilities of each plane.
  2. Compare centralised, hybrid, edge, and federated AI deployment patterns.
  3. Describe an end-to-end MLOps lifecycle, including validation, deployment, monitoring, and retirement.
  4. Analyse the security threats affecting prompts, retrieved documents, model artefacts, and inference endpoints.
  5. Evaluate confidential computing, WebAssembly, and serverless architectures for enterprise AI workloads.

Analytical / Application Questions

  1. A hospital requires low-latency patient-monitoring alerts but cannot send identifiable raw data continuously to a public cloud. Propose a cloud–edge architecture and justify data placement, security controls, model lifecycle, and human escalation.
  2. An organisation’s RAG assistant cites confidential documents from departments to unauthorised users. Analyse the architectural failure and propose controls at ingestion, indexing, retrieval, prompting, serving, and monitoring layers.
  3. A manufacturer must choose between a GPU-backed central inference service and NPU-backed edge inference. Construct a decision framework using latency, connectivity, privacy, accuracy, cost, updateability, and safety criteria.

Multiple Choice Questions with Answers

Question 1

Which component primarily records approved model versions, metadata, and promotion status?

A. Model registry

B. Message broker

C. Vector index

D. Object cache

Correct Answer: A. Model registry

Question 2

In retrieval-augmented generation, what should retrieved document content be treated as?

A. Privileged system instructions

B. Untrusted input requiring filtering and access control

C. Cryptographic credentials

D. An accelerator scheduling command

Correct Answer: B. Untrusted input requiring filtering and access control

Question 3

Which situation most strongly supports edge inference?

A. A workload with no latency or connectivity requirements

B. A workload requiring local operation during network outages

C. A workload requiring only historical batch reporting

D. A workload that must use a single central database

Correct Answer: B. A workload requiring local operation during network outages

Question 4

What does confidential computing primarily protect?

A. Data while it is being processed in an isolated execution environment

B. Only data that has been permanently deleted

C. Only the physical location of a data centre

D. The accuracy of every model prediction

Correct Answer: A. Data while it is being processed in an isolated execution environment

Question 5

Which statement correctly describes concept drift?

A. A change in the relationship between inputs and the target

B. A change in disk capacity

C. A failure to encrypt network traffic

D. A reduction in vector dimensions

Correct Answer: A. A change in the relationship between inputs and the target

Question 6

For non-zero vectors, cosine similarity is based on which relationship?

A. The dot product divided by the product of the vectors’ norms

B. The sum of the vectors’ storage sizes

C. The ratio of requests to seconds

D. The difference between model accuracy and latency

Correct Answer: A. The dot product divided by the product of the vectors’ norms

Question 7

Which control is most appropriate for an agent that can invoke external tools?

A. Unlimited tool permissions

B. Allow-listed tools, argument validation, and least privilege

C. Removal of all audit logs

D. Disabling identity checks

Correct Answer: B. Allow-listed tools, argument validation, and least privilege

Question 8

What is a major purpose of progressive model deployment?

A. To expose every user to a new model immediately

B. To enable controlled testing, monitoring, and rollback

C. To eliminate the need for model evaluation

D. To prevent all model updates

Correct Answer: B. To enable controlled testing, monitoring, and rollback

Question 9

Which characteristic is associated with WebAssembly in cloud and edge systems?

A. Portable sandboxed execution with lightweight deployment units

B. Guaranteed access to every operating-system device

C. Mandatory use of a specific GPU vendor

D. Permanent elimination of provider dependence

Correct Answer: A. Portable sandboxed execution with lightweight deployment units

Question 10

If fixed cost is 200 units, variable cost is 0.50 units per request, and there are 600 requests, what is the approximate total under Ctotal = F + n × c?

A. 300 units

B. 500 units

C. 800 units

D. 1,000 units

Correct Answer: B. 500 units

Advanced Cloud Architecture
Chapter 14 of 15