Quiz 10 Question 8 of 20

A financial services firm needs to call the Claude API from a serverless function that cold-starts frequently. The SDK client is initialized inside the handler function. During peak load, the team observes elevated p99 latency attributed to SDK initialization overhead on every cold start. What is the best practice for SDK client lifecycle management in serverless environments?

Select an answer to reveal the explanation.

Motivation