Django
Django
• Answer: Django Signals allow decoupled applications to get notified when certain
events occur, like after a model is saved or deleted.
• Answer: Blueprints in Flask are used for organizing a project into smaller, reusable
components, making the application modular and scalable.
AWS S3 Questions
• Answer: Using pre-signed URLs, setting up IAM roles with limited permissions,
validating MIME types, and encrypting files at rest and in transit.
• Answer: Bucket Policies control access to the entire bucket or specific files, allowing
or denying permissions based on conditions.
• Answer: By using multipart upload API to upload parts in parallel for better
performance and reliability.
• Answer: By manually editing the conflicting files, staging them using git add, and
committing the changes.
• Answer: A Dockerfile contains instructions to build a Docker image like FROM, RUN,
COPY, CMD.
• Answer: Use smaller base images like Alpine, minimize the number of layers, use
.dockerignore, and combine RUN commands.
• Answer: Use orchestration tools like Docker Compose or Kubernetes for multi-
container setups, along with monitoring and scaling solutions.
• Answer: Indexing improves the speed of data retrieval by reducing the number of
records to scan. It is critical for optimizing read-heavy queries.
• Answer: INNER JOIN returns matching rows, LEFT JOIN returns all rows from the
left table, RIGHT JOIN returns all from right table, FULL JOIN returns all rows with
NULLs where there is no match.
• Answer: Using Django ORM and parameterized queries instead of raw SQL.
• Answer: By analyzing query plans, adding indexes, breaking complex queries into
smaller parts, and reducing unnecessary columns in SELECT statements.
• Answer: During the Digital Scoreboard project, we had a hard deadline for a product
demo. I prioritized key modules, worked extended hours, and collaborated closely
with frontend and DevOps teams to ensure delivery.
21. How do you handle a situation where you disagree with a team member on a
technical solution?
22. Describe a challenging bug you encountered and how you fixed it.
23. How do you ensure database schema changes don't break production?
• Answer: I use WebSocket with Redis pub/sub pattern, horizontally scale servers, and
use connection pooling.
• Answer: I follow tech blogs, newsletters like Python Weekly, take online courses,
and contribute to open-source projects.