A container-based service restarts frequently. Logs indicate memory errors, while CPU usage remains moderate. The hosting environment assigns 256 MB to the container, though usage spikes beyond 300 MB. Which action stabilizes the service?
Increasing the container’s memory allocation resolves the shortfall causing the restarts. The other answers focus on elements that do not correct the memory excess problem.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a container in a cloud environment?
Open an interactive chat with Bash
Why does a memory allocation issue cause a container to restart?
Open an interactive chat with Bash
How can resource management improve container stability?
Open an interactive chat with Bash
CompTIA Cloud+ CV0-004
Troubleshooting
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access