IntermediateTECHNICAL
Walk me through how you would design the architecture for a typical CRUD web application that supports authentication, role-based access, and a responsive UI. Which technologies or patterns would you choose for the frontend, backend, and database layers, and why?
Full Stack Developer
General

Sample Answer

For a typical CRUD app with auth and roles, I like to keep things boring and reliable. On the frontend, I’d use React with TypeScript, React Router, and a component library like MUI for fast, consistent responsive UI. I’d structure it with feature-based folders and use React Query for data fetching, caching, and optimistic updates, which has cut perceived latency by ~30% on past projects. On the backend, I’d go with Node.js, TypeScript, and a framework like NestJS or Express, using a layered architecture (controllers → services → repositories). Auth would be JWT-based for APIs plus refresh tokens, with role-based access handled via middleware/guards and a clear permission model (e.g., roles + resource-based policies). For data, I’d pick PostgreSQL with an ORM like Prisma or TypeORM for safety and migrations, modeling audit fields and soft deletes. I’d also add Redis for caching hot reads, and OpenAPI/Swagger for documented, versioned REST endpoints.

Keywords

React + TypeScript frontend with React Query and responsive UINode.js + NestJS/Express layered architecture with JWT auth and RBACPostgreSQL with ORM, audit fields, and soft deletesCaching, API documentation, and clean separation of concerns
Related Questions

In your civil engineering studies, what specific design coursework or project work did you complete related to irrigation channels or canals (e.g., design of lined/unlined canals, distributaries, minors)? Describe one such design in detail, including how you determined discharge, permissible velocity, section dimensions, and lining choice for Gujarat-type soil and climate conditions.

IntermediateTECHNICAL

Based on your hydrology and irrigation engineering background, explain how you would estimate the irrigation water requirement for a kharif crop in a semi-arid region of Gujarat. Walk me through each step: from reference evapotranspiration estimation, crop coefficient selection, effective rainfall calculation, to arriving at canal discharge for a given command area.

IntermediateTECHNICAL

On your resume you mention working on a cross-functional project (e.g., involving multiple teams or stakeholders). Describe a situation from that project where priorities conflicted—how did you navigate the trade-offs and what was the final outcome?

IntermediateSITUATIONAL

Walk me through a recent multi-channel digital marketing campaign you managed end-to-end. How did you set objectives, choose channels, allocate budget, and measure success?

IntermediateBEHAVIORAL

In your resume you note improving or optimizing [a process, KPI, or metric]. What specific baseline metrics did you start from, what steps did you personally take, and how did you verify that the improvement was due to your changes rather than external factors?

IntermediatePROBLEM_SOLVING