MOCK Q&A FLASHCARDS
- Anand Nerurkar
- Apr 22
- 2 min read
Updated: Apr 30
🧠MOCK Q&A FLASHCARDS
🔹 FLASHCARD 1
Q:Â What is your approach to breaking a monolith into microservices?
A:
Start with domain modeling using DDD.
Identify bounded contexts.
Apply Strangler Fig Pattern for incremental decomposition.
Build services with Spring Boot, containerize with Docker, deploy on AKS.
Implement API Gateway, service mesh, and CI/CD pipelines via Azure DevOps.
Ensure observability, rollback strategies, and security controls.
🔹 FLASHCARD 2
Q:Â How do you ensure scalability and performance in a microservices architecture?
A:
Stateless design with horizontal pod scaling in AKS.
Use Kafka for asynchronous processing.
Implement caching with Redis.
DB: Partitioning, indexing, and query optimization (PostgreSQL).
Set up autoscaling and use Azure Monitor for proactive scaling.
🔹 FLASHCARD 3
Q:Â How do you manage security across distributed microservices?
A:
OAuth2 and JWT with Azure AD.
API Gateway enforces throttling, rate limits, and IP whitelisting.
TLS everywhere, mTLS within Istio service mesh.
Secrets via Azure Key Vault.
Periodic vulnerability scans and dependency checks.
🔹 FLASHCARD 4
Q:Â Describe your CI/CD pipeline in Azure.
A:
Azure Repos → Azure Pipelines → AKS Deployment.
Steps: Code → Static Analysis (SonarQube) → Unit Tests → Build → Scan (Snyk) → Docker Push → Helm Deploy to AKS.
Approval gates and rollback setup.
IaC via Terraform for infrastructure consistency.
🔹 FLASHCARD 5
Q:Â What would you do if a service fails under load?
A:
Check logs (App Insights) and metrics (Azure Monitor).
Review thread dumps, GC logs.
Optimize DB access, offload heavy logic via async Kafka.
Add circuit breakers and rate limiting.
Scale horizontally and review autoscaler thresholds.
🔹 FLASHCARD 6
Q:Â How do you enforce consistency across development teams?
A:
Define and document architecture blueprints and coding standards.
Use ADRs and starter code templates.
Central governance via Architecture Review Board.
Automated CI rules for linting, API schema validation.
🔹 FLASHCARD 7
Q:Â How do you align microservices strategy with business goals?
A:
Use Capability Maps to connect tech to business domains.
Prioritize features based on value streams.
Present architecture options with cost-benefit impact.
Work closely with CTO and product owners to align roadmap.
🔹 FLASHCARD 8
Q: What’s your data strategy for a high-throughput mutual fund system?
A:
Normalize transactional data with PostgreSQL.
Use read replicas for scale.
Leverage event sourcing for audit trails.
Kafka for real-time ingestion and stream processing.
Partition large datasets by fund/region/time.
🔹 FLASHCARD 9
Q:Â How do you ensure SEBI and AMFI compliance in your architecture?
A:
Audit logs and immutable event storage.
Data encryption, retention, and masking policies.
Access control with RBAC via Azure AD.
Automate checks via Azure Policy and Defender for Cloud.
Regular security assessments and internal audits.
🔹 FLASHCARD 10
Q:Â How do you handle resistance to change during modernization?
A:
Educate stakeholders with PoCs and success stories.
Start with low-risk services to build momentum.
Get business buy-in through value demos.
Use KPIs to track impact (faster releases, fewer bugs).
Offer training and support to developers.
Comments