nerdexam
Cisco

300-910 · Question #54

Refer to the exhibit. A distributed application contains data services that connect to databases via JDBC and to other remote services via HTTP. The overall response time is too long, and AppDynamics

The correct answer is D. Verify if the Docker container running MySQL is limiting CPU utilization. When a data service running in Docker exhibits long response times due to slow JDBC calls, a critical first step is to verify if the Docker container running the database (e.g., MySQL) is being throttled by CPU utilization limits.

Application Deployment and Operations

Question

Refer to the exhibit. A distributed application contains data services that connect to databases via JDBC and to other remote services via HTTP. The overall response time is too long, and AppDynamics is used to investigate the root cause. From the application flow map, a specific data service running on Docker has been identified whose response time is over 10 seconds. Which action resolves the issue?

Options

  • AChange from a JDBC call to a HTTP call to retrieve data faster
  • BRun the AccountProfileMySQL service in Kubernetes
  • CExplore the JDBC queries looking for optimization opportunities
  • DVerify if the Docker container running MySQL is limiting CPU utilization

How the community answered

(46 responses)
  • A
    4% (2)
  • B
    4% (2)
  • C
    11% (5)
  • D
    80% (37)

Why each option

When a data service running in Docker exhibits long response times due to slow JDBC calls, a critical first step is to verify if the Docker container running the database (e.g., MySQL) is being throttled by CPU utilization limits.

AChange from a JDBC call to a HTTP call to retrieve data faster

Changing from JDBC to HTTP calls is an architectural redesign, not a direct performance optimization, and HTTP might introduce more overhead unless the API is highly optimized for the specific use case.

BRun the AccountProfileMySQL service in Kubernetes

Migrating a service from Docker to Kubernetes is a change in orchestration platform and does not inherently resolve underlying performance bottlenecks like slow queries or resource starvation if those issues persist in the new environment.

CExplore the JDBC queries looking for optimization opportunities

Exploring JDBC queries for optimization is a valid step, but if the underlying database container is resource-starved (e.g., CPU-limited), even optimized queries will perform poorly; checking container resources often takes precedence as an initial diagnostic.

DVerify if the Docker container running MySQL is limiting CPU utilizationCorrect

If the Docker container hosting the MySQL database has insufficient CPU limits, it will struggle to process queries efficiently, leading to slow JDBC calls and extended response times for the dependent data service. Checking and adjusting these resource limits is a fundamental troubleshooting step for performance issues in containerized environments.

Concept tested: Docker container resource troubleshooting

Source: https://docs.docker.com/config/containers/resource_constraints/

Topics

#Docker Performance#Container Resource Management#AppDynamics#Application Troubleshooting

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice