wasAsked.

Project Architecture

PwC · Role not specified · technical

Published

Asked in 2026 · System Design

Community answers

Posted by wasAsked editorial collection

Use a clear, layered explanation: business context, high-level components, request and data flow, cross-cutting concerns, deployment, and your role. Draw a simple diagram if possible. Example (adapt to your real project): Business context "A healthcare appointment and billing platform used by clinics; about 500 clinics and 5,000 daily users." High-level architecture - Client: Angular SPA (and a mobile app) authenticating with Microsoft Entra ID B2C or External ID. - Edge: Azure Front Door with WAF, then Azure API Management. - Services (ASP.NET Core): Appointments, Patients, Billing, Notifications, each in its own container on Azure Kubernetes Service (or Container Apps). - Data: Azure SQL Database per service, Redis cache, Blob Storage for documents, Azure AI Search for patient and appointment search. - Messaging: Azure Service Bus topics for domain events (AppointmentBooked, InvoiceGenerated), using the outbox pattern. - Background processing: Azure Functions for reminders, report generation and integration with insurance systems. Internal design of a service - Clean architecture: API layer (controllers and validation), application layer (use cases and CQRS handlers), domain layer (entities and rules), infrastructure layer (EF Core, external API clients). - Dependency injection, FluentValidation, and global exception handling with Problem Details. Cross-cutting concerns - Security: OAuth 2.0 and OIDC, role and policy-based authorization, tenant isolation by clinic, Key Vault and managed identities, encryption at rest and in transit, audit logs for sensitive data access. - Resilience: Polly timeouts, retries and circuit breakers; idempotent consumers. - Observability: OpenTelemetry tracing, Application Insights, dashboards and alerts. Deployment - GitHub Actions or Azure DevOps pipelines; Docker images in Azure Container Registry; Helm-based deployments with rolling updates; infrastructure as code (Bicep or Terraform); environments Dev, QA, UAT and Production with approvals. My role "I was responsible for the Billing service and its integration with payment and insurance providers, and I contributed to the shared authentication and logging libraries." Design decisions and trade-offs "We used event-driven communication to keep services decoupled, accepting eventual consistency for billing updates. For search we added Azure AI Search instead of complex SQL queries." Be ready for follow-up questions on scaling, failure handling, data consistency and what you would improve.

Ravindra Wadile · · 0 likes

Sign in to add your answer

Related interview topics