← All interview experiences
AmazonMid-level · Software Engineer · November 2026 · USA

Amazon Interview Process - Mid-level Software Engineer

By an anonymous memberPublished
0

Software Development Engineer at Amazon. I applied online and a recruiter reached out within the first week. A phone screen, then a final loop, both mixing system design and coding: distributed systems, rate limiting, APIs and AI applications. No complex algorithm questions like BFS/DFS or dynamic programming, even though I'd prepared for them.

How I prepared

  • System design: distributed systems, REST APIs, event-driven architectures, caching strategies and rate limiters.

  • Coding: common backend components, data structures, algorithms and object-oriented design.

  • Practical AI scenarios: orchestration, token management and handling large amounts of LLM context.

Round 1: Phone screen (45 min)

System design

Only about 15 minutes, because the interviewer squeezed design and coding into one 45 min call.

"You own a service that handles AI requests from the entire company. You need to assign a quota to each team based on the number of tokens they can consume per minute. How would you design this?"

I first proposed in-memory storage on the server, with a hashmap tracking the last access time. The interviewer said that wouldn't work at scale. Next I proposed Redis as a central cache tracking each team's token use, with TTLs for the quota windows. They liked that and we moved on to coding.

Coding

Implement a token-based rate limiter:

  • A service is initialised with a team name and its token refill rate.

  • Each team starts with 100 tokens, refilled at the configured rate per minute, never above 100.

  • A function receives a request and decides whether it can be fulfilled. If there are enough tokens, approve it and deduct them.

It's basically the Token Bucket algorithm.

Round 2: Final loop

System design

"Design a system where servers can subscribe to events such as delivery, payment, etc. Expose a REST API to allow servers to subscribe. Whenever an event occurs, notify all servers subscribed to that event."

The framing was weird and I struggled to understand it at first. After some clarifying questions the interviewer explained it better. They went deep on storage and the schema, how notifications get sent back to the servers, and how to unsubscribe.

Coding: three problems

1. Handling large tool outputs in an AI orchestrator

Each tool call can return up to 64K tokens, but the model's context window is only 200K. How do you handle multiple tool calls without exceeding it?

I avoided sending the whole output to the model:

  • Store the full tool output locally.

  • Pass relevant keywords or search queries to the model.

  • Search the stored output and send back only the relevant lines.

2. Extend it to multiple tool names

How would you change the design for multiple tools, each producing large outputs?

3. Implement a Sliding Window Rate Limiter

Design and implement a rate limiter using the sliding window approach.

Outcome

Still waiting to hear back. I'll update this when I do.

Tips

  • Practise practical system design: rate limiters, event-driven systems, notification services, caching solutions and REST APIs.

  • Know Token Bucket and Sliding Window well enough to implement them.

  • Review distributed systems basics: Redis, TTLs, concurrency, shared state and scalability.

  • Prepare for AI engineering questions: token limits, context windows, tool calling and handling large LLM responses.

  • Clarify requirements before coding: edge cases, data structures and expected behaviour.

  • Explain your design decisions and think through trade-offs, not just solve the problem. The interviews were practical and based on real-world engineering scenarios.

Was this experience helpful?

Be the first to mark it helpful

No comments yet

Be the first to ask the author a question or share your own take.