300-640 DCAI — Cisco Implementing Data Center AI Infrastructure Cheat Sheet
Last revised: September 16, 2026
Cheat sheet: Cisco 300-640 DCAI reference for AI data center fabrics, RoCEv2, QoS, Nexus/UCS operations, and troubleshooting.
Use the tables for a quick pre-exam check. Expand a topic’s notes for explanations, examples, and additional distinctions.
Scope and study context
Use this as an independent compact review for Cisco Cisco Implementing Data Center AI Infrastructure (300-640 DCAI). Focus on implementation decisions: AI fabric design, RoCEv2 behavior, lossless Ethernet, Cisco Nexus operations, Cisco UCS/Intersight compute lifecycle, storage paths, automation, observability, and troubleshooting.
The exam identity is:
Item
Value
Vendor/provider
Cisco
Official exam title
Cisco Implementing Data Center AI Infrastructure (300-640 DCAI)
Official exam code
300-640 DCAI
This page is IT Mastery review support. It is designed to pair naturally with an IT Mastery practice plan using original practice questions, a question bank, targeted topic drills, and detailed explanations.
Enable PFC only for the intended no-drop priority.
Configure ECN/WRED behavior for early congestion signaling where supported.
Keep MTU consistent across server NICs, switch interfaces, port channels, routed links, and overlays where applicable.
Verify the trust boundary: do switches trust server markings, rewrite them, or classify by ACL?
Avoid mixing RDMA with storage bursts, backup, checkpoint, or general TCP traffic in the same no-drop queue.
Monitor PFC pause counters and ECN marks continuously; “no drops” is not proof of a healthy fabric.
RoCEv2, RDMA, and lossless Ethernet
RDMA allows applications to move data directly between memory regions with lower CPU overhead and lower latency. In Ethernet AI fabrics, RoCEv2 is commonly associated with RDMA over UDP/IP, which means the IP fabric, QoS policy, and host NIC configuration all matter.
What to remember
Topic
Fast review
RDMA purpose
Reduce latency and CPU overhead for high-throughput communication
RoCEv2
RDMA over UDP/IP; can operate across routed IP fabrics when designed correctly
Lossless behavior
Usually implemented only for selected traffic classes, not for all traffic
PFC
Pauses traffic per priority to avoid drops for a no-drop class
ECN
Marks packets before congestion becomes severe
End-host reaction
Hosts must react to congestion marks through configured congestion control behavior
MTU
Must be consistent end to end, including host, switch, and any routed path
Validation
Ping is not enough; validate with workload-like traffic and counters
PFC versus ECN versus congestion control
Mechanism
Operates where
Purpose
Common mistake
PFC
Layer 2 priority
Pause a specific priority to prevent drops
Enabling it on too many classes or links
ECN
IP header marking
Signal congestion before buffer overflow
Marking traffic without host reaction
DCQCN or similar host behavior
End host / NIC stack
Reduce sending rate after congestion signal
Configuring switches but ignoring NIC settings
QoS classification
Host and switch
Put RDMA traffic into the intended class
Mismatched DSCP/CoS/priority mappings
Buffer thresholds
Switch queues
Control when traffic is marked or paused
Thresholds too aggressive or too late
RDMA implementation checklist
Use this checklist when reviewing a configuration or troubleshooting scenario:
Check
What you are looking for
Host NIC support
RDMA/RoCE capability, drivers, firmware, and correct mode
Switch support
Feature support and correct interface/policy application
Traffic classification
RDMA traffic mapped to the intended QoS class
PFC scope
Enabled only where required, typically for the RDMA priority
ECN marking
Thresholds and queues aligned with the congestion design
MTU
Consistent jumbo or standard MTU across all participating links
Tests that resemble the AI job, not only basic connectivity
Common RoCE/RDMA traps
“Lossless” does not mean “no congestion.” It means the design tries to avoid drops for selected traffic while still controlling congestion.
PFC is not a substitute for good fabric design. A congested or oversubscribed design can still perform poorly.
PFC can spread congestion. Pause behavior can create head-of-line blocking if applied carelessly.
ECN requires end-host participation. Switch marking alone does not reduce sender rate.
MTU mismatch can look intermittent. Small tests may pass while real workloads fail.
One bad link can affect a whole job. Distributed training often waits for the slowest participant.
QoS markings must be trusted and preserved intentionally. Do not assume DSCP, CoS, or priority values survive every boundary.
Cisco Nexus QoS mental model
QoS stage
Question to ask
NX-OS concept
Validation focus
Classification
Which packets are RDMA, storage, control, or best effort?
class-map type qos, ACL/DSCP/CoS matching
Packets enter the intended class
Marking
What internal forwarding class is used?
qos-group, DSCP/CoS rewrite where used
Marking is consistent across hops
Network QoS
Which classes are no-drop and what MTU applies?
policy-map type network-qos
PFC priority and MTU are correct
Queuing
How is bandwidth/buffering allocated?
policy-map type queuing
Queue behavior under congestion
Interface binding
Where do policies apply?
System QoS and interface policy attachment
No missing links in the path
Monitoring
Are queues pausing, marking, or dropping?
Interface, queuing, PFC, policy counters
Correlate counters with job symptoms
Notes and examples
Illustrative NX-OS QoS skeleton
Platform syntax and feature availability vary by Cisco Nexus model and NX-OS release. Treat this as a pattern, not a copy-paste answer.
class-map type qos match-any RDMA-QOS
match dscp <rdma-dscp>
policy-map type qos AI-CLASSIFY
class RDMA-QOS
set qos-group <rdma-qos-group>
class-map type network-qos RDMA-NO-DROP
match qos-group <rdma-qos-group>
policy-map type network-qos AI-NETWORK-QOS
class type network-qos RDMA-NO-DROP
mtu <jumbo-mtu>
pause pfc-cos <rdma-cos>
policy-map type queuing AI-QUEUING
class type queuing <rdma-queue-class>
bandwidth percent <reserved-percent>
random-detect ecn
system qos
service-policy type qos input AI-CLASSIFY
service-policy type network-qos AI-NETWORK-QOS
service-policy type queuing output AI-QUEUING
Useful verification commands
show interface ethernet <slot/port>
show interface ethernet <slot/port> counters
show interface ethernet <slot/port> priority-flow-control
show queuing interface ethernet <slot/port>
show policy-map interface ethernet <slot/port>
show class-map type qos
show policy-map type network-qos
show policy-map type queuing
show lldp neighbors
show port-channel summary
show ip route
show bgp ipv4 unicast summary
show logging last <lines>
High-yield mental model
AI infrastructure is not “just fast networking.” It is an end-to-end system where GPU utilization depends on the combined behavior of compute, NICs, fabric, storage, automation, and observability.
Layer
What to connect quickly
Common candidate trap
AI workload
Training, inference, data ingest, checkpointing, east-west communication
Treating every AI workload as the same traffic pattern
Compute
CPU, GPU, memory, PCIe, NUMA locality, NIC placement
Troubleshooting the network while the bottleneck is host-side
Large datasets, model artifacts, data lake workflows
HTTP/API throughput, caching, locality
Many small objects can stress metadata/API path
Parallel file system
Large-scale training datasets
High aggregate bandwidth and metadata scaling
Misconfigured clients can limit performance
NVMe/TCP
High-performance block over Ethernet
Separate QoS and congestion planning
Sharing RDMA no-drop class without design
Fibre Channel / SAN
Enterprise block storage environments
Separate FC fabric or converged design where used
Assuming SAN bandwidth equals training data throughput
Local NVMe cache
Hot data, preprocessing, temporary shards
Data distribution and cache warm-up
Cache miss storms during job start
Container registry
Images, model-serving components
Pull storms during scale-out
No local mirror or pre-pull strategy
Notes and examples
Storage vs backend RDMA
Question
If yes
Design response
Does checkpointing coincide with training synchronization?
Storage writes can congest fabric
Separate QoS class or schedule/checkpoint tuning
Is dataset read throughput below GPU demand?
GPUs wait idle
Improve storage parallelism, caching, or data placement
Are storage and RDMA sharing uplinks?
Congestion coupling is possible
Monitor queues by class; reserve bandwidth carefully
Are small-file reads dominant?
Metadata may bottleneck
Optimize dataset format, caching, or parallel filesystem metadata
Is storage traffic marked the same as RDMA?
No-drop queue can be polluted
Reclassify and isolate storage traffic
Storage and data pipeline review
AI systems are often starved by storage before the network fabric is fully used. Review how data enters, moves through, and leaves the training or inference pipeline.
Storage pattern
Infrastructure concern
Exam-prep angle
Dataset reads
Sustained read throughput and metadata performance
GPU idle time may be storage-related
Checkpoint writes
Periodic large writes
Bursts can impact other traffic
Object storage
Scale and durability
Application access pattern matters
File storage
Shared dataset access
Metadata and small-file behavior can bottleneck
Block storage
Low-latency volumes
Multipathing and QoS may matter
NVMe/TCP or NVMe/RDMA
High-performance storage transport
MTU, congestion, and network isolation matter
Backup/replication
Background bandwidth usage
Can interfere with training if not controlled
Storage troubleshooting decision points
If all nodes slow down during checkpointing, check storage throughput, network queues, and QoS isolation.
If only one node is slow, check local mount, path, NIC, driver, and cabling.
If small-file workloads are slow, metadata performance may be the bottleneck.
If large sequential reads are slow, check path bandwidth and storage backend limits.
If storage and RDMA share links, verify classification and congestion behavior.
Security, segmentation, and governance
Control
Use for
Exam focus
AAA with TACACS+/RADIUS
Centralized admin authentication and authorization
Role separation and auditability
RBAC
Limit operator privileges
Least privilege for fabric/server operations
Management VRF / OOB
Isolate device management
Reachability during fabric incidents
SSH/HTTPS only
Secure administrative access
Disable insecure management protocols
SNMPv3 / secure telemetry
Authenticated monitoring
Avoid cleartext community strings
ACLs
Restrict management and tenant traffic
Apply in correct direction and VRF
VRFs
Routing isolation
Tenant/job/environment segmentation
CoPP
Protect switch control plane
Prevent data-plane events from overwhelming CPU
Image/firmware governance
Trusted software lifecycle
Consistent versions, controlled upgrades
Secrets handling
Protect API tokens, registry credentials, keys
Avoid embedding secrets in templates or scripts
Notes and examples
AI-specific security considerations
Separate management, storage, frontend, and backend fabric access.
Restrict who can change QoS, PFC, ECN, and fabric templates; mistakes can affect the whole cluster.
Protect datasets, model artifacts, checkpoints, and container registries.
Use change control for firmware, driver, and CUDA-related stack changes.
Monitor for configuration drift between rails, leaves, and server NICs.
Keep automation credentials scoped and rotated.
Security, isolation, and governance
AI infrastructure frequently carries sensitive datasets, model artifacts, credentials, and multi-tenant workloads.
Area
Review focus
Management plane
AAA, RBAC, secure access, logging, management VRF or network
Segmentation
VRFs, VLANs, VNIs, ACLs, policy boundaries
Tenant isolation
Prevent unintended communication between teams or environments
Secrets
Protect tokens, keys, registry credentials, and automation variables
Image and firmware integrity
Use approved versions and controlled updates
Logging
Maintain usable audit and troubleshooting data
Least privilege
Grant operators and automation only needed access
Common security mistakes
Reusing broad admin credentials in automation.
Mixing management, storage, and workload traffic without clear policy.
Allowing route leaking without an explicit purpose.
Ignoring logging until after an incident.
Treating AI lab environments as exempt from production controls.
Automation and operations decision table
Need
Prefer
Why
Build or modify Nexus fabrics consistently
Cisco Nexus Dashboard Fabric Controller
Intent/templates reduce per-device drift
Manage UCS firmware and server profiles
Cisco Intersight or UCS Manager
Central lifecycle and policy control
Query switch state programmatically
NX-API, NETCONF/RESTCONF, gNMI where supported
Enables validation and telemetry workflows
Repeat configuration tasks
Ansible/Terraform or vendor-supported automation
Idempotent changes and version control
Validate pre/post change state
Automated checks plus Nexus telemetry
Catch MTU, QoS, adjacency, and counter regressions
Cluster scheduler symptoms may originate in network/storage
Notes and examples
Automation safeguards
Maintain a source of truth for fabric topology, addressing, VRFs, QoS classes, and cabling.
Validate generated config before deployment.
Use staged rollout for QoS, PFC, ECN, and MTU changes.
Capture pre-change counters and control-plane state.
Confirm rollback steps before changing fabric-wide policies.
Test one rail or failure domain when possible before broad rollout.
Cisco operations, management, and automation
For Cisco data center AI infrastructure, be comfortable with how implementation and operations tools fit together. You do not need to treat tools as magic boxes; understand what each tool controls or observes.
Reapplying automation should not create unintended changes
Source of truth
Inventory, addressing, VLAN/VNI/VRF, and policy data should be consistent
Pre-checks
Validate reachability, platform state, versions, and dependencies before change
Post-checks
Confirm control plane, counters, health, and intended policy after change
Rollback
Know how to restore known-good state
Drift detection
Identify manual changes that differ from intended state
Change scope
Understand blast radius before modifying templates or shared policy
Observability signals to correlate
Do not troubleshoot with a single counter. Correlate:
Interface errors and discards
Queue drops and queue depth
PFC pause frames
ECN marks
Link utilization and microburst indicators
Routing adjacency state
EVPN/VTEP state if overlays are used
Host NIC counters
GPU utilization
Storage latency and throughput
Application logs and job timing
Troubleshooting workflow
flowchart TD
A[Symptom: AI job slow or failing] --> B{Reachability issue?}
B -->|Yes| C[Check L1/L2/L3: link, VLAN/VRF, route, MTU, ACL]
B -->|No| D{Drops, ECN, or PFC counters?}
D -->|Drops| E[Check queue policy, congestion, bad optics, CRC/FEC, oversubscription]
D -->|ECN marks| F[Validate ECN thresholds and host/NIC congestion response]
D -->|PFC pause| G[Find congested receiver, no-drop queue, HOL blocking, pause propagation]
D -->|None obvious| H{GPU utilization low?}
H -->|Yes| I[Check storage, CPU preprocessing, NUMA, drivers, scheduler]
H -->|No| J[Check application, batch size, framework, job placement]
C --> K[Retest with counters cleared or time-bounded telemetry]
E --> K
F --> K
G --> K
I --> K
J --> K
Notes and examples
Symptom-to-cause matrix
Symptom
Likely causes
Verify
Corrective direction
RDMA connection fails
MTU mismatch, wrong DSCP/CoS, PFC disabled, ACL/VRF issue, NIC driver mismatch
Ping with large packet where appropriate, route/VRF, PFC/QoS counters, host RDMA tools
Align MTU, routing, QoS, NIC settings
RDMA works but slow
ECMP imbalance, congestion, ECN not reacting, PFC pause, storage bottleneck
Queue depth, ECN marks, PFC counters, link utilization, GPU utilization
Storage traffic has its own class or policy when needed.
Metadata bottlenecks are considered for small-file workloads.
Registry/model artifact pulls are cached or staged for scale-out events.
Operations
NDFC/Intersight templates are version controlled or otherwise governed.
Telemetry covers interfaces, queues, PFC, ECN, routes, server health, and job metrics.
AAA/RBAC and management VRFs are in place.
Pre-change and post-change validations are defined.
Rollback steps are documented for QoS, MTU, routing, and firmware changes.
QoS review for AI fabrics
QoS in AI infrastructure is about protecting latency-sensitive and loss-sensitive traffic without starving other traffic.
QoS function
Review question
Candidate mistake
Classification
How is traffic identified?
Assuming all traffic from GPU nodes is RDMA
Marking
Which DSCP/CoS/priority is assigned?
Marking at the host but not trusting or mapping at the switch
Queueing
Which queue carries RDMA or storage traffic?
Putting too many traffic types into one no-drop queue
Scheduling
How is bandwidth shared under congestion?
Overprioritizing one class until management or storage suffers
Policing/shaping
Is traffic limited at an edge or boundary?
Applying a limiter that breaks expected throughput
Buffer management
When are packets marked or paused?
Ignoring microbursts and queue thresholds
Verification
What counters prove behavior?
Relying only on interface up/up status
Decision rule
When a scenario asks what to fix first, prioritize in this order:
Correct classification and marking
Correct queue and PFC/ECN policy
Consistent MTU
Host NIC congestion-control behavior
Fabric capacity and ECMP distribution
Workload-level validation
If the traffic is not classified correctly, every downstream QoS mechanism may be irrelevant.
Exam preparation focus
For Cisco 300-640 DCAI, practice explaining not just what each component does, but why you would choose it in an AI data center:
When to separate backend RDMA and frontend traffic.
How RoCEv2 depends on PFC, ECN, MTU, and marking consistency.
How to troubleshoot slow training when there are no obvious packet drops.
How Cisco Nexus fabric operations differ from Cisco UCS/Intersight server lifecycle tasks.
How NDFC, Nexus Dashboard, telemetry, and automation reduce drift.
How storage, compute, and network bottlenecks interact.
Data center fabric foundations
AI clusters often depend on a predictable, high-throughput data center fabric. For exam review, focus less on memorizing product names and more on why a design choice supports AI traffic.
Core fabric concepts
Concept
What to know
Why it matters for AI infrastructure
Leaf-spine / Clos
Every leaf has multiple paths through spines
Supports scale-out bandwidth and predictable latency
ECMP
Equal-cost paths distribute flows across links
Prevents single-path congestion when hashing is effective
Oversubscription
Downlink capacity can exceed uplink capacity
AI training can expose oversubscription quickly
Failure domains
Isolate failures by rack, leaf pair, spine, pod, or site
Prevents one issue from impacting all workloads
MTU consistency
Large frames must be supported end to end if used
Mismatches create drops, fragmentation, or poor performance
Underlay reachability
Loopbacks, routed links, and routing protocol health
Overlay and RDMA designs depend on stable reachability
Management network
Out-of-band or logically separate access
Required for recovery, automation, and observability
Notes and examples
Quick design checks
Ask these questions when reviewing a scenario:
Is traffic mostly east-west or north-south?
Distributed AI training usually stresses east-west paths.
Is the fabric nonblocking enough for the workload?
A fabric that is acceptable for general virtualization may be insufficient for GPU clusters.
Are paths symmetric and predictable?
Asymmetry can complicate troubleshooting, hashing, and telemetry interpretation.
Is ECMP actually distributing traffic?
A single elephant flow, poor hashing inputs, or polarization can overload one path while others sit idle.
Are MTU, QoS, and RDMA settings consistent from host to switch to host?
Partial configuration is a common cause of intermittent failures.
VXLAN EVPN, segmentation, and routing
AI infrastructure can use simple routed fabrics, overlays, or segmented multi-tenant designs. Be ready to identify the control plane and data plane responsibilities.
Encapsulates Layer 2 or Layer 3 tenant traffic over IP
VTEPs, VNIs, encapsulation overhead
EVPN
Control plane for endpoint and route information
BGP EVPN state, route types, import/export logic
Anycast gateway
Distributed default gateway across fabric
Consistent gateway IP/MAC behavior
VRF
Routing isolation
Correct route leaking or isolation policy
Notes and examples
Common EVPN/VXLAN review traps
Underlay reachability must work before overlay troubleshooting is meaningful.
A VTEP loopback issue can look like an endpoint issue.
VNI/VRF mismatches can isolate workloads even when VLANs appear correct locally.
MTU must account for encapsulation overhead.
Control-plane reachability and data-plane forwarding are related but not the same.
Route import/export mistakes can create either black holes or unintended reachability.
Compute, GPU, and host networking
AI infrastructure performance depends heavily on server architecture. A network configuration may be correct while the host still cannot feed GPUs efficiently.
Area
What to review
Why it matters
GPU placement
Which GPUs are attached to which CPU/PCIe domains
Affects latency and throughput
NUMA locality
CPU, memory, NIC, and GPU proximity
Poor locality can reduce performance
PCIe capacity
Lanes, generations, oversubscription
Limits GPU/NIC data movement
NIC placement
NIC-to-GPU path, dual-homing, redundancy
Affects RDMA and traffic distribution
Firmware/drivers
Compatibility between NIC, GPU, OS, and platform
Mismatches cause instability or feature loss
SR-IOV / virtualization
Direct device access or virtual functions
Can improve performance but complicates policy
Container runtime
GPU device visibility and network attachment
Workload may fail despite working hardware
Time sync
NTP/PTP or platform time consistency
Helps logs, telemetry, and distributed operations
Notes and examples
Host-side troubleshooting clues
Symptom
Possible host-side cause
GPU utilization low on one node
Local CPU, memory, PCIe, driver, or NIC issue
GPU utilization low across all nodes
Fabric, storage, synchronization, or workload design issue
RDMA test fails but IP works
NIC mode, driver, PFC/ECN mapping, firewall, or MTU issue
Validate with representative traffic. Basic ping is not enough for AI workloads.
Change one variable at a time. Then compare pre/post telemetry.
Last-minute review tables
Mechanism matching
If the question says…
Think…
“Low latency CPU bypass”
RDMA
“RDMA over routed IP Ethernet”
RoCEv2
“Pause only one priority”
PFC
“Mark congestion before dropping”
ECN
“Sender slows after congestion signal”
Host congestion control
“Tenant segmentation over IP fabric”
VXLAN EVPN / VRF / VNI
“Distributed gateway on multiple leafs”
Anycast gateway
“Traffic uses one path while others idle”
ECMP hashing or polarization
“Small tests pass, real workload fails”
MTU, QoS, microbursts, workload scale
Notes and examples
Candidate mistakes to avoid
Mistake
Better exam behavior
Choosing the fastest-looking fix
Identify the layer and mechanism first
Treating PFC as universally good
Limit no-drop behavior to required traffic
Ignoring host configuration
RDMA depends on NIC, driver, firmware, and OS settings
Overlooking storage
GPU idle time often starts with data access
Assuming overlay issue before checking underlay
Underlay reachability comes first
Trusting one metric
Correlate counters, telemetry, and workload symptoms
Memorizing commands without purpose
Know what each command or view proves
Practicing only definitions
Use scenario-based original practice questions
How to connect this review to question-bank practice
Use this Cheat Sheet first, then move into IT Mastery practice. The goal is not to reread theory; it is to force decision-making under exam-style conditions.
Practice area
Best drill type
What detailed explanations should clarify
RoCE/RDMA
Scenario questions
Why PFC, ECN, MTU, and host settings interact
QoS
Configuration and troubleshooting drills
Which mechanism solves which symptom
Fabric design
Design-choice questions
Bandwidth, ECMP, failure domain, and scale tradeoffs
VXLAN EVPN
Control-plane/data-plane questions
Underlay versus overlay responsibility
Compute/GPU
Host bottleneck scenarios
NIC, PCIe, NUMA, driver, and firmware clues
Storage
Performance troubleshooting
Dataset, checkpoint, and backend bottlenecks
Automation
Change-control questions
Idempotency, validation, rollback, drift
Operations
Telemetry interpretation
Which counter or signal proves the issue
Notes and examples
Recommended practice loop
Start with topic drills on RDMA, QoS, fabric design, and troubleshooting.
Review every missed question using the detailed explanations, not just the correct answer.
Build a short error log with three columns: concept missed, clue ignored, rule to remember.
Move to mixed question bank sets to practice switching topics.
Finish with timed mock exams only after your topic-level accuracy is stable.