8 questions for “HttpClient & Resilience (Polly)”

Found in 1 field. Select a question to see its full answer.

Information Technology

8 questions in 2 technologies

#QuestionTechnologyTopicLevel
1Why is it important to validate a server's TLS certificate when making outbound HttpClient calls to external services, and what's the risk of disabling certificate validation? ASP.NET Core › HTTPS, Certificates & Transport SecurityASP.NET CoreHTTPS, Certificates & Transport SecurityIntermediate
2How would you configure HttpClient with custom timeouts, a proxy, and connection pooling behavior, and what's the difference between a connection timeout and a request/response timeout? Java › Java Networking & HTTP ClientJavaJava Networking & HTTP ClientIntermediate
3How would you implement retry logic with exponential backoff for HTTP requests made via HttpClient, given the client doesn't provide built-in retry support natively? Java › Java Networking & HTTP ClientJavaJava Networking & HTTP ClientAdvanced
4How do you generate and use a strongly-typed gRPC client in a .NET application to call a gRPC service? ASP.NET Core › gRPC ServicesASP.NET CoregRPC ServicesIntermediate
5How do you configure gRPC to work correctly when hosted behind a reverse proxy or load balancer, given gRPC's reliance on HTTP/2? ASP.NET Core › gRPC ServicesASP.NET CoregRPC ServicesIntermediate
6What is certificate pinning, and why is it generally discouraged for typical web API scenarios despite its security benefits? ASP.NET Core › HTTPS, Certificates & Transport SecurityASP.NET CoreHTTPS, Certificates & Transport SecurityIntermediate
7How would you implement deadline/timeout propagation across a chain of gRPC calls to prevent cascading resource exhaustion when a downstream service is slow? ASP.NET Core › gRPC ServicesASP.NET CoregRPC ServicesAdvanced
8How would you set a per-check timeout to prevent one slow or hanging dependency check from blocking the entire /health endpoint response indefinitely? ASP.NET Core › Health ChecksASP.NET CoreHealth ChecksAdvanced