Skip to content
NVIDIA AI Model and Application Development Associate (NCA-AMAD) Exam Prep

Lesson 8 of 8 · 11 min

x
8/8

Sizing and Configuration (10%)

Video lesson: NCA-AMAD Domain 8: Sizing and Configuration

Official exam topics: exam-guide/nca-amad-exam-page.md ("Sizing and Configuration"). NVIDIA defines this area as model lifecycle management, AI monitoring concepts and metrics, AI Factory operations, compute parameters and sizing for AI workloads, and observability components for deployed systems. Expect how many GPUs or replicas, which parameter to change, which metric shows the problem, when to retrain, what belongs in a runbook scenarios. The reading list: Mastering LLM Techniques: Inference Optimization, Optimizing Inference Efficiency for LLMs at Scale with NIM, Maximizing GPU Utilization with NVIDIA Run:ai and NIM, data flywheels with NeMo microservices, NVIDIA Cloud Functions control plane, observability and telemetry docs from NVIDIA reference designs, NVIDIA DSX AI-factory playbook, and NV-Tesseract-AD anomaly detection. Inference metrics (TTFT, ITL, throughput) and memory maths are taught in D3; this domain applies them to sizing and operations.

Exam topics in this domain 1. 8.1 Model lifecycle management: release management, versioning, retraining triggers 2. 8.2 Compute sizing: GPU memory, replicas, horizontal vs vertical scaling, concurrent users, throughput and latency SLAs 3. 8.3 Compute parameters: batch size, maximum sequence length, precision, utilization and cost trade-offs; Run:ai compute management 4. 8.4 Monitoring concepts and metrics: drift, latency, throughput, health, SLA breaches, MTTD and MTTR 5. 8.5 Observability components: dashboards, prompt/agent/retrieval tracing, logging, alerting, telemetry, drift and anomaly detection 6. 8.6 AI Factory operations: toolchain integration, runbooks and playbooks

8.1 Model Lifecycle Management

1develop → evaluate → register (version) → stage/canary → production → monitor → retrain or retire
  • Versioning: every model version is tied to its code, data, configuration, prompts and evaluation results (model registry such as MLflow; container tags for NIM). Prompts and RAG indexes are versioned too: they change behaviour as much as weights do.
  • Release management: promote through environments (dev → staging → production) with approval gates, canary or blue–green rollouts and a rollback plan.
  • Retraining (or re-tuning) triggers:
  • scheduled (monthly);
  • performance-based: accuracy, groundedness or task completion falls below a threshold;
  • drift-based: input or output distributions shift;
  • data-based: enough new labelled or feedback data has accumulated (data flywheel, D2);
  • event-based: new products, policies, regulations or a better base model.
  • Retirement: deprecate old versions, migrate users, keep records for audit.

8.2 Compute Sizing

GPU memory per replica Memory ≈ weights + KV cache + activations and runtime overhead. - Weights = parameters × bytes per parameter (FP16 2, FP8 1, INT4 0.5). - KV cache grows with concurrent sequences × sequence length (D3.3). - If it doesn't fit on one GPU: quantize, shorten max sequence length, or use tensor parallelism across GPUs (vertical scaling within a node).

Replicas for traffic 1. Measure one replica's capacity with a load test: the maximum concurrency (or requests/s) at which latency still meets the SLA (for example p95 TTFT ≤ 1 s and ≥ 20 tokens/s per user). 2. Estimate peak demand: concurrent users × requests per user × tokens per request. 3. Replicas = peak demand ÷ per-replica capacity, plus headroom (often 20–30%) and N+1 for failures.

Example: one replica sustains 32 concurrent requests within the SLA; peak is 200 concurrent requests → 200 / 32 ≈ 6.25 → 7 replicas, plus headroom → about 8–9.

Horizontal vs vertical scaling | | Horizontal (scale out) | Vertical (scale up) | |---|---|---| | How | More replicas behind a load balancer | Bigger/faster GPUs, or more GPUs per replica | | Good for | More users/throughput; resilience | Larger models, lower latency per request, longer contexts | | Limits | Each replica must fit the model | Hardware ceilings; parallelism overhead |

8.3 Compute Parameters and GPU Management

ParameterRaising it…Lowering it…
Batch size / max concurrencyHigher throughput and utilization, higher per-request latency, more KV memoryLower latency, lower throughput, higher cost per token
Maximum sequence length (context)Supports long documents and chats; reserves more KV memory, fewer concurrent requestsMore concurrency; long inputs get truncated or rejected
Precision (FP16 → FP8/INT8 → INT4/FP4)—Less memory, more throughput, lower cost; check accuracy
Tensor parallelism degreeLower latency, fits larger models; more GPUs per replicaFewer GPUs per replica, more replicas
Max output tokens / reasoning budgetLonger answers, more costCheaper, faster; may truncate

Utilization and cost: idle GPUs are the biggest waste. Pack workloads, right-size models, batch offline jobs into quiet hours, and scale down when idle.

NVIDIA Run:ai: Kubernetes-based GPU orchestration and workload management: pools GPUs across teams, enforces quotas and fair-share scheduling, supports fractional GPUs (several small models or notebooks share one GPU) and dynamic allocation, and gives utilization visibility. With NIM, it raises GPU utilization by scheduling inference services efficiently.

NVIDIA Cloud Functions (NVCF): a serverless control plane for deploying GPU workloads (functions or containers) across GPU clusters, handling scaling and routing.

8.4 Monitoring Concepts and Metrics

CategoryMetrics
PerformanceLatency (TTFT, ITL, end-to-end, p50/p95/p99), throughput (tokens/s, requests/s), queue depth
HealthError rate, timeouts, replica restarts, GPU utilization, GPU memory and KV-cache usage, temperature, availability
QualityAccuracy on audited samples, groundedness, hallucination rate, task completion, user feedback (D2.7)
DriftPost-training (post-deployment) drift: input data drift (what users send changes), output/prediction drift, concept drift (the right answer changes); measured with statistical distances (PSI, KL divergence) or embedding-distribution shifts
CostTokens, GPU hours, cost per request
SLASLA breach detection: alert when a service-level objective (for example p95 latency or availability) is violated or trending toward violation

Incident metrics: - MTTD (mean time to detect): average time from a problem starting to it being noticed. Lower with good alerting and anomaly detection. - MTTR (mean time to repair / recover): average time from detection to restored service. Lower with runbooks, rollbacks and automation.

8.5 Observability Components

ComponentWhat it gives
TelemetryMetrics, logs and traces emitted by every service (OpenTelemetry is the common standard; GPU telemetry from DCGM)
Dashboards (Grafana, vendor tools)Live view of latency, throughput, errors, GPU usage, quality and cost
LoggingStructured logs of requests and responses (with PII handling), errors and decisions
TracingEnd-to-end view of one request across services: prompt tracing (exact prompt and model parameters), agent tracing (each reasoning step and tool call), retrieval tracing (query, retrieved chunks, scores) to debug wrong answers
AlertingThresholds and anomaly alerts routed to on-call (pager, chat)
Drift detectionCompare current input/output distributions with the training or baseline window
Anomaly detectionFind unusual patterns in metrics or time series automatically (for example NVIDIA's NV-Tesseract-AD models for time-series anomaly detection)

8.6 AI Factory Operations

  • Toolchain integration: CI/CD for models and prompts, model registry, container registry (NGC private registry), IaC, monitoring stack, ticketing, all wired together so changes are tested and traceable.
  • Runbook: step-by-step instructions for a specific, known operational task or alert ("GPU out-of-memory on replica: check max sequence length, restart with quantized profile, scale out").
  • Playbook: a broader strategy for a type of situation, combining several runbooks, roles and decisions (incident response for a hallucination outbreak, capacity planning for a launch, security incident).
  • Operating rhythm: capacity planning, cost reviews, regular evaluations, post-incident reviews feeding improvements; NVIDIA's AI-factory reference designs (for example DSX) document how to build and operate them.

Exam Tips - Version models, prompts, data and indexes together; promote with gates and rollback. - Retrain on schedule, performance drop, drift, new data or events. - Replicas = peak demand ÷ per-replica capacity within the SLA, plus headroom. - Horizontal = more replicas (throughput); vertical = bigger/more GPUs per replica (fit, latency). - Bigger batch = throughput up, latency up; longer max sequence = more KV memory, fewer concurrent requests. - Run:ai = GPU pooling, quotas, fractional GPUs, scheduling. - MTTD = time to detect; MTTR = time to recover. - Tracing (prompt, agent, retrieval) explains individual failures; dashboards show trends. - Runbook = specific procedure; playbook = broader strategy.

References

  1. NVIDIA NCA-AMAD certification exam page — checked Nov 11, 2026

Check your understanding

  • Should you size replicas for average traffic?Show answer

    Answer

    No. Size for peak demand: peak load divided by per-replica capacity within the SLA, plus headroom.
  • Will a longer maximum sequence length fix out-of-memory errors?Show answer

    Answer

    No, it makes them worse, because the KV cache grows. Lower the maximum length or batch size, quantize, or add GPUs.
  • What is the difference between MTTD and MTTR?Show answer

    Answer

    MTTD is the mean time to detect an incident; MTTR is the mean time to recover from it.
  • When should a model be retrained?Show answer

    Answer

    On a schedule, or when performance drops, data drifts, new data arrives or the business changes, not only when users complain.

Next step: take a NCA-AMAD practice exam

You have reached the end of the course. Take practice exam 1 without notes, check your score by domain, then go back to the lessons for your weakest domain before the next exam. There are 10 exams with 550 questions in all, and every answer is explained.

Previous

Progress is saved in this browser.

Finish Course