W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
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
#
Question
Technology
Topic
Level
1
Why 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 Security
ASP.NET Core
HTTPS, Certificates & Transport Security
Intermediate
2
How 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 Client
Java
Java Networking & HTTP Client
Intermediate
3
How 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 Client
Java
Java Networking & HTTP Client
Advanced
4
How do you generate and use a strongly-typed gRPC client in a .NET application to call a gRPC service?
ASP.NET Core › gRPC Services
ASP.NET Core
gRPC Services
Intermediate
5
How 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 Services
ASP.NET Core
gRPC Services
Intermediate
6
What is certificate pinning, and why is it generally discouraged for typical web API scenarios despite its security benefits?
ASP.NET Core › HTTPS, Certificates & Transport Security
ASP.NET Core
HTTPS, Certificates & Transport Security
Intermediate
7
How 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 Services
ASP.NET Core
gRPC Services
Advanced
8
How 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 Checks
ASP.NET Core
Health Checks
Advanced