All Cisco exams
Free 300-640 practice test: 30 questions with answers
30 original questions for Implementing Cisco Data Center AI Infrastructure (DCAI), drawn from every topic area. Answer each one to see whether you got it right and why. No sign-up.
- Free questions
- 30
- Full bank
- 100 questions
- Real exam
- 90 min
All 30 300-640 questions with answers
The same questions as the test above, grouped by exam topic. Open any question to see the answer and explanation.
AI network fabric design (6 questions)
Question 1
A cluster of GPU servers runs distributed training, and the team needs lossless, low-latency communication between nodes. Which network technology is most commonly used for AI back-end fabrics?
- ADial-up modem links that carry traffic over asynchronous PPP framing on a telephone line
- BSerial console links from a management workstation to an RS-232 port
- CPlain best-effort Ethernet forwarding with tail drop and no PFC or congestion control
- DRDMA over Converged Ethernet (RoCE) with lossless configuration, or InfiniBand
Show answer and explanationHide answer
Correct answer: DAI back-end fabrics need RDMA with lossless behaviour, provided by RoCE with congestion control or by InfiniBand. Best-effort Ethernet drops packets under load, and dial-up or serial links lack the bandwidth.
Question 2
Why is a leaf-spine topology commonly used for AI data centre fabrics?
- AIt gives predictable, equal-cost paths between any two leaves with horizontal scaling
- BIt removes queuing and serialization delay from server-to-server paths
- CIt limits each server to a single uplink with no port-channel bonding
- DIt removes the need for leaf and spine switches by connecting servers directly
Show answer and explanationHide answer
Correct answer: ALeaf-spine designs offer consistent paths and scale horizontally, which suits east-west AI traffic. Single links and removing switches are not design goals, and no topology eliminates latency.
Question 3
Which feature helps prevent packet loss on an RDMA fabric by signalling congestion before buffers overflow?
- ASpanning tree root guard on the access-facing ports to block superior BPDUs
- BExplicit Congestion Notification with DCQCN-style congestion control
- CDHCP snooping on untrusted ports to filter rogue server replies and track bindings
- DSyslog severity level filtering for the remote logger
Show answer and explanationHide answer
Correct answer: BECN and DCQCN-style congestion control signal senders to slow down before buffers overflow, which keeps the fabric lossless. Root guard, DHCP snooping, and syslog filtering do not manage congestion.
Question 4
Which Ethernet mechanism provides a lossless priority class for RDMA traffic on a shared fabric?
- APriority Flow Control (PFC) on a dedicated traffic class
- BSpanning tree portfast with BPDU guard enabled
- CPort security sticky MAC learning on access ports
- DDHCP relay agent forwarding requests to a server
Show answer and explanationHide answer
Correct answer: APFC pauses a specific priority class so RDMA traffic is not dropped. Portfast, sticky MAC learning, and DHCP relay do not provide lossless traffic classes.
Question 5
A team wants to separate AI back-end traffic from general front-end traffic on the same switches. Which approach is most appropriate?
- AUse separate fabrics or isolated traffic classes and VRFs for each traffic type
- BRoute the back-end and front-end traffic through one firewall rule set on the interface
- CDisable the back-end network on the leaf switches and carry GPU traffic on the front-end
- DMix back-end and front-end traffic on one untagged VLAN with default QoS
Show answer and explanationHide answer
Correct answer: ASeparate fabrics or isolated classes and VRFs keep the sensitive back-end traffic from interfering with general traffic. Mixing everything, disabling the back-end, and single firewall rules do not provide that isolation.
Question 6
Which Cisco platform family is commonly used for high-performance data centre switching in leaf-spine fabrics?
- AISR 4451-X branch routers
- BAironet 1830 access point
- CNexus switches running NX-OS
- DCatalyst 1000 home switch
Show answer and explanationHide answer
Correct answer: CNexus switches with NX-OS are the common data centre platform for leaf-spine fabrics. Aironet access points, home switches, and branch routers are not data centre fabric platforms.
Monitoring and troubleshooting (6 questions)
Question 7
A distributed training job slows down after a switch firmware update. Which first check is most useful?
- ACompare interface error counters, congestion counters, and link utilization before and after the update
- BChange the job's name and scheduler queue label, then rerun training with the same random seed and dataset version
- CReinstall the GPU drivers and firmware stack without first checking the network fabric or the switch logs
- DRestart the monitoring agent on the head node and reset the dashboard refresh interval
Show answer and explanationHide answer
Correct answer: AComparing error and congestion counters before and after the firmware change identifies network regressions. Monitor restarts, renaming jobs, and reinstalling drivers without checking the network do not isolate the cause.
Question 8
Which two telemetry sources help diagnose congestion on an AI fabric? (Choose two.)
- ASwitch interface counters and queue statistics
- BDesktop wallpaper settings
- CPrinter toner levels
- DGPU and NIC telemetry for communication timing
- EBrowser cache size
Show answer and explanationHide answer
Correct answer: A, DSwitch counters and queue statistics show congestion in the fabric, and NIC and GPU telemetry show communication timing. Wallpapers, toner levels, and browser caches are unrelated.
Question 9
A GPU server reports that it cannot reach the storage network after a configuration change. Which check is most useful first?
- AChange the server's wallpaper and the console color theme
- BRename the server's hostname and update the asset inventory label
- CConfirm the storage interface configuration, VLAN, and MTU match the design
- DRemove the GPUs from the chassis and reseat them in another slot
Show answer and explanationHide answer
Correct answer: CInterface, VLAN, and MTU settings are common causes of storage connectivity problems after a change. Wallpapers, names, and removing GPUs do not address the connectivity.
Question 10
A team sees intermittent link flaps on AI fabric uplinks. Which investigation is most helpful?
- AReinstall the operating system on the affected server host
- BReboot every GPU node in the cluster during scheduled training
- CChange the monitor display settings and refresh rate
- DCheck optics, cabling, and error counters on both ends of the link
Show answer and explanationHide answer
Correct answer: DOptics, cabling, and error counters on both ends commonly reveal the cause of flapping links. Rebooting GPUs, changing monitors, and reinstalling operating systems do not address link health.
Question 11
A training job shows low throughput, and the team suspects that the network is marking packets for congestion. Which indicator should be checked?
- AThe number of user accounts and group memberships in the directory service
- BCongestion notification counters and queue depth on the switch ports
- CThe office temperature and humidity readings from the wiring closet ceiling sensor
- DThe training job's input file size and its checkpoint file count on scratch
Show answer and explanationHide answer
Correct answer: BCongestion notification counters and queue depth show whether packets are being marked or queued. File size, user counts, and office temperature do not indicate network congestion.
Question 12
A team wants alerts when GPU utilization on a node falls far below the cluster average for a long period. What might that pattern indicate?
- AA node whose chassis needs a fresh paint job and a new front-panel label sticker set
- BA node that is idle or starved of work, possibly due to scheduling or data issues
- CA healthy node whose workload is evenly distributed across both CPU sockets and every NUMA domain
- DA node with a larger local NVMe disk and a higher storage capacity allocation for scratch
Show answer and explanationHide answer
Correct answer: BSustained low utilization relative to peers suggests the node is idle or starved, which points to scheduling, data, or network issues. The other options are not supported by the pattern.
Compute and GPU infrastructure (6 questions)
Question 13
A server with eight GPUs needs high-speed communication between those GPUs inside the chassis. Which technology provides this?
- AWi-Fi 6E radios between GPU cards
- BNVLink or NVSwitch within the server
- CSerial port sharing between GPU cards
- DUSB 1.1 hubs daisy-chained across GPUs
Show answer and explanationHide answer
Correct answer: BNVLink and NVSwitch provide high-bandwidth GPU-to-GPU communication inside the server. Wi-Fi, serial sharing, and USB 1.1 cannot match that bandwidth.
Question 14
A team wants to validate that a new GPU server meets its performance target before it joins the cluster. Which step is most appropriate?
- ARun a burn-in and benchmark test with the expected workload and compare results to targets
- BJoin the server to the production cluster and check performance with monitoring dashboards later
- CSkip testing because the vendor specifications are published in the datasheet
- DMeasure performance with an idle GPU and a default clock profile while other tenants share the node
Show answer and explanationHide answer
Correct answer: ABurn-in and benchmarks with the expected workload validate real performance and stability before production. Joining untested, relying on specifications, and idle-only tests do not confirm behaviour under load.
Question 15
Which Cisco platform is designed to host GPU compute for AI workloads in a unified system with management?
- AAironet wireless controller for the campus WLAN
- BMeraki MV security camera for the warehouse loading dock and yard
- CCatalyst 2960 home switch for a small office network with PoE ports
- DCisco UCS servers with GPU support and Intersight management
Show answer and explanationHide answer
Correct answer: DUCS servers support GPUs and are managed through Intersight. Wireless controllers, home switches, and cameras are not AI compute platforms.
Question 16
A UCS server must be managed centrally for firmware, policies, and inventory across many chassis. Which management platform is used?
- ACisco Umbrella
- BCisco Intersight
- CCisco Packet Tracer
- DCisco Webex
Show answer and explanationHide answer
Correct answer: BIntersight provides cloud-based management for UCS and other Cisco infrastructure. Packet Tracer is a learning simulator, Webex is collaboration software, and Umbrella is DNS security.
Question 17
Which server setting ensures that GPUs are not throttled because of insufficient power at full load?
- AA lower screen brightness setting on the front panel display
- BA longer cable run between the PDU and the chassis power inlet on the rear rack
- CA smaller memory module with fewer DIMM slots populated and lower capacity per socket
- DA power policy that matches the GPU power requirements of the chassis
Show answer and explanationHide answer
Correct answer: DA power policy aligned to the GPU requirements prevents power-related throttling. Screen brightness, cable length, and memory size do not control GPU power.
Question 18
Why is cooling capacity planned carefully for dense GPU servers?
- ACooling is irrelevant to performance because GPUs rarely reach their thermal limits during training
- BGPUs produce negligible heat under load, so rack airflow planning can be skipped
- CThey produce a lot of heat, and insufficient cooling causes throttling or failures
- DCooling is needed mainly for storage arrays and network switches, not for compute
Show answer and explanationHide answer
Correct answer: CDense GPU systems produce heavy thermal loads, and inadequate cooling leads to throttling or hardware failures. The other statements are incorrect.
Orchestration and automation (6 questions)
Question 19
An operator wants to deploy the same AI cluster network configuration across many switches consistently. Which approach is best?
- ACopy configurations from random online sources and forum posts without peer review or lab testing
- BUse automation with templates or infrastructure as code, validated before deployment
- CChange settings when something breaks in production and users report the fault to the helpdesk
- DConfigure each switch by hand from memory during each maintenance window without a shared template
Show answer and explanationHide answer
Correct answer: BTemplates or infrastructure as code with validation deliver consistent, reviewable configuration at scale. Manual memory-based configuration, unreviewed copies, and reactive changes produce drift.
Question 20
Which Kubernetes concept lets a GPU workload request a specific number of GPUs from the scheduler?
- AResource requests and limits for the GPU resource
- BA printer label that lists toner levels
- CA banner that displays cluster uptime on the lobby wall
- DA DNS record that maps the hostname to an IP address entry
Show answer and explanationHide answer
Correct answer: AGPU requests and limits in the pod spec let the scheduler allocate GPUs. Printer labels, DNS records, and banners do not allocate GPU resources.
Question 21
A team uses Slurm to schedule training jobs on a GPU cluster. Which purpose does Slurm serve?
- AWorkload management and scheduling of jobs across compute nodes
- BPrinting monthly job accounting reports for finance
- CServing static web pages and dashboards to end users daily
- DPacket capture for network troubleshooting with tcpdump
Show answer and explanationHide answer
Correct answer: ASlurm schedules and manages jobs on compute resources, including GPUs. Packet capture, printing, and web serving are different functions.
Question 22
A team wants to version control its cluster network intent and automatically check that it matches the running state. Which practice does this?
- AAccepting configuration drift as the normal state between audits
- BStoring configurations in a sticky note attached to the rack door
- CIntent-based configuration with state reconciliation and drift detection
- DEditing live devices directly from the console after hours
Show answer and explanationHide answer
Correct answer: CIntent-based configuration with reconciliation and drift detection keeps the running state aligned with the declared intent. Sticky notes, accepted drift, and live-only edits break traceability.
Question 23
A new AI workload needs its network segments and GPU resources provisioned together. Which approach coordinates both?
- AA workflow or orchestration tool that calls network and compute APIs in order
- BProvisioning the GPU nodes first and deferring network configuration until the job starts
- CUsing the workload's name as a network address for every GPU interface in the VLAN
- DCreating the network segments by hand in a separate change window and hoping the GPUs match
Show answer and explanationHide answer
Correct answer: AAn orchestration workflow calls network and compute APIs in the right order so that resources match. Manual, uncoordinated, and naming-based approaches create mismatches.
Question 24
Which practice keeps AI platform deployments repeatable across development and production?
- ACopy production data into every environment without controls
- BUse the same versioned templates with environment-specific parameters
- CBuild each environment from scratch with different tools
- DKeep production settings in one engineer's head and personal notes
Show answer and explanationHide answer
Correct answer: BThe same versioned templates with parameters keep environments consistent and promotable. Separate builds, undocumented settings, and uncontrolled data copies cause drift and risk.
Storage for AI workloads (6 questions)
Question 25
A training pipeline reads large datasets from shared storage, and GPUs wait for data. Which storage characteristic should be improved first?
- ASustained read throughput and parallel access to the dataset
- BThe storage array's label, asset tag, and the physical rack position
- CThe storage array's colour scheme and the paint finish on the front bezel
- DThe number of folders in the root directory of the share and their names
Show answer and explanationHide answer
Correct answer: AGPU starvation from slow data reads is best addressed by improving sustained parallel read throughput. Colour, labels, and folder counts do not affect data delivery.
Question 26
Which storage access pattern is most common for AI training data that many GPU nodes read in parallel?
- AA parallel or distributed file system that serves many clients
- BTape library retrieval with robotic mount and rewind time for every read
- CPrinting the full dataset to paper for each epoch for manual review
- DA single client node mounting a local NVMe disk with no shared namespace
Show answer and explanationHide answer
Correct answer: AParallel or distributed file systems serve many GPU nodes concurrently with high throughput. Local-only disks, tape, and printing do not meet parallel training read patterns.
Question 27
A team stores model checkpoints during training, and checkpoint writes slow down the job. Which design helps?
- AUse high-throughput storage for checkpoints and schedule checkpoints at a sensible interval
- BWrite checkpoints synchronously to a slow archive tier of cold object storage every single second
- CStore checkpoints in host RAM with no persistence layer and no replication to peer compute nodes
- DDisable checkpoints entirely for the duration of the run to maximize GPU throughput across the cluster
Show answer and explanationHide answer
Correct answer: AHigh-throughput storage and a sensible checkpoint interval reduce write overhead while protecting progress. Slow archives every second, no checkpoints, and memory-only storage either slow the job or risk losing it.
Question 28
Which storage protection approach helps a training dataset survive the failure of a storage device?
- AA single unprotected copy on a laptop's local SSD storage
- BPrinting a full copy of the dataset on paper for offline use
- CStoring the dataset in a temporary scratch folder on local disk
- DRedundant storage with replication or erasure coding
Show answer and explanationHide answer
Correct answer: DReplication or erasure coding protects data against device failure. A single laptop copy, printed copies, and temporary folders do not provide durable protection.
Question 29
A storage design must keep data close to the GPUs to reduce latency for inference. Which principle applies?
- AStore hot data on tape cartridges in a secondary vault with sequential read access and mount delays
- BMove the working data set to the farthest regional data centre available
- CPlace hot data on fast storage near the compute, and tier colder data elsewhere
- DKeep no working data near compute nodes and rely on remote storage
Show answer and explanationHide answer
Correct answer: CHot data on fast nearby storage reduces latency, while colder data can be tiered. Remote placement, tape for hot data, and no local data increase latency.
Question 30
Which two factors should be considered when sizing storage for AI training? (Choose two.)
- ADataset size and growth over time
- BRead throughput needed to keep GPUs busy
- CThe colour of the storage enclosure
- DThe brand of the office stapler
- EThe number of coffee breaks per day
Show answer and explanationHide answer
Correct answer: A, BDataset size and growth, plus read throughput needed to keep GPUs busy, determine storage sizing. Colour, stapler brands, and coffee breaks are unrelated.