Serverless Computing & Microservices

Chapter 15
AI-Enabled Systems and Emerging Developments

Advance Diploma in Cloud Computing
Serverless Computing & Microservices   •   Advance Diploma

AI-Enabled Systems and Emerging Developments

Introduction

Cloud-native computing is moving beyond stateless application logic toward systems that can perceive, reason, generate content, and act on behalf of users. Artificial intelligence (AI) is therefore becoming an architectural concern rather than merely a feature added to an application. A modern serverless system may invoke a machine-learning model, retrieve enterprise knowledge, call tools, evaluate policy, and produce an auditable response—often within a few hundred milliseconds.

This development creates both opportunities and engineering challenges. AI workloads can be computationally intensive, stateful, data-sensitive, and probabilistic, whereas serverless platforms traditionally emphasize short-lived, stateless, event-driven execution. Designers must therefore select suitable invocation patterns, manage model latency and cost, protect data, monitor quality, and establish controls for autonomous behaviour.

This chapter examines serverless back ends for AI inference and intelligent agents, followed by edge serverless computing, WebAssembly, confidential computing, platform engineering, green computing, autonomous operations, and other emerging cloud-native developments.

Learning Objectives

After completing this chapter, a student should be able to:

  1. Design an event-driven serverless back end for AI inference.
  2. Distinguish model serving, retrieval-augmented generation, and intelligent-agent architectures.
  3. Evaluate latency, cost, scalability, reliability, and quality trade-offs.
  4. Explain the roles of edge serverless, WebAssembly, and confidential computing.
  5. Assess platform engineering and internal developer platforms.
  6. Apply principles of green computing and sustainable cloud design.
  7. Explain autonomous operations and its governance requirements.
  8. Critically evaluate future trends in cloud-native computing.

1. AI Inference in Serverless Architectures

1.1 Training, inference, and serving

AI systems commonly contain three different activities:

  • Training estimates model parameters from data. It is usually compute-intensive, long-running, and suitable for batch platforms, clusters, or specialized accelerators.
  • Inference applies a trained model to new input and produces a prediction or generated output.
  • Serving exposes inference through an operational interface such as an HTTP endpoint, message consumer, or function trigger.

Serverless computing is usually better suited to inference orchestration than to large-scale model training. A function may authenticate a request, validate input, retrieve relevant context, invoke a model endpoint, apply safety checks, and store the result. The model itself may run on a managed AI service, a container platform, or a specialized inference accelerator.

1.2 Reference architecture

A practical serverless AI back end commonly includes:

  1. API gateway for authentication, throttling, routing, and request transformation.
  2. Ingress function for validation, schema enforcement, and request correlation.
  3. Workflow or event bus for coordinating synchronous and asynchronous work.
  4. Model service for inference, accessed through a managed endpoint or private network.
  5. Retrieval service for searching documents or vector representations.
  6. Policy and safety functions for content filtering, authorization, and business rules.
  7. Durable state such as object storage, a database, or a workflow state store.
  8. Observability services for logs, traces, metrics, model-quality indicators, and audit records.

A synchronous design is appropriate when a user requires an immediate response and the total latency is predictable. An asynchronous design is preferable for document processing, batch classification, image analysis, report generation, or requests that may exceed a gateway timeout. In the latter design, the client receives a job identifier and later retrieves the result or receives a notification.

1.3 Latency and cost reasoning

End-to-end latency is not simply model execution time. A useful decomposition is:

Ltotal = Lnetwork + Lqueue + Lstartup + Lpreprocess + Lmodel + Lpostprocess

Here, Ltotal is total response latency; Lnetwork is network transmission latency; Lqueue is waiting time; Lstartup is platform or model cold-start time; Lpreprocess and Lpostprocess are application processing times; and Lmodel is model inference time. The terms have units of time, such as milliseconds. The decomposition assumes that the stages are sequential; parallel stages require a different critical-path analysis.

For a simple serverless function, an approximate execution cost can be represented as:

Ccompute = N × t × m × p

where N is the number of invocations, t is billed execution time, m is allocated memory or compute capacity, and p is the provider price per unit of compute capacity and time. This is a conceptual cost model; actual providers may also charge for requests, networking, storage, provisioned concurrency, model tokens, and data transfer. It should not be used as a provider-specific quotation.

Designers should measure p50, p95, and p99 latency rather than relying only on averages. The p95 value is the latency below which 95% of observations fall. Tail latency is particularly important for interactive AI because occasional cold starts, throttling, large prompts, or overloaded model endpoints can dominate user experience.

1.4 Model selection and operational patterns

Several serving patterns are useful:

PatternAppropriate useMain concern
Managed model APIRapid development and general-purpose generationData governance, vendor dependence, variable cost
Dedicated model endpointPredictable performance and customizationCapacity management and idle cost
Function-local small modelLightweight classification or extractionMemory, startup time, and model size
Batch inferenceLarge volumes with relaxed latencyDelayed results and workflow complexity
Edge inferenceLow-latency or disconnected operationLimited hardware and model footprint

A function should not repeatedly download a large model from object storage for every invocation. Better approaches include managed model endpoints, warm model processes, image-layer caching, or compact models deployed close to the function. However, keeping resources warm increases cost and may conflict with the elasticity expected from serverless computing.

2. Retrieval-Augmented Generation and Intelligent Agents

2.1 Retrieval-augmented generation

Retrieval-augmented generation (RAG) combines information retrieval with generative inference. A typical request follows these steps:

  1. Accept and authenticate the user request.
  2. Convert the request into a search representation, often an embedding.
  3. Retrieve relevant documents or passages from a search or vector store.
  4. Apply authorization filters before exposing retrieved content to the model.
  5. Construct a bounded prompt containing the question and approved context.
  6. Invoke the model.
  7. Validate, cite, filter, and record the response.

RAG can reduce unsupported statements by grounding responses in approved material, but it does not guarantee truth. Poor chunking, stale documents, weak retrieval, prompt injection, or ambiguous source authority can still produce incorrect outputs.

A production RAG pipeline should maintain document provenance, version identifiers, access-control metadata, embedding-model versions, and deletion procedures. Security filtering must occur before retrieval results are placed into a prompt; filtering only the final answer is insufficient.

2.2 Intelligent agents

An intelligent agent is a software system that observes a goal or request, reasons over available information, selects actions, and evaluates results. A serverless agent may contain:

  • a request interpreter;
  • a planning or task-decomposition component;
  • tool adapters for databases, APIs, and business services;
  • a state store;
  • a policy engine;
  • an execution loop; and
  • an evaluator or human approval step.

Agentic systems should be designed as controlled workflows rather than unrestricted loops. Each tool should have a narrow interface, explicit permissions, input validation, rate limits, and an auditable identity. High-impact operations—such as refunds, account deletion, production deployment, or medical decisions—should require human confirmation or a formally approved policy.

An execution budget is useful. It may limit maximum steps, elapsed time, model calls, monetary cost, or tool invocations. Termination conditions should include successful completion, policy violation, repeated failure, timeout, and budget exhaustion. Idempotency keys are essential when retries could otherwise create duplicate side effects.

2.3 Reliability and quality controls

AI output is probabilistic, so conventional uptime is not enough. Relevant measures include:

  • response latency and error rate;
  • retrieval precision and recall;
  • groundedness or citation validity;
  • task success rate;
  • refusal and escalation rate;
  • toxicity, privacy, and policy-violation rate;
  • cost per successful task; and
  • user correction or abandonment rate.

These measures must be interpreted together. A system that reduces refusal rates by generating more answers may simultaneously increase unsafe or unsupported answers. Evaluation should use representative test sets, adversarial cases, regression tests, and production sampling subject to privacy controls.

3. Security, Privacy, and Governance for AI Back Ends

AI-enabled serverless systems inherit ordinary cloud risks and add model-specific risks. Important threats include prompt injection, sensitive-data leakage, insecure tool use, model extraction, poisoned retrieval content, excessive permissions, and inadequate audit trails.

A defence-in-depth design includes:

  • least-privilege identities for every function and tool;
  • encryption in transit and at rest;
  • secret management rather than credentials in prompts or code;
  • tenant isolation and authorization-aware retrieval;
  • input and output classification;
  • network controls for model and data services;
  • immutable or access-controlled audit logs;
  • retention and deletion policies;
  • human review for high-impact decisions; and
  • documented model and data lineage.

Privacy requires purpose limitation, data minimization, retention control, and lawful processing. Sending customer data to a third-party model may create contractual, regulatory, residency, or intellectual-property concerns. Organizations should establish whether prompts and outputs are retained by the provider, whether data is used for model training, and where processing occurs.

AI governance should define ownership, risk classification, approval gates, incident handling, monitoring responsibilities, and change management. A model update, prompt change, retrieval-index update, or tool permission change can alter system behaviour and should be treated as a production change.

4. Edge Serverless Computing

Edge serverless places event processing near users, devices, or data sources rather than exclusively in a centralized region. It can reduce network round trips, enforce location-aware policies, perform personalization, and process data before transmission.

Typical edge tasks include request routing, authentication checks, content transformation, device filtering, lightweight inference, and telemetry aggregation. Heavy model inference may remain in a regional or centralized service, while the edge performs preprocessing or selects the nearest model endpoint.

Edge environments often impose restrictions on memory, execution duration, available libraries, filesystem access, networking, and observability. Distributed deployment also complicates consistency, debugging, data residency, and software rollout. Designers should place only latency-sensitive or bandwidth-sensitive logic at the edge and keep authoritative state in carefully governed stores.

A useful placement decision considers:

QuestionCentral regionEdge location
Is computation heavy?Usually preferableOften constrained
Is latency highly sensitive?May be inadequatePreferable
Is data residency local?May be unsuitablePotentially suitable
Is strong global consistency required?SimplerMore difficult
Is the task stateless and compact?SuitableSuitable

5. WebAssembly as a Cloud-Native Runtime

WebAssembly (Wasm) is a portable, sandboxed binary instruction format. It can execute code compiled from languages such as Rust, C, C++, or Go in environments that provide a Wasm runtime. Compared with a full virtual machine or container, Wasm modules can offer rapid startup, compact deployment artifacts, and strong isolation boundaries, although performance and compatibility depend on the workload and runtime.

In serverless computing, Wasm is attractive for edge functions, plugins, policy evaluation, request transformation, and portable business logic. The WebAssembly System Interface (WASI) provides standardized access to selected system capabilities without granting unrestricted operating-system access.

Wasm is not automatically safer or faster. Risks include vulnerable modules, excessive host permissions, supply-chain compromise, and unsuitable workloads requiring native libraries or GPUs. A production platform should sign modules, scan dependencies, define explicit capabilities, isolate tenants, and test runtime limits.

6. Confidential Computing

Confidential computing protects data while it is being processed by using hardware-backed trusted execution environments (TEEs). Conventional encryption protects data at rest and in transit, but plaintext normally exists in memory during computation. A TEE attempts to protect that memory from unauthorized inspection by the host operating system, hypervisor, or other privileged software.

Remote attestation allows a relying party to verify that a workload is running in an approved environment before releasing secrets. A simplified trust sequence is:

  1. A workload starts inside a TEE.
  2. The platform produces an attestation report describing measured code and configuration.
  3. An attestation service verifies the report.
  4. A key-management service releases secrets only if policy conditions are satisfied.
  5. The workload processes data inside the protected environment.

Confidential computing does not eliminate application vulnerabilities, malicious inputs, poor access control, or incorrect code. It may also introduce performance overhead, restricted debugging, and dependency limitations. For AI, it can help protect sensitive prompts, proprietary models, and regulated datasets, but organizations must verify what parts of the complete inference path are actually protected.

7. Platform Engineering and Internal Developer Platforms

Platform engineering treats the internal cloud platform as a product for development teams. Its purpose is not to hide all infrastructure but to provide safe, reusable, self-service capabilities through a well-designed developer experience.

An internal developer platform may offer:

  • service templates and golden paths;
  • infrastructure provisioning through approved modules;
  • identity, secrets, and policy integration;
  • standardized observability;
  • deployment pipelines and environment promotion;
  • cost and security feedback;
  • serverless and AI service connectors; and
  • documentation and support.

A golden path is a recommended route that makes common tasks easy while allowing justified exceptions. Effective platforms reduce cognitive load and variation without creating a central bottleneck. They should measure developer lead time, deployment frequency, change-failure rate, recovery time, platform adoption, satisfaction, cost visibility, and security findings.

Platform teams must avoid building an abstraction that conceals essential operational facts. Developers still need to understand execution limits, data classification, failure modes, permissions, and cost consequences. A platform should expose these constraints through useful interfaces and automated checks.

8. Green Computing and Sustainable Serverless Design

Green computing seeks to reduce the environmental impact of digital services across manufacturing, operation, and disposal. Serverless can improve utilization through shared infrastructure and elastic scaling, but it is not automatically sustainable. High invocation volume, large models, excessive data movement, and unnecessary retries can increase energy use.

Practical measures include:

  • selecting an appropriately sized model;
  • reducing prompt and response tokens where quality permits;
  • caching repeatable results;
  • batching compatible workloads;
  • eliminating unnecessary polling;
  • choosing efficient data formats and regions;
  • scheduling flexible jobs when lower-carbon capacity is available;
  • reducing cold-start work and oversized dependencies; and
  • measuring both operational cost and environmental indicators.

A basic energy model for a workload can be expressed as:

Etotal = Ecompute + Estorage + Enetwork

where each term represents energy attributable to computation, storage, and networking, measured in watt-hours or joules. This is an accounting model, not a universal physical law; accurate estimation requires provider or facility data and clear allocation assumptions. Carbon impact may be estimated as:

G = Etotal × I

where G is greenhouse-gas emissions, commonly expressed in grams of CO₂-equivalent, Etotal is energy in kilowatt-hours, and I is carbon intensity in grams of CO₂-equivalent per kilowatt-hour. The estimate is meaningful only when the boundary, time period, location, and carbon-intensity source are specified.

Sustainability must be balanced with availability, privacy, latency, and regulatory obligations. Moving computation to a lower-carbon region may violate residency requirements or increase network energy and latency.

9. Autonomous Operations and AIOps

Autonomous operations use telemetry, automation, and sometimes machine learning to detect, diagnose, predict, and remediate operational conditions. A progression is:

  1. Observe: collect logs, metrics, traces, events, and deployment metadata.
  2. Detect: identify threshold breaches, anomalies, or known failure signatures.
  3. Diagnose: correlate symptoms with probable causes.
  4. Recommend: propose a remediation with evidence and confidence.
  5. Act: execute an approved, reversible action.
  6. Learn: evaluate the result and improve rules or models.

Examples include adjusting concurrency, rolling back a faulty deployment, disabling a failing dependency, increasing queue consumers, or routing traffic away from an unhealthy region. Autonomous actions should be bounded by policy, rate limits, blast-radius controls, approval requirements, and automatic rollback.

A closed-loop controller can be conceptualized as a system that measures output, compares it with a target, and adjusts control inputs. In practice, cloud systems contain delays, noisy telemetry, and interacting services. Poorly tuned automation can oscillate—for example, repeatedly scaling up and down—or amplify a failure. Human operators remain essential for novel incidents, ambiguous evidence, and decisions with business or safety consequences.

10. Emerging Cloud-Native Developments

Several developments are likely to influence serverless and microservices engineering:

  • AI-native applications: applications designed around model calls, retrieval, evaluation, and tool use rather than adding AI at the end.
  • Specialized accelerators: GPUs, TPUs, and inference chips exposed through managed services or serverless-like interfaces.
  • Event-driven data products: real-time streams connecting operational systems, analytics, and AI pipelines.
  • Portable runtimes: Wasm and standardized interfaces reducing dependence on a single operating system or cloud provider.
  • Distributed state and durable execution: workflow engines that preserve progress across failures and long-running tasks.
  • Confidential AI: protected processing for sensitive model inputs, weights, and outputs.
  • Policy-as-code: machine-enforced security, compliance, and environmental rules integrated into deployment pipelines.
  • Software supply-chain security: signed artifacts, provenance records, dependency analysis, and reproducible builds.
  • Adaptive infrastructure: platforms that automatically select placement, capacity, and model variants according to latency, cost, and carbon objectives.

These developments do not remove fundamental engineering principles. Clear interfaces, bounded failure domains, observability, least privilege, testing, and responsible governance remain necessary regardless of the runtime technology.

Applied Case: Illustrative Intelligent Claims Assistant

Background

An insurance organization wants an assistant that helps staff summarize claims documents, identify missing information, and suggest next actions. The assistant must not independently reject claims or make legally significant decisions.

Problem

Claims documents contain personal and financial information. Documents arrive unpredictably, some are large scans, and staff require responses within seconds for common questions. A central model API could provide generation, but unrestricted access could expose confidential data or allow the assistant to perform unauthorized actions.

Analysis

The workload contains both asynchronous and synchronous paths. Optical character recognition and document indexing can occur asynchronously after upload. Staff questions require a synchronous response, but retrieval and model calls may occasionally be slow. The assistant also needs tenant-aware authorization, citations, auditability, and human approval for any external communication.

Approach and solution

An object-storage event invokes a serverless workflow. The workflow validates file type, performs malware scanning, extracts text, classifies sensitivity, and stores document versions. A retrieval-indexing function creates searchable segments with claim and permission metadata.

When a staff member asks a question, an API gateway authenticates the request and invokes an ingress function. The function checks the staff member’s claim permissions, retrieves only authorized passages, and calls the model service with a constrained prompt. A validation function checks that cited passages exist and that the response does not contain prohibited recommendations. The response and evidence identifiers are recorded in an audit store.

A separate agent can draft a request for missing documentation, but sending the request requires staff confirmation. Tool adapters cannot alter claim status. Each request has an idempotency key, a maximum number of model calls, and a timeout. Sensitive documents are processed through approved private endpoints, and retention policies delete temporary artifacts.

Outcome

The design separates durable document processing from interactive questioning, limits the authority of the agent, and makes responses traceable. It also permits model replacement without changing the authorization and workflow layers. Remaining risks include incorrect extraction, incomplete retrieval, stale policy documents, and staff overreliance on fluent responses.

Learning points

  1. AI capability should be separated from authorization and business accountability.
  2. Event-driven workflows are suitable for long-running document preparation.
  3. Retrieval must enforce permissions before context reaches the model.
  4. Human approval is appropriate for consequential external actions.
  5. Quality, cost, latency, privacy, and sustainability must be monitored together.

Challenges and Limitations

Serverless AI systems face cold starts, provider quotas, variable model latency, token-based cost, state-management complexity, and difficult local testing. AI introduces non-determinism, changing model behaviour, hallucination, evaluation difficulty, and novel security threats. Edge systems add distribution and consistency problems, while confidential computing can restrict tooling and reduce performance. Platform engineering can become an expensive abstraction project if it lacks user research and measurable outcomes.

There is also a strategic risk of technological dependence. A design tightly coupled to one model API, event format, vector database, or cloud identity system may be difficult to migrate. Portability should be evaluated economically and operationally rather than assumed. Abstraction can reduce switching cost, but excessive abstraction may prevent access to important provider capabilities.

Best-Practice Checklist

  • Use asynchronous workflows for long-running or failure-prone AI tasks.
  • Keep model invocation, authorization, policy, and durable state as explicit components.
  • Enforce tenant permissions before retrieval and prompt construction.
  • Apply least privilege to every tool and function.
  • Use idempotency, retries with limits, timeouts, and dead-letter handling.
  • Measure tail latency, task success, groundedness, safety, and cost per successful task.
  • Maintain model, prompt, retrieval-index, and tool versions.
  • Require human approval for high-impact actions.
  • Sign and scan Wasm modules, containers, models, and dependencies.
  • Treat sustainability as a measurable design objective.
  • Provide platform golden paths without concealing operational constraints.
  • Make autonomous remediation reversible and auditable.

Chapter Summary

AI-enabled cloud-native systems combine serverless orchestration, model inference, retrieval, policy enforcement, durable state, and observability. Serverless functions are particularly valuable for event handling, validation, workflow coordination, and controlled tool use, while model execution may require managed endpoints or specialized accelerators. RAG improves access to enterprise knowledge but requires authorization-aware retrieval, provenance, and evaluation. Intelligent agents must be bounded by permissions, budgets, termination conditions, and human oversight.

Edge serverless reduces latency and supports local processing but introduces resource and consistency constraints. WebAssembly offers portable, sandboxed execution for compact workloads, while confidential computing protects data during processing through trusted execution and attestation. Platform engineering provides reusable developer capabilities through internal platforms and golden paths. Green computing requires measurement of energy, emissions, data movement, and model efficiency. Autonomous operations can improve reliability when actions are bounded, reversible, and observable. Across all emerging developments, security, governance, portability, reliability, and responsible human control remain central engineering responsibilities.

Key Terms

AI inference: Applying a trained model to new input.

Agent: A system that selects actions to achieve a goal using information, tools, and policies.

Attestation: Evidence used to verify the identity and measured state of a protected workload.

Confidential computing: Protection of data while it is being processed, commonly through a trusted execution environment.

Cold start: Initialization delay when a serverless execution environment is created or resumed.

Edge serverless: Event-driven execution located near users or data sources.

Golden path: A recommended, supported route for completing a development or operational task.

Idempotency: The property that repeating an operation produces the same intended effect as performing it once.

Internal developer platform: A product-like platform providing self-service capabilities to development teams.

Intelligent agent: An agent capable of reasoning, planning, tool use, or adaptive action.

Model serving: Operationally exposing a machine-learning model for inference requests.

Observability: The ability to understand system behaviour through logs, metrics, traces, and events.

Policy-as-code: Expressing rules in machine-readable form for automated enforcement.

Retrieval-augmented generation: Generation grounded in information retrieved from an external knowledge source.

Serverless inference: AI inference coordinated or delivered through elastic managed execution services.

Tail latency: High-percentile response latency, such as p95 or p99.

Trusted execution environment: A hardware-supported protected execution area.

WebAssembly: A portable binary instruction format designed for safe, efficient execution.

Workflow orchestration: Coordinating multiple tasks, states, retries, and failure paths.

Review Questions

Short Answer Questions

  1. Distinguish AI training, inference, and serving.
  2. Why is authorization-aware retrieval important in a RAG system?
  3. State two advantages and two limitations of edge serverless computing.
  4. What is remote attestation in confidential computing?
  5. Why should autonomous remediation be reversible?

Long Answer Questions

  1. Explain a complete serverless architecture for an AI inference back end, including security and observability.
  2. Compare managed model APIs, dedicated model endpoints, function-local models, and batch inference.
  3. Discuss how an intelligent-agent architecture should control tools, state, retries, and human approval.
  4. Evaluate the role of platform engineering in managing serverless and AI complexity.
  5. Explain how green computing principles can be applied to AI-enabled cloud systems.

Analytical / Application Questions

  1. Design an event-driven architecture for processing uploaded legal documents and answering authorized staff questions. Identify synchronous and asynchronous components, trust boundaries, and failure controls.
  2. An organization wants to move lightweight fraud detection from a central region to the edge. Analyse the trade-offs involving latency, model updates, privacy, consistency, and observability.
  3. A self-remediating platform repeatedly scales a service up and down during traffic fluctuations. Diagnose possible causes and propose telemetry, control limits, and human-governance measures to prevent oscillation.

Multiple Choice Questions with Answers

Question 1

Which component most directly enforces authorization before retrieved documents are placed into an AI prompt?

A. An authorization-aware retrieval service

B. A response-formatting function

C. A cold-start optimizer

D. A carbon-intensity monitor

Correct Answer: A. An authorization-aware retrieval service

Question 2

Which workload is generally most suitable for an asynchronous serverless workflow?

A. A short health-check request

B. Large-scale document OCR and indexing

C. A low-latency cache lookup

D. A DNS query

Correct Answer: B. Large-scale document OCR and indexing

Question 3

In the latency model Ltotal = Lnetwork + Lqueue + Lstartup + Lmodel, what does Lstartup represent?

A. The model’s training accuracy

B. The time required to initialize the execution environment

C. The number of network packets

D. The storage capacity of the model

Correct Answer: B. The time required to initialize the execution environment

Question 4

What is a principal advantage of WebAssembly in cloud-native systems?

A. It guarantees zero security vulnerabilities

B. It provides portable, sandboxed execution for suitable workloads

C. It automatically supplies unlimited GPU capacity

D. It eliminates the need for authorization

Correct Answer: B. It provides portable, sandboxed execution for suitable workloads

Question 5

What is the primary purpose of remote attestation?

A. To compress model weights

B. To verify that a workload runs in an approved protected environment

C. To increase database replication speed

D. To replace observability

Correct Answer: B. To verify that a workload runs in an approved protected environment

Question 6

Which control is most appropriate for an intelligent agent that can issue financial refunds?

A. Unlimited tool permissions

B. Human approval or a formally approved policy gate

C. Removal of audit logging

D. A larger prompt window

Correct Answer: B. Human approval or a formally approved policy gate

Question 7

Which measure is most relevant when evaluating the user experience of an interactive AI service?

A. Only average monthly storage capacity

B. p95 or p99 response latency

C. Number of source-code comments

D. Physical size of the office

Correct Answer: B. p95 or p99 response latency

Question 8

Which statement best describes platform engineering?

A. Replacing all developers with automation

B. Building a product-like internal platform with reusable self-service capabilities

C. Using only one cloud service for every workload

D. Disabling infrastructure monitoring

Correct Answer: B. Building a product-like internal platform with reusable self-service capabilities

Question 9

If Etotal = 12 kWh and carbon intensity is I = 400 g CO₂e/kWh, what is the estimated emissions using G = Etotal × I?

A. 30 g CO₂e

B. 400 g CO₂e

C. 4,800 g CO₂e

D. 48,000 g CO₂e

Correct Answer: C. 4,800 g CO₂e

Question 10

Which feature is essential for safe autonomous remediation?

A. Irreversible actions without limits

B. Bounded, observable, and reversible actions

C. No incident records

D. Removal of deployment controls

Correct Answer: B. Bounded, observable, and reversible actions

Serverless Computing & Microservices
Chapter 15 of 15