0
0
Agentic_aiml~20 mins

Latency monitoring per step in Agentic Ai - Practice Problems & Coding Challenges

Choose your learning style8 modes available
Challenge - 5 Problems
🎖️
Latency Monitoring Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
command output
intermediate
1:30remaining
Interpreting latency output from a step monitoring tool
You run a latency monitoring command on a pipeline step and get this output:
Step: DataFetch
Latency: 120ms
Status: Success

What does this output tell you?
AThe DataFetch step has a latency of 120 microseconds and failed.
BThe DataFetch step failed after 120 seconds.
CThe entire pipeline took 120 milliseconds to run.
DThe DataFetch step took 120 milliseconds to complete successfully.
Attempts:
2 left
configuration
intermediate
2:00remaining
Configuring latency monitoring for a pipeline step
You want to configure latency monitoring for a step named 'ProcessData' using a YAML config. Which snippet correctly sets a threshold of 200ms to alert if exceeded?
A
steps:
  - name: ProcessData
    latency:
      max_time: 0.2
      alert_on_exceed: true
B
steps:
  - name: ProcessData
    latency_monitor:
      alert_threshold: 200ms
      enabled: yes
C
steps:
  - name: ProcessData
    latency_monitor:
      threshold_ms: 200
      alert: true
D
steps:
  - name: ProcessData
    monitor_latency:
      threshold: 200
      alert_enabled: true
Attempts:
2 left
troubleshooting
advanced
2:00remaining
Diagnosing missing latency data in monitoring logs
You notice that latency data for step 'Analyze' is missing in your monitoring logs. Which is the most likely cause?
AThe 'Analyze' step completed too quickly to record latency.
BThe latency monitoring agent was not enabled for the 'Analyze' step.
CThe monitoring logs are corrupted and missing all data.
DThe 'Analyze' step is running on a different server without network access.
Attempts:
2 left
workflow
advanced
2:30remaining
Optimizing pipeline based on latency monitoring data
Your latency monitoring shows step 'Transform' consistently takes 500ms, which is double the threshold. What is the best next step?
AInvestigate the 'Transform' step code and resources to identify bottlenecks.
BIgnore the latency since the step still completes successfully.
CIncrease the latency threshold to 600ms to avoid alerts.
DDisable latency monitoring for the 'Transform' step to reduce overhead.
Attempts:
2 left
best practice
expert
3:00remaining
Implementing latency monitoring with minimal performance impact
Which approach best balances accurate latency monitoring per step with minimal impact on pipeline performance?
AUse asynchronous logging of latency data after step completion to avoid blocking the step.
BAdd synchronous latency measurement code inside each step, logging before and after execution.
CCollect latency data only once per pipeline run to reduce overhead.
DDisable latency monitoring during peak hours to improve performance.
Attempts:
2 left