Defend

Multimodal hybrid RAG on AWS

It’s your current flagship, so most interviews open here and go deep.

On your resume

Architecting an enterprise-grade hybrid RAG system on AWS (Bedrock, OpenSearch, Lambda) for a Tier-1 US finance client, enabling multimodal analysis of complex financial documents and images.

Cross-questions

6
A strong answer covers
  • Ingestion: documents land in S3, get parsed with layout awareness, chunked by structure, embedded and indexed in OpenSearch for both BM25 and k-NN.
  • Query path: authentication, query rewriting, hybrid retrieval with access filters, fusion, reranking, then generation on Bedrock with citations.
  • Guardrails and PII checks on input and output; traces, metrics and cost per request logged.
  • For each box, say why it’s there and what you’d swap it for at 10× scale.
Avoid

Listing AWS services without the data flow or the reasons behind each choice.

A strong answer covers
  • Layout-aware parsing (Textract or a vision model) so tables keep rows, columns and headers, stored as Markdown or HTML.
  • Charts and images captioned by a multimodal model, with the page image kept for citations.
  • Chunk by section and table, not fixed token windows; attach metadata such as document type, period, section and page.
  • Evaluate table questions separately, because they fail differently from prose.
Avoid

Saying a generic text splitter was enough.

A strong answer covers
  • Lexical and vector search in one engine, which hybrid retrieval needs.
  • AWS-native IAM, VPC and encryption, which a finance client’s security review favors.
  • Metadata filtering at query time for access control.
  • Trade-offs: HNSW memory cost and tuning effort. Alternatives were pgvector, Pinecone or Bedrock Knowledge Bases.
Avoid

“The client chose it.” Even when it was a constraint, show you know the trade-offs.

A strong answer covers
  • Lambda suits event-driven ingestion steps; one invocation can run for at most 15 minutes.
  • API Gateway’s default 29-second integration timeout and long streamed answers push chat traffic toward response streaming, ECS/Fargate or EKS.
  • Cold starts: provisioned concurrency, slim packages, connection reuse.
  • Say where you’d draw the line between Lambda and containers.
Avoid

Claiming Lambda is right for every part of the system.

A strong answer covers
  • Store access metadata (groups, classification) on every chunk at index time.
  • Apply the user’s permissions as a filter inside the retrieval query, so unauthorized chunks are never retrieved.
  • Never rely on the prompt or the model to hide content.
  • Test with leakage evals: users from different groups asking about restricted documents.
Avoid

Filtering after generation. By then the model has already seen the data.

A strong answer covers
  • Name one real weakness and its fix, such as building the golden eval set earlier, adding contextual retrieval, or moving agent parts onto AgentCore.
  • Explain what you learned that changed your mind.
Avoid

Saying you wouldn’t change anything.

Your numbers

Interviewers probe numbers first. Write exact values so you never have to improvise.

Next claim