300-915 · Question #6
Which two commands inside a Docker container on a gateway help to troubleshoot why the compute performance of the device is slowing down? (Choose two.)
The correct answer is B. top D. ps. top and ps are the correct answers because both are standard Linux commands available inside Docker containers (which run Linux-based environments) that display running processes and their resource usage. top provides a real-time, interactive view of CPU and memory consumption pe
Question
Which two commands inside a Docker container on a gateway help to troubleshoot why the compute performance of the device is slowing down? (Choose two.)
Options
- Ashow processes
- Btop
- Cwmic
- Dps
- Eproc
How the community answered
(31 responses)- A13% (4)
- B77% (24)
- C3% (1)
- E6% (2)
Explanation
top and ps are the correct answers because both are standard Linux commands available inside Docker containers (which run Linux-based environments) that display running processes and their resource usage. top provides a real-time, interactive view of CPU and memory consumption per process, while ps (process status) lists current processes and their resource details - both are essential for diagnosing high CPU or memory usage slowing a device down.
Why the distractors are wrong:
- A.
show processes- this is a Cisco IOS CLI command used on routers/switches, not valid inside a Linux container. - C.
wmic- Windows Management Instrumentation Command-line; only available on Windows, not in Linux containers. - E.
proc- not a standalone command;/procis a Linux virtual filesystem you read, not a command you run for performance diagnostics.
Memory tip: Think "TP" - Top and Ps are the Linux Troubleshooting Pair. Any answer that sounds like Windows (wmic) or Cisco (show) is automatically wrong in a Docker/Linux container context.
Topics
Community Discussion
No community discussion yet for this question.