Wednesday, August 19, 2026

Interview Preparation Guide

Interview Preparation Guide

Microsoft Power Platform · Power Automate Desktop (RPA) · Power BI · Copilot Studio · Azure · Azure AI · AI Foundry · Generative & Agentic AI

Target roles: Senior Developer · Technical Lead · Solution Architect · Power Platform Architect · AI Solution Architect

Contents

§Section§Section
0How to use this guide15Azure AI Foundry
1Power Platform positioning16Generative AI
2Power Apps17RAG architecture
3Microsoft Dataverse18Agentic AI
4Power Automate (cloud flows)19Microsoft Graph
5Power Automate Desktop & RPA20Integration architecture patterns
6Power Pages21Troubleshooting bank (50)
7Power BI22Security question bank
8Power Platform governance23Comparison question bank (25)
9ALM / DevOps24Scenario-based architect questions (50)
10Microsoft Copilot Studio25Certification-based question sets
11Azure core & architecture26Top 100 must-know questions
12Azure integration patterns27100 rapid-fire questions
13Azure & platform security28Mock interview
14Azure AI servicesAAppendix — cheat sheets

0. How to use this guide

If you haveDo this
7 daysFollow the study plan in §0.4, one block per day
2 daysRead §23 Comparisons, §26 Top 100, §27 Rapid-Fire, §24 Scenarios
2 hoursRead §27 Rapid-Fire + §23 Comparisons only
Interview tomorrowRead §0.2 framework, §26 Top 100, and rehearse 5 scenarios out loud

Answer style used throughout: Question → Short Answer → Keywords → Deeper points → Real-world example. Sections 1–20 use the full format. Sections 21–27 are deliberately compressed (answer + keywords) because they are drill material, not reading material.

0.1 What is actually being scored

Interviewers at this level are not testing recall. They score five things:

SignalWhat it sounds likeWhat kills it
Decision-making"I'd use X because Y; the trade-off is Z""X is better than Y" with no reason
Scale awarenessNaming limits, throughput, throttlingAnswers that only work for 100 rows
Security instinctMentioning identity, least privilege, secrets, DLP unpromptedWaiting to be asked about security
OperabilityLogging, monitoring, retry, rollback, alertingBuilding it but never running it
Honesty"I haven't used that; here's how I'd approach it"Bluffing a feature that doesn't exist

0.2 The 5-part answer framework

  1. Direct answer — one sentence. Never open with "It depends" alone; open with a position, then qualify.
  2. Keywords — 3–6 correct product terms so the interviewer can tick their sheet.
  3. Why / when — the decision rule.
  4. Trade-off — what you give up. This is the single biggest differentiator at architect level.
  5. Evidence — a real project, one or two lines, with a number in it.

Template for architecture questions: "Requirements → I'd assume X, Y, Z. Options are A and B. I'd choose A because of [constraint]. Key risks are [risk], mitigated by [control]. I'd measure success with [metric]."

Template for troubleshooting questions: "First I'd reproduce and scope it — is it all users or one, all records or some, always or intermittently. Then I'd check [telemetry source]. Most likely causes in order are 1, 2, 3. I'd fix the immediate issue, then add [control] so it can't recur."

0.3 Phrases to avoid, and what to say instead

AvoidSay instead
"It depends." (alone)"It depends on the transaction volume — under X I'd do A, above X I'd do B."
"Power Automate can do anything.""Power Automate is the right tool up to roughly this throughput; beyond it I'd move to Functions or Logic Apps Standard."
"We used SharePoint lists for everything.""We used SharePoint for document-centric data and Dataverse where we needed relational integrity and row-level security."
"AI handles that.""The model drafts it; a deterministic step validates it and a human approves anything above threshold."
"I'd give it Global Admin.""I'd use a service principal with the minimum application permission, secrets in Key Vault."

0.4 Seven-day study plan

DayFocusSections
1Power Apps + Dataverse2, 3
2Power Automate cloud + ALM4, 9
3PAD / RPA architecture5
4Power BI + Governance7, 8
5Copilot Studio + Azure AI + AI Foundry10, 14, 15
6Azure core, integration, security11, 12, 13
7GenAI, RAG, Agentic AI + full mock16, 17, 18, 28

Every day: 20 minutes of §27 Rapid-Fire out loud, and one §24 scenario answered on a whiteboard.

0.5 Currency of terminology — say the new name

Using an old product name is the fastest way to sound out of date. Using the old name and flagging the rename sounds current.

Old / legacy nameCurrent name
Common Data Service (CDS)Microsoft Dataverse
Azure Active Directory (Azure AD)Microsoft Entra ID
Azure Cognitive ServicesAzure AI Services
Azure Cognitive SearchAzure AI Search
Form RecognizerAzure AI Document Intelligence
Power Virtual AgentsMicrosoft Copilot Studio
Azure AI StudioAzure AI Foundry
Power BI datasetSemantic model
Power BI Premium (P SKU) capacityFabric capacity (F SKU)
Power Apps portalsPower Pages
Flow / Microsoft FlowPower Automate (cloud flows)
UI flowsDesktop flows (Power Automate Desktop)
Bot Framework Composer scenariosCopilot Studio / Azure AI Foundry Agent Service

0.6 Accuracy note — read this before quoting numbers

Service limits, licensing, SKU names and AI product surfaces in this space change every few months. Every architectural pattern, comparison and decision rule in this guide is durable. The specific numeric limits (request caps, row limits, timeout values, capacity units) and licensing statements are the volatile part.

Before the interview, re-verify these against Microsoft Learn:

  • Power Platform request limits and API entitlements per licence
  • Power Automate flow run duration, action counts, and pagination caps
  • Dataverse API service protection limits (per user, per server, sliding window)
  • Power BI / Fabric capacity SKU behaviour and Direct Lake fallback rules
  • Copilot Studio message/capacity packs and Azure AI Foundry model availability by region

In an interview, the safe phrasing is: "The limit is in the low thousands of requests per five minutes per user — I'd confirm the current number, but the design implication is that I must batch and back off." Naming the implication scores higher than naming the number.


1. Power Platform — Positioning

Q1.1 Where does Power Platform stop and Azure start?

Short answer: Power Platform is the right choice when the logic is business-owned, the data volume is moderate, and speed of delivery matters. I move to Azure when I need custom compute, high throughput, long-running or stateful processing, complex transformations, or protocol-level control.

Keywords: low-code, citizen vs pro developer, throughput, service limits, fusion teams

If pushed deeper:

  • The boundary is usually drawn by request limits and run duration, not by capability.
  • Fusion team pattern: Power Apps for UI, Dataverse for data, Azure Functions/Service Bus for heavy lifting behind a custom connector.
  • Cost inverts at scale — per-user licensing is cheap for hundreds of users, expensive for machine-to-machine volume, where Azure consumption wins.

Real-world example: An intake app in Power Apps writing to Dataverse, with a plug-in publishing to Service Bus; an Azure Function does the 2-million-row reconciliation nightly and writes results back. Business users own the front half, engineering owns the back half.


2. Power Apps

Q2.1 Canvas vs model-driven — how do you actually choose?

Short answer: Canvas when the UX is prescribed, task-focused, or mobile-first and data may be multi-source. Model-driven when the data model is the application — Dataverse-based, relational, record-management heavy, with security and forms driven by metadata.

Keywords: Power Fx, metadata-driven, Dataverse, responsive, business process flows

If pushed deeper:

  • Model-driven gives you security roles, views, charts, BPFs and audit almost for free; canvas makes you build them.
  • Canvas gives pixel control and non-Dataverse sources; model-driven does not.
  • Custom pages let you embed canvas inside model-driven — the usual answer for "we need one bespoke screen inside a CRM-style app."

Real-world example: A field inspection app was canvas (offline, camera, GPS, one screen per step); the back-office case management on the same Dataverse tables was model-driven.

Q2.2 Explain delegation and why it matters at scale

Short answer: Delegation means the query is pushed down to the data source instead of being evaluated in the client. If a function isn't delegable, Power Apps pulls only the first N rows (default 500, max 2000) and filters locally — so you get silently wrong results, not an error.

Keywords: delegable functions, data row limit, source-specific delegation, silent truncation

If pushed deeper:

  • Delegation support varies by connector: Dataverse and SQL are strong, SharePoint is partial, Excel and collections are not delegable at all.
  • Common non-delegable traps: Search() on some sources, in operator, complex If() inside Filter(), calculated columns.
  • Fixes: reshape the filter to delegable operators, add filtered views/stored procedures at the source, or pre-aggregate.

Real-world example: A 400k-row SharePoint list returned only 2000 records in a "total open items" count. We moved the aggregate to a Dataverse rollup and had the app read a single value.

Q2.3 A canvas app takes 25 seconds to load. How do you fix it?

Short answer: Measure first with Monitor, then attack in this order: reduce OnStart work, remove non-delegable and unfiltered queries, cut the number of controls and nested galleries, replace ClearCollect-everything with on-demand loading, and enable delayed load / concurrent calls.

Keywords: Monitor, OnStart vs App.StartScreen, Concurrent, delayed load, ClearCollect, N+1 lookups

If pushed deeper:

  • Classic killers: pulling reference data for the whole tenant into collections at start; galleries with lookups inside labels (N+1 calls); images stored as base64 in the data source.
  • Use Concurrent() for independent calls; set App.StartScreen instead of Navigate in OnStart.
  • Move calculated logic to Dataverse (rollups, calculated columns, views) so the client does less.

Real-world example: An app loading 12 collections at start dropped from 25s to 4s by loading only the two needed for screen one, and lazy-loading the rest on navigation.

Q2.4 How do you implement role-based security in Power Apps?

Short answer: Enforce it at the data layer, never in the UI. In Dataverse that's security roles, business units, teams, field-level security and hierarchy; the app only reflects those permissions by hiding controls the user can't use anyway.

Keywords: security roles, business units, owner/access teams, field-level security, least privilege

If pushed deeper:

  • UI-only security is a finding in every audit — the connector is callable directly.
  • For non-Dataverse sources, security lives in the source (SharePoint permissions, SQL row-level security) plus a service layer.
  • Use User() and role lookup tables sparingly and only for cosmetics.

Real-world example: Salary fields were hidden with a Visible formula until a pen test read them through the Dataverse Web API. We moved them to field-level security profiles.

Q2.5 How do you handle large datasets in a canvas app?

Short answer: Don't move the data to the app — move the question to the data. Use delegable filters, server-side views, search-as-you-type with a minimum character count, paging galleries, and pre-computed aggregates.

Keywords: delegation, views, rollups, paging, indexed columns, search patterns

Real-world example: A 2-million-row product catalogue was surfaced through a Dataverse view plus a search box requiring 3 characters, returning the top 50 matches.

Q2.6 What's your ALM approach for Power Platform?

Short answer: Everything in a solution, source-controlled, deployed by pipeline. Unmanaged only in Dev; managed in Test/UAT/Prod. Environment variables and connection references for anything environment-specific, and no manual changes downstream.

Keywords: solutions, managed vs unmanaged, environment variables, connection references, Power Platform Pipelines, PAC CLI, solution checker

If pushed deeper:

  • Publisher and prefix decided on day one; changing later is painful.
  • Separate solutions by lifecycle, not by team — core data model, shared components, app-specific.
  • Solution checker in the build gate; export unpacked solution to Git for real diffs.

Real-world example: Moving from manual export/import to Azure DevOps with Power Platform Build Tools cut a release from a half-day of clicking to a 20-minute pipeline with rollback.

Q2.7 Component libraries and PCF — when do you build one?

Short answer: Component library when the reuse is a composition of existing controls and Power Fx. PCF when you need a control the platform doesn't have — custom rendering, third-party JS libraries, or heavy client-side interaction.

Keywords: component library, PCF, TypeScript, code components, versioning

If pushed deeper:

  • PCF carries a maintenance and ALM cost: build tooling, dependency updates, browser testing.
  • Component library updates are versioned; consuming apps must accept the update explicitly.

Real-world example: A Gantt-style scheduler needed PCF; a branded header/footer and toast pattern went in a component library used by 14 apps.

Q2.8 How do you handle errors properly in a canvas app?

Short answer: Wrap data operations in IfError/Patch result checks, surface a user-friendly message, log the technical detail somewhere queryable, and never let a silent failure look like success.

Keywords: IfError, Errors(), error handling, telemetry, Application Insights

If pushed deeper:

  • Enable Application Insights on the app for real user telemetry and unhandled errors.
  • Distinguish validation errors (fix in UI), business errors (show and stop), and system errors (log, retry, escalate).

Real-world example: A submit button that "worked" but silently failed on a required-field violation was found only after we wired IfError to an Application Insights custom event.

Q2.9 Offline in canvas apps — how far does it go?

Short answer: Offline works for capture-and-forward scenarios: cache reference data locally with SaveData/LoadData, queue user submissions, and sync when connectivity returns with conflict handling. It does not give you a full offline relational database.

Keywords: SaveData/LoadData, Connection.Connected, sync queue, conflict resolution, offline-first (mobile)

Real-world example: Warehouse scanning app queued up to 500 scans offline, deduplicated on sync by a client-generated GUID so retries were idempotent.

Q2.10 Power Apps vs Power Pages — when do you use Pages?

Short answer: Power Pages when the audience is external and unauthenticated or authenticated via an external identity provider, and you need public, SEO-capable web pages over Dataverse. Power Apps for internal, licensed users.

Keywords: external users, table permissions, web roles, authentication providers, anonymous access

If pushed deeper:

  • Pages security is its own model: web roles + table permissions + page permissions. It is not the same as Dataverse security roles for internal users.
  • Never expose a Dataverse table to Pages without explicitly scoped table permissions — global read is the classic breach.

Real-world example: A supplier onboarding portal used Power Pages with Entra External ID, table permissions scoped by contact-to-account relationship.


3. Microsoft Dataverse

Q3.1 Where should business logic live in Dataverse?

Short answer: Push logic as close to the data as the requirement allows. Business rules for simple field-level validation, calculated/rollup columns for derived values, plug-ins for transactional and integrity-critical logic, Power Automate for orchestration and long-running or cross-system work.

Keywords: business rules, calculated/rollup columns, plug-ins, real-time workflow, cloud flows

Decision rule:

RequirementUse
Must be enforced regardless of entry pointPlug-in (sync)
Must roll back with the transactionPlug-in (sync, in transaction)
Simple show/hide/require/defaultBusiness rule
Derived value on the recordCalculated / rollup column
Cross-system, approvals, long-runningCloud flow
Reusable server-side operation with a contractCustom API

Real-world example: Credit-limit enforcement lived in a synchronous pre-operation plug-in so it applied to the app, the API and the data migration equally.

Q3.2 Synchronous vs asynchronous plug-ins

Short answer: Synchronous runs inside the user's transaction — it can block and roll back the operation, but it adds latency and has a hard timeout (2 minutes). Asynchronous runs after commit via the async service — it can't stop the operation but it can be slower and retried.

Keywords: pipeline stages, pre-validation, pre-operation, post-operation, transaction, 2-minute limit, async job

If pushed deeper:

  • Pre-validation runs outside the transaction (use for cheap guard checks and for cases where you must inspect state before the DB transaction begins).
  • Long-running work in a sync plug-in is an anti-pattern — call out to a queue instead and process asynchronously.
  • Never call an external HTTP endpoint synchronously in a plug-in unless you accept its latency and failure as your own.

Real-world example: An ERP sync originally in a sync plug-in caused user-visible 8-second saves; we changed it to post-operation async publishing to Service Bus.

Q3.3 Plug-in vs Power Automate — how do you decide?

FactorPlug-inCloud flow
ExecutionIn-transaction, server-side, msOut of band, seconds
RollbackYes (sync)No
Skill requiredC#, pro-dev, ALMLow-code
BypassableNoYes (fires on data events only)
Best forIntegrity, validation, complex logicOrchestration, approvals, connectors
Timeout2 minutes30 days (flow), 120s per HTTP action

Short answer: Plug-in when correctness and atomicity matter; flow when the work is orchestration across systems or needs human interaction. If the rule must never be bypassed and must be instant, it is a plug-in.

Q3.4 Dataverse vs SharePoint vs SQL

Short answer: Dataverse for relational business data needing row-level security, auditing and business logic. SharePoint for documents and lightweight lists. Azure SQL when you need full T-SQL power, very high volumes, or existing schema ownership.

Keywords: relational integrity, RLS, audit, throughput, licensing, delegation

If pushed deeper:

  • Cost: Dataverse capacity and per-user licences vs SharePoint "included" vs SQL consumption. Interviewers like hearing cost as a design factor.
  • Hybrid is common and correct: Dataverse for transactional records, SharePoint for the document body, linked by document location.
  • Virtual tables let Dataverse surface SQL/external data without copying it — good for read-mostly reference data, weak for heavy write scenarios.

Real-world example: Case records in Dataverse, case attachments in SharePoint via server-side document integration — kept Dataverse storage cost down by an order of magnitude.

Q3.5 Explain the Dataverse security model end to end

Short answer: Access is the union of: security roles (privileges per table per access level), business unit scope, team membership (owner and access teams), record sharing, field-level security for sensitive columns, and hierarchy security for manager access.

Keywords: privileges, access levels (User/BU/Parent-child BU/Org), owner team, access team, sharing, field security profile, hierarchy security

If pushed deeper:

  • Roles are additive — you cannot subtract with a second role. Least privilege means designing the base role carefully, not layering.
  • Access teams scale better than sharing for ad-hoc collaboration; owner teams for structural ownership.
  • Modern approach in large tenants: matrix data access with business units decoupled from the org chart (a record's owning BU no longer has to match the user's).

Real-world example: A regional model used BU-per-region plus access teams for cross-region deal collaboration, avoiding thousands of individual shares.

Q3.6 Virtual tables vs standard tables vs elastic tables

StandardVirtualElastic
StorageDataverseExternal sourceDataverse (NoSQL-backed)
Best forTransactional relational dataRead-mostly external data, no copyVery high volume, high write throughput, semi-structured
RelationshipsFullLimitedLimited
TransactionsFullDepends on providerEventual consistency characteristics
Watch out forStorage costLatency, provider limits, filtering/sorting pushdownFeature gaps vs standard tables

Short answer: Standard by default; virtual to avoid duplicating an authoritative external source; elastic when you have IoT-style or telemetry-style volumes that would crush a standard table.

Q3.7 Dataverse is throwing service protection (429) errors. What do you do?

Short answer: Respect the Retry-After header with exponential backoff, reduce concurrency, batch with $batch or ExecuteMultiple, and spread work across identities/time rather than hammering with one service principal.

Keywords: service protection limits, 429, Retry-After, ExecuteMultiple, $batch, concurrency, backoff

If pushed deeper:

  • Limits are per user per server over a sliding window — number of requests, execution time, and concurrent requests.
  • Bulk operations: CreateMultiple/UpdateMultiple messages are far more efficient than row-by-row.
  • Design fix: move bulk loads out of interactive paths entirely and schedule them.

Real-world example: A nightly 300k-row sync was rewritten from per-row Create to CreateMultiple batches of 100 with jittered backoff; runtime went from 6 hours to 40 minutes and 429s disappeared.

Q3.8 How do you optimise a slow Dataverse query?

Short answer: Reduce columns, filter server-side, avoid link-entity explosion, add or verify indexes on filter/sort columns, avoid contains on large text, and check whether the cost is really in the query or in the calling loop.

Keywords: FetchXML, OData $select/$filter, indexes, link-entity, plug-in trace log, N+1

Real-world example: A view filtering on a non-indexed custom text column took 40 seconds; adding an index and switching from contains to startswith brought it to under a second.

Q3.9 Custom API vs custom action vs Power Automate

Short answer: Custom API is the modern, solution-aware, code-first way to expose a server-side operation with a defined contract and privilege binding. Custom actions are the legacy equivalent. Power Automate is for orchestration, not for exposing a reusable transactional operation.

Keywords: custom API, request/response parameters, privilege binding, plug-in-backed, ALM

Real-world example: "Recalculate entitlement" was exposed as a custom API so the canvas app, the portal and a nightly job all called the same logic with the same validation.

Q3.10 How do you migrate 5 million records into Dataverse?

Short answer: Stage and cleanse outside Dataverse, load in dependency order using alternate keys for upsert, use bulk messages with controlled parallelism, disable non-essential plug-ins/flows/audit during load, and reconcile with counts and checksums afterwards.

Keywords: alternate keys, upsert, CreateMultiple, bulk load, disable async plug-ins, audit off, reconciliation

If pushed deeper:

  • Sequence: reference/lookup tables → parents → children → relationships → attachments.
  • Alternate keys make the load idempotent — you can rerun a failed batch safely.
  • Turn auditing off for the migration window or your storage bill and performance both suffer.

Real-world example: A 5M-row CRM migration ran in 9 hours over a weekend with 8 parallel streams, alternate-key upserts and a reconciliation report by source system ID.

Q3.11 Alternate keys — why do architects care?

Short answer: They give you a natural business key for upsert and integration, so external systems don't need to know Dataverse GUIDs — which makes integrations idempotent and re-runnable.

Keywords: alternate key, upsert, idempotency, integration key, index

Q3.12 Auditing and duplicate detection — the practical view

Short answer: Enable auditing selectively per table and column, because it consumes storage fast; use duplicate detection rules for user-driven entry, and alternate keys/upsert for system-driven entry.

Keywords: audit, log storage, retention, duplicate detection rules, alternate keys

Real-world example: Auditing enabled tenant-wide consumed the whole log capacity in three months; we scoped it to 6 tables and 30 columns that compliance actually required.


4. Power Automate — Cloud Flows

Q4.1 What makes a flow "enterprise-grade"?

Short answer: Solution-aware, environment-variable driven, connection references not personal connections, structured error handling with scopes and run-after, retry with backoff, idempotent processing, secure inputs/outputs, centralised logging, and monitoring with alerts.

Keywords: solutions, connection references, environment variables, scopes, run-after, retry policy, idempotency, secure inputs, service principal

If pushed deeper:

  • Run under a service principal or service account, never a person's identity — the flow dies when they leave.
  • Every flow should answer: what happens if it runs twice? what happens if the target is down? who finds out it failed?
  • Child flows for reusable logic; keep the parent readable.

Real-world example: We standardised a "Try / Catch / Finally" scope pattern with a shared child flow that writes failures to a Dataverse error table and raises a Teams alert with the run URL.

Q4.2 How do you implement error handling in a flow?

Short answer: Use scopes as Try/Catch/Finally: put work in a Try scope, add a Catch scope configured to run after "has failed / timed out / is skipped", capture result() of the Try scope for detail, log it, and then terminate with a proper status.

Keywords: scope, configure run after, result(), Terminate, error table, correlation ID

Deeper points:

  • result('TryScope') gives you per-action status, inputs, outputs and error messages in one object.
  • Terminate with Failed so the run shows as failed in analytics — swallowing errors makes monitoring lie.
  • Add a correlation ID (workflow().run.name) to every log entry so support can trace end to end.

Q4.3 A flow must process 1 million records. How do you design it?

Short answer: Don't loop a million times in one run. Use a dispatcher/worker split: one flow pages the source and writes work items to a queue (Service Bus or a Dataverse queue table), and workers process batches idempotently with concurrency control and checkpointing.

Keywords: pagination, batching, queue, dispatcher/performer, concurrency control, idempotency, checkpoint, throttling

If pushed deeper:

  • Apply-to-each has item caps and concurrency limits; run duration and action counts are finite.
  • Honest architect answer: at that volume Power Automate is the orchestrator, not the engine — Azure Functions, Durable Functions or Data Factory does the work.
  • Checkpoint progress so a failure resumes rather than restarts.

Real-world example: 1.2M invoice lines: a scheduled flow queued 12k batches of 100 to Service Bus; a Durable Function fan-out processed them in 25 minutes with dead-lettering for poison messages.

Q4.4 How do you prevent duplicate processing?

Short answer: Make the operation idempotent: use a business key with upsert (alternate keys in Dataverse), maintain a processed-items table or dedupe key, and use trigger conditions plus concurrency control so the same record can't be picked up twice.

Keywords: idempotency, alternate key, upsert, dedupe table, trigger conditions, concurrency, optimistic locking

Real-world example: A payment flow used the source system's transaction ID as an alternate key; retries and duplicate triggers became harmless no-ops.

Q4.5 How do you handle throttling and API limits?

Short answer: Design for it rather than react to it: batch requests, reduce per-item calls, set retry policy to exponential with jitter, respect Retry-After, lower apply-to-each concurrency, and spread load across time or identities.

Keywords: 429, Retry-After, exponential backoff, jitter, degree of parallelism, request limits, batching

If pushed deeper:

  • Default retry policy is fixed/exponential with a small count — for flaky downstreams, raise it deliberately rather than accepting defaults.
  • Watch the hidden multiplier: a loop of 10,000 items with 3 actions each is 30,000 API calls.

Q4.6 Power Automate vs Logic Apps

FactorPower AutomateLogic Apps
AudienceBusiness users, in-tenantEngineers, Azure subscription
LicensingPer user / per flowConsumption or Standard hosting
ALMSolutions, Power Platform pipelinesARM/Bicep, Azure DevOps
NetworkingLimited (data gateway)VNet integration (Standard), private endpoints
Best forUser-triggered, M365-centric, approvalsHigh volume, system integration, network isolation

Short answer: Same underlying engine and connector set; different governance, hosting and networking. If it needs VNet integration, high throughput or subscription-level cost control, it's Logic Apps.

Q4.7 When do you use a child flow?

Short answer: For reuse of a defined operation (logging, notification, a shared transformation), to keep parent flows readable, and to isolate error handling. They must live in the same solution and require a connection reference strategy.

Keywords: child flow, solution-aware, reuse, run-only permissions, response action

Watch out: child flow calls count toward limits too, and debugging spans two run histories — use a correlation ID.

Q4.8 Service principal vs service account for flows

Short answer: Service principal (application user in Dataverse) is the correct answer for unattended, machine-to-machine work — no licence, no password, no MFA problem, secret in Key Vault. Service accounts persist only where a connector genuinely can't do app-only auth.

Keywords: application user, app registration, client secret/certificate, Key Vault, managed identity, least privilege

Real-world example: Migrating 60 flows from a shared service account to an application user removed a password-rotation outage that hit us twice a year.

Q4.9 How do you monitor flows in production?

Short answer: Don't rely on run history. Emit structured logs to a central store (Dataverse table, Log Analytics, or Application Insights), alert on failure rate and duration, and use the CoE starter kit or Power Platform admin analytics for tenant-level view.

Keywords: run history, Application Insights, Log Analytics, CoE Starter Kit, alerting, SLA, correlation ID

Q4.10 Explain trigger conditions and why they matter

Short answer: Trigger conditions filter at the trigger so the flow doesn't start at all — saving runs, API calls and licence consumption, and preventing loops where a flow's own update re-triggers it.

Keywords: trigger condition, infinite loop prevention, modifiedby filter, run consumption

Real-world example: A flow updating the record it triggered on looped until we added a trigger condition excluding updates made by the flow's own service principal.

Q4.11 Secure inputs/outputs and DLP — the practical answer

Short answer: Turn on secure inputs/outputs for any action handling secrets or personal data so values are masked in run history; enforce connector separation with DLP policies so business data can't flow to consumer connectors.

Keywords: secure inputs/outputs, DLP, business/non-business/blocked, connector groups, run history exposure

Watch out: run history is visible to anyone with flow access — that is the leak path people forget.

Q4.12 How do you troubleshoot a flow that fails intermittently?

Short answer: Scope it — which action, which inputs, what time of day. Check for throttling (429), downstream timeouts, data-shape variation (null or missing properties in Parse JSON), and concurrency collisions. Add logging of the failing input, then reproduce with that payload.

Keywords: run history, 429, Parse JSON schema mismatch, null handling, timeout, concurrency

Common causes, in order: throttling → schema variation → expired connection → downstream outage → race condition.


5. Power Automate Desktop & RPA Architecture

Q5.1 When is RPA the right answer — and when is it a mistake?

Short answer: RPA is right when the target system has no API, the process is rule-based and stable, and the business case is short-term or bridging. It's a mistake when an API exists, when the process changes constantly, or when RPA is used to avoid fixing a broken process.

Keywords: API-first, surface automation, brittleness, process stability, technical debt

Real-world example: We automated a legacy claims mainframe screen because no API existed, but replaced an "RPA into SharePoint" bot with a Graph API call in week two.

Q5.2 Explain dispatcher/performer architecture

Short answer: The dispatcher reads the source of work and writes individual transaction items into a queue; performers pick items up one at a time, process them, and set the outcome. It decouples discovery from processing, enables parallel bots, gives per-item retry, and makes the run auditable.

Keywords: dispatcher, performer, work queue, transaction item, retry, parallelism, decoupling

If pushed deeper:

  • One failure no longer kills the batch — only that item fails.
  • You can scale performers horizontally without touching the dispatcher.
  • Queue item status (queued / in-progress / success / business exception / system exception / retried) is your audit trail.
  • In Power Platform this is work queues in Power Automate (or a Dataverse table acting as a queue) plus desktop flows on machine groups.

Real-world example: Nightly invoice posting: dispatcher extracts 8,000 invoices to a work queue at 19:00; four unattended performers on a machine group process them by 23:00 with per-item retry.

Q5.3 Design an unattended solution processing 100,000 transactions nightly

Short answer: Dispatcher → queue → horizontally scaled performers on a machine group, with idempotent transactions keyed on a business ID, per-item retry with a cap, exception classification, checkpointing, monitoring/alerting, and a reconciliation report at the end of the window.

Architecture points to say out loud:

ConcernDesign decision
ThroughputMeasure single-item time, divide the window, derive bot count; add 30% headroom
ScalingMachine group, unattended licences, cloud-hosted machines if elastic capacity is needed
ReliabilityPer-item retry (max 2–3), then route to exception queue for human review
IdempotencyBusiness key checked in target before write
RecoveryQueue state survives restart; performer resumes with next item
SecurityCredentials in Key Vault / Azure Key Vault-backed environment variables, never in the flow
ObservabilityEvery item logs start/end/outcome; dashboard on queue depth and failure rate
Business continuityIf the window is missed, a catch-up run must be safe to execute

Reality check to mention: at 100k items, first ask whether an API or database-level integration exists. RPA at that volume is a cost and fragility decision, not a default.

Q5.4 Business exception vs system exception

Short answer: A business exception means the data is invalid for the process — retrying won't help, so route it to a human queue. A system exception is environmental — the app hung, the network dropped — so retry, and only escalate after the retry cap.

Keywords: business exception, system exception, retry policy, exception queue, human-in-the-loop

Real-world example: "Invoice already posted" is a business exception (skip, log); "SAP GUI not responding" is a system exception (kill process, relaunch, retry).

Q5.5 A bot fails randomly. How do you troubleshoot it?

Short answer: Randomness usually means timing, environment or state — not logic. Check for hard waits instead of dynamic waits, changed UI selectors, session/lock-screen issues on unattended machines, popups, slow application load, and residual state from the previous transaction.

Diagnostic order:

  1. Is it the same step every time, or different steps? Same step = selector/timing; different = environment.
  2. Screenshots/logs at failure — PAD captures these; make sure logging is on.
  3. Machine state — is the session locked, is another process holding focus, was the machine patched?
  4. Selector robustness — replace index/position-based selectors with attribute-based ones.
  5. Reset state at the start of every transaction ("init" step: close apps, clear temp, fresh login).

Keywords: dynamic wait, UI selectors, session lock, popup handling, state reset, screenshots

Q5.6 How do you make UI automation robust?

Short answer: Prefer non-UI paths first (API, database, file drop). Where UI is unavoidable: use stable attribute-based selectors, wait for elements rather than sleeping, handle popups explicitly, verify the outcome after each critical action, and reset application state per transaction.

Keywords: selector strategy, wait for element, verification step, popup handling, state reset, retries

Q5.7 How do you manage credentials securely in PAD?

Short answer: Never in the flow. Use Azure Key Vault referenced via environment variables or a Key Vault connector, or the platform's credential store; rotate automatically; scope each bot identity to only the systems it needs; and use separate identities per process for auditability.

Keywords: Key Vault, environment variables, credential store, rotation, least privilege, per-process identity, no hardcoded secrets

Watch out: logging inputs can leak a secret — turn on secure inputs/outputs for actions handling credentials.

Q5.8 Attended vs unattended vs hosted machines

AttendedUnattendedHosted / hosted group
RunsWith a signed-in user presentOn its own, no userMicrosoft-provisioned VM, no user
Best forAssisting a person in real timeBatch/back-office volumeElastic capacity without managing VMs
LicenceAttended userUnattended add-on per botUnattended + hosted capacity
RiskInterrupts the user's desktopSession/lock handling, error visibilityNetworking/domain-join constraints

Q5.9 How do you migrate from another RPA platform (UiPath/Blue Prism/Automation Anywhere) to PAD?

Short answer: Treat it as re-implementation with process improvement, not a code port. Inventory and rationalise processes first, kill anything an API can replace, map framework concepts (REFramework → dispatcher/performer + work queues), rebuild the shared framework once, then migrate highest-value/lowest-complexity processes first.

Keywords: process inventory, rationalisation, REFramework mapping, work queues, pilot, parallel run, cutover

If pushed deeper:

  • Expect 30–50% of processes not to be worth migrating.
  • Run old and new in parallel for a cycle and reconcile outputs before decommissioning.
  • Rebuild reusable components (logging, exception handling, config, retry) as a shared template before migrating anything.

Real-world example: 42 bots audited, 14 replaced by Graph/API calls, 21 migrated, 7 retired; the shared "framework" desktop flow template was built and tested before any process moved.

Q5.10 How do you build logging and auditability into an RPA estate?

Short answer: Every transaction writes a structured record: process name, run ID, transaction key, start/end, outcome, exception type, message. Store it centrally (Dataverse or Log Analytics), and report queue depth, throughput, success rate, average handling time and exceptions by type.

Keywords: structured logging, transaction ID, correlation, Dataverse/Log Analytics, dashboards, SLA, audit trail

Real-world example: A Power BI dashboard over the RPA log table showed FTE-hours saved and exception hot spots — it was what secured the following year's budget.

Q5.11 How do you handle a failed transaction mid-process?

Short answer: Classify it, roll the application back to a known state, mark the queue item with the outcome and reason, retry if it's a system exception up to the cap, and never leave the target system half-updated — design each transaction to be atomic or compensatable.

Keywords: atomicity, compensation, known state, retry cap, queue item status, dead letter

Q5.12 PAD performance — how do you speed up a slow bot?

Short answer: Remove fixed sleeps, minimise UI interaction (use Excel/CSV/SQL/API paths where possible), avoid opening and closing applications per transaction, batch reads, and parallelise across performers rather than optimising a single bot to death.

Keywords: dynamic waits, bulk read, session reuse, parallel performers, UI interaction cost


6. Power Pages

Q6.1 How is Power Pages security designed?

Short answer: Three layers: authentication (Entra External ID, Azure B2C, or another provider), web roles assigned to contacts, and table permissions scoped by relationship (contact, account, or self) with page permissions on top.

Keywords: web roles, table permissions, contact/account scope, anonymous role, page permissions, WebAPI

Watch out: Global-scope table permissions on a public-facing site are the classic data-exposure incident. Scope by relationship and test as an anonymous user.

Q6.2 Power Pages performance and scale

Short answer: Cache aggressively, minimise Liquid queries per page, use the Web API for client-side data instead of rendering everything server-side, use CDN for static assets, and load-test before go-live because external traffic is unpredictable.

Keywords: Liquid, FetchXML, caching, Web API, CDN, capacity


7. Power BI

Q7.1 Import vs DirectQuery vs Direct Lake

FactorImportDirectQueryDirect Lake
Where data livesIn-memory model (VertiPaq)Source systemOneLake Delta tables
FreshnessAs of last refreshReal-timeNear real-time from lakehouse
PerformanceFastestDepends on sourceNear-import speed, no refresh
Model featuresFull DAXRestrictedBroad, with fallback rules
Best forMost reportsHuge/volatile data, compliance on no-copyFabric lakehouse workloads

Short answer: Import by default because it's fastest and gives full DAX. DirectQuery when the data is too large to import or must be real-time. Direct Lake when you're on Fabric and the data already lives in OneLake — you get import-like speed without a refresh cycle.

Watch out: Direct Lake can fall back to DirectQuery under certain conditions (model size, unsupported operations) — know that fallback exists and that it changes performance characteristics.

Q7.2 Measure vs calculated column

Short answer: Calculated columns are computed at refresh, stored in the model, evaluated in row context — they cost memory. Measures are computed at query time in filter context and cost nothing until used. Default to measures.

Keywords: row context, filter context, VertiPaq storage, query time, context transition

Rule of thumb: if you need to slice/group by it, it's a column; if it aggregates, it's a measure.

Q7.3 Explain filter context, row context and context transition

Short answer: Filter context is the set of filters applied to the model when a measure evaluates. Row context exists when iterating a table row by row (calculated columns, SUMX). CALCULATE converts row context into filter context — that's context transition.

Keywords: CALCULATE, filter context, row context, context transition, iterators (SUMX/FILTER)

Interview tip: be able to say "CALCULATE is the only function that modifies filter context" and give a one-line example: CALCULATE([Sales], Product[Category]="Bikes").

Q7.4 Why star schema, and what breaks without it?

Short answer: Star schema (fact + dimensions, single-direction relationships) is what the VertiPaq engine and DAX are optimised for. Snowflaked or flat models cause slower queries, ambiguous relationship paths, wrong totals with bidirectional filters, and unmaintainable measures.

Keywords: fact, dimension, cardinality, single vs bidirectional, ambiguity, role-playing dimension

Real-world example: A 14-table flat model with 6 bidirectional relationships produced wrong totals; refactoring to a star with a date dimension fixed both correctness and a 22-second visual.

Q7.5 How do you optimise a slow Power BI report?

Short answer: Diagnose first with Performance Analyzer and DAX Studio — separate visual rendering time from DAX query time from source query time. Then: fix the model (star schema, reduce cardinality, remove unused columns), fix the DAX (avoid FILTER over whole tables, avoid nested iterators), and reduce visuals per page.

Diagnostic order:

  1. Performance Analyzer → which visual, and is time in DAX or in rendering?
  2. DAX Studio → server timings; storage engine vs formula engine split.
  3. High formula engine time = bad DAX; high storage engine time = model/cardinality problem.
  4. Reduce columns (especially high-cardinality text and datetime), split datetime into date + time.
  5. Aggregations, incremental refresh, or composite model if the source is the bottleneck.

Keywords: Performance Analyzer, DAX Studio, VertiPaq Analyzer, cardinality, formula engine, storage engine, aggregations

Q7.6 RLS vs OLS

Short answer: RLS filters rows by a DAX predicate per role; OLS hides entire columns or tables from a role. RLS controls what data you see; OLS controls what the model even exposes.

Keywords: row-level security, object-level security, USERPRINCIPALNAME(), dynamic RLS, roles

Deeper: dynamic RLS uses a user-mapping table and USERPRINCIPALNAME() so you maintain one role instead of dozens. Test with "View as role". RLS does not apply to users with edit permission on the workspace.

Q7.7 Incremental refresh — when and how?

Short answer: When a large fact table has an immutable history and only a recent window changes. Define RangeStart/RangeEnd parameters in Power Query, set the archive and refresh windows, and ensure the source folds the query so partitions filter at source.

Keywords: RangeStart/RangeEnd, query folding, partitions, archive period, detect data changes

Watch out: if query folding breaks, incremental refresh silently pulls everything — verify folding.

Q7.8 Power Query vs DAX — where should transformation happen?

Short answer: As far upstream as possible: source system > Power Query (M) > DAX. Shaping, cleansing, type-setting and joins belong in Power Query; business calculations that must respond to slicers belong in DAX.

Keywords: query folding, ETL vs analytics, M language, measures, upstream principle

Q7.9 Deployment pipelines and Power BI ALM

Short answer: Dev → Test → Prod workspaces with deployment pipelines, parameterised data sources rebound per stage, semantic models separated from reports so multiple reports share one governed model, and source control via Fabric Git integration.

Keywords: deployment pipelines, workspaces, dataset/report separation, parameters, Git integration, XMLA endpoint

Q7.10 Gateway architecture — what does an architect need to say?

Short answer: Use a standard mode gateway in a cluster for high availability, sized on memory and concurrency, placed close to the data source, with separate clusters for production and dev, and monitored for queue length and failures.

Keywords: on-premises data gateway, cluster, high availability, personal mode (avoid), throughput, mashup engine memory

Q7.11 Dashboard vs report vs semantic model vs app

Short answer: Semantic model = the data and logic. Report = multi-page interactive analysis over a model. Dashboard = single-page pinned tiles across multiple reports (Power BI Service only). App = the packaged, permissioned distribution unit for consumers.

Keywords: semantic model, report, dashboard, app, workspace, audience

Q7.12 Give a DAX answer that shows seniority

Short answer example — YoY growth:

Sales YoY % =
VAR CurrentSales = [Total Sales]
VAR PriorSales =
    CALCULATE ( [Total Sales], SAMEPERIODLASTYEAR ( 'Date'[Date] ) )
RETURN
    DIVIDE ( CurrentSales - PriorSales, PriorSales )

Points to make: use VAR for readability and single evaluation; use DIVIDE not / to handle divide-by-zero; time intelligence requires a marked date table with contiguous dates.

Common performance anti-pattern to call out:

-- Slow: iterates and filters the whole table
Bad = CALCULATE ( [Sales], FILTER ( ALL ( Sales ), Sales[Amount] > 100 ) )

-- Better: predicate pushed to the storage engine
Good = CALCULATE ( [Sales], KEEPFILTERS ( Sales[Amount] > 100 ) )

8. Power Platform Governance

Q8.1 Design Power Platform governance for a 20,000-user enterprise

Short answer: Four pillars: environment strategy, data loss prevention, managed environments with controlled sharing, and a Centre of Excellence for visibility and adoption. Governance should make the paved road the easiest road, not block makers.

The structure I'd present:

PillarDecisions
EnvironmentsPersonal productivity (default, locked down), team dev, project Dev/Test/UAT/Prod, sandbox refresh policy
Default environmentRestrict creation, apply strictest DLP, treat as personal-productivity only
DLPBusiness / non-business / blocked connector groups; separate policies per environment tier; block custom connectors in default
Managed environmentsSharing limits, weekly digest, maker welcome content, solution checker enforcement
IdentityService principals for automation; no personal connections in production
ALMSolutions + pipelines mandatory for anything business-critical
MonitoringCoE Starter Kit, admin analytics, capacity alerts, orphaned-object cleanup on leaver events
Support modelTiered: personal → departmental → IT-supported, with promotion criteria
EnablementMaker onboarding, templates, champions, office hours

Keywords: environment strategy, DLP, managed environments, CoE Starter Kit, tenant settings, capacity, service principals, paved road

Trade-off to state: over-restriction pushes makers to shadow IT (personal tenants, Excel macros). Governance is a risk-appetite conversation, not a technical one.

Q8.2 What does DLP actually control — and what does it not?

Short answer: DLP controls which connectors can be used together in the same app or flow, by classifying connectors as business, non-business or blocked. It does not inspect data content, does not classify records, and does not stop a user copying data by hand.

Keywords: connector classification, cross-group blocking, endpoint filtering, environment-scoped policies, custom connector control

Q8.3 How do you handle a maker who leaves the company?

Short answer: Orphaned objects are found and reassigned proactively: CoE inventory identifies apps/flows owned by disabled accounts, ownership is reassigned to a service principal or team, and connection references are re-bound. Production automation should never have been on a personal identity in the first place.

Keywords: orphaned apps/flows, ownership reassignment, service principal, connection references, leaver process

Q8.4 Capacity and licensing — the architect's view

Short answer: Know the three cost drivers: user licences, Dataverse capacity (database/file/log), and API request entitlements. Design decisions that inflate any of them — auditing everything, storing attachments in Dataverse, per-row API calls — are cost decisions.

Keywords: per-user/per-app licensing, Dataverse capacity, API request entitlement, pay-as-you-go, capacity alerts

Verify current licensing on Microsoft Learn before quoting specifics — this changes often.


9. ALM / DevOps

Q9.1 Describe your end-to-end ALM pipeline

Short answer: Dev environment (unmanaged) → export unpacked solution to Git → build pipeline runs solution checker and packs → deploy managed to Test → automated/UAT validation → deploy managed to Prod, with environment variables and connection references supplying environment-specific values, and a documented rollback.

Keywords: unmanaged in dev, managed downstream, PAC CLI, Power Platform Build Tools, solution checker, environment variables, connection references, deployment settings file

Pipeline stages to name:

StageActions
CommitExport solution, unpack, commit to Git branch, PR review
BuildPack solution, run Solution Checker, fail on high-severity
Deploy TestImport managed, apply deployment settings, run smoke tests
Deploy UATSame artifact, business validation
Deploy ProdSame artifact, change ticket, post-deploy verification
RollbackRestore prior managed solution version / environment backup

Q9.2 Managed vs unmanaged solutions

UnmanagedManaged
EditableYesNo (except allowed customisations)
Use inDev onlyTest / UAT / Prod
UninstallDoesn't remove components cleanlyRemoves its components
LayeringBase layerLayers on top, supports patches/upgrades

Short answer: Unmanaged is source; managed is a deployment artifact. Importing unmanaged into production is the single most common ALM mistake — it makes the environment unmaintainable because you can no longer cleanly upgrade or remove.

Q9.3 Why environment variables and connection references?

Short answer: They externalise environment-specific configuration so the same managed artifact moves through every stage. Without them you either edit in production or maintain divergent solutions — both break repeatability.

Keywords: deployment settings file, configuration as data, no hardcoding, same artifact promotion

Q9.4 How do you roll back a bad Power Platform release?

Short answer: Re-import the previous managed solution version, or restore the environment from a system/manual backup taken pre-deployment for data-affecting changes. The real answer is that rollback must be tested, and data migrations need a forward-fix plan because you can't un-migrate rows.

Keywords: solution version, environment backup/restore, forward fix, pre-deploy backup, change window

Q9.5 How do you source-control Power Platform properly?

Short answer: Export and unpack the solution with PAC CLI so components become individual files, commit those, and review real diffs in pull requests. Committing a .zip gives you storage, not version control.

Keywords: pac solution unpack, Git, meaningful diffs, branch strategy, PR review, Fabric/Power Platform Git integration


10. Microsoft Copilot Studio

Q10.1 What is Copilot Studio and where does it fit?

Short answer: Copilot Studio is the low-code platform for building conversational agents that combine authored topics, generative answers over enterprise knowledge, and actions via connectors, Power Automate and Dataverse — governed by Power Platform ALM, DLP and environment strategy.

Keywords: agents, topics, generative answers, knowledge sources, actions, orchestration, channels

Positioning line to use: "Copilot Studio is where the business owns the agent; Azure AI Foundry is where engineering owns it."

Q10.2 Copilot Studio vs Azure AI Foundry vs Azure OpenAI

Copilot StudioAzure AI FoundryAzure OpenAI (direct)
AudienceMakers, business teamsAI engineersDevelopers
Build styleLow-code, topics + generative orchestrationCode-first + portal, agents, prompt flow, evaluationsAPI calls, you build everything
GovernancePower Platform (DLP, environments, solutions)Azure RBAC, networking, Azure PolicyAzure RBAC
ChannelsTeams, M365 Copilot, web, voice, out of the boxYou build the surfaceYou build everything
Best forEnterprise assistants over M365/Dataverse contentCustom AI apps, multi-agent, evaluation-heavyFull control, bespoke stacks

Short answer: Copilot Studio for fast, governed, channel-ready enterprise agents. AI Foundry when you need custom orchestration, model choice, evaluation pipelines, tracing and deeper Azure integration. Direct Azure OpenAI when you're building the whole application yourself.

Q10.3 Topic-based vs generative orchestration

Short answer: Topics are deterministic — a trigger phrase leads to a defined dialog, and you can guarantee behaviour. Generative orchestration lets the model choose which topics, knowledge and actions to use to fulfil a request. Use deterministic topics where compliance or transactions demand certainty; generative where the question space is open.

Keywords: trigger phrases, deterministic dialog, generative orchestration, tool/action selection, guardrails

Architect line: "High-risk actions stay in authored topics with explicit confirmation; open Q&A goes generative."

Q10.4 How do you prevent hallucinations in an enterprise agent?

Short answer: Ground it: restrict answers to approved knowledge sources, turn off general model knowledge where accuracy matters, require citations, set a confidence/fallback path to "I don't know, here's how to reach a human", and evaluate against a test set before and after every change.

Keywords: grounding, RAG, knowledge sources, citations, fallback topic, content moderation level, evaluation set, human escalation

If pushed deeper:

  • Most "hallucination" complaints in production are actually retrieval failures — bad chunking, missing documents, or poor source hygiene.
  • Curate sources: one authoritative version of each document, remove drafts and duplicates.
  • Log unanswered and low-confidence questions; that log is your content backlog.

Real-world example: An HR agent's accuracy went from ~70% to ~92% not by changing models but by de-duplicating a SharePoint library and re-chunking policies by section heading.

Q10.5 How do you secure an enterprise copilot?

Short answer: Authenticate users with Entra ID, honour source-level permissions so answers respect what the user can already see, scope actions with least-privilege connections, apply DLP to connectors, keep it in a governed environment with ALM, and log conversations for audit.

Keywords: Entra authentication, security trimming, least privilege, DLP, environment isolation, audit, PII handling

The critical point: if an agent runs actions under a single service identity, it can leak data across users. Either use the user's identity, or filter results by the user's permissions explicitly.

Q10.6 How do you connect an agent to Dataverse and to Power Automate?

Short answer: Dataverse can be a knowledge source for retrieval and a data source for actions; Power Automate flows are called as actions with typed inputs and outputs, letting the agent perform transactions the model itself can't be trusted to do.

Keywords: actions, flow inputs/outputs, Dataverse knowledge, connectors, authentication context

Design rule: the model decides what to do; a deterministic flow decides whether it's allowed and performs it.

Q10.7 How do you do ALM and analytics for Copilot Studio?

Short answer: Agents are solution components — build in Dev, export managed, deploy through pipelines with environment variables for knowledge source URLs and connection references for actions. Use built-in analytics for resolution rate, escalation rate, engagement and abandoned sessions, and pair it with a manual quality review.

Keywords: solutions, environment variables, connection references, analytics, resolution rate, escalation rate, CSAT

Q10.8 Design an enterprise support agent

Short answer structure:

LayerDecision
ChannelsTeams first (where users are), then web widget
IdentityEntra SSO; agent knows who is asking
KnowledgeCurated SharePoint/knowledge base, security-trimmed, chunked by heading
Deterministic topicsPassword reset, ticket status, high-risk actions with confirmation
Generative answersOpen how-do-I questions with citations
ActionsCreate/update ticket via ServiceNow or Dataverse through Power Automate
EscalationConfidence threshold or user request → live agent with transcript handoff
GuardrailsBlocked topic list, content moderation, no PII echo, action allowlist
MeasurementContainment rate, deflection, accuracy sample, CSAT, cost per conversation
ALMSolutions, pipelines, evaluation set run per release

11. Azure — Core & Architecture

Q11.1 App Service vs Functions vs Container Apps vs AKS

App ServiceFunctionsContainer AppsAKS
ModelManaged web appsEvent-driven, serverlessServerless containers, microservicesFull Kubernetes
ScaleInstance-basedPer-execution, scale to zeroKEDA-based, scale to zeroYou control it
Ops burdenLowLowestLow-mediumHigh
Use whenClassic web APIs/sitesShort event-driven work, glueContainerised microservices without K8s opsYou need full K8s control/ecosystem

Short answer: Default to the most managed option that meets the requirement. Functions for event-driven glue, App Service for standard web workloads, Container Apps for containerised microservices without Kubernetes overhead, AKS only when you genuinely need Kubernetes primitives.

Q11.2 Service Bus vs Event Grid vs Event Hubs

Service BusEvent GridEvent Hubs
PurposeEnterprise messaging (commands)Event routing / reactive notificationsHigh-throughput event streaming/ingestion
GuaranteesOrdering (sessions), transactions, dead-letter, at-least-onceAt-least-once delivery, retryPartitioned stream, consumer offsets, replay
VolumeModerate, high value per messageDiscrete eventsMillions of events/sec
Use forOrder processing, decoupled workflows"Blob created → do something"Telemetry, IoT, logs, analytics pipelines

One-liner: Service Bus = "do this"; Event Grid = "this happened, react"; Event Hubs = "here's a firehose".

Q11.3 Managed identity vs service principal

Short answer: Managed identity is a service principal, but Azure manages its credential lifecycle — no secrets to store or rotate. Use system-assigned for a single resource's identity, user-assigned when several resources share one identity or the identity must outlive the resource. Only use an app registration with a secret/certificate when the caller is outside Azure.

Keywords: system-assigned, user-assigned, no secrets, RBAC, federated credentials, workload identity

Extra credit: mention workload identity federation to eliminate secrets for GitHub Actions/external workloads.

Q11.4 How do you secure traffic between Power Platform and Azure?

Short answer: Authenticate with Entra ID (service principal or managed identity) rather than API keys, expose the Azure service through API Management with policies and rate limits, use a custom connector with OAuth, and where the connector supports it use private endpoints or the Power Platform's VNet support; secrets stay in Key Vault.

Keywords: OAuth 2.0, custom connector, API Management, Key Vault, private endpoint, VNet integration, DLP, IP firewall

Honest caveat to state: connector-level networking has limits — check current support for VNet/private endpoint from Power Platform before promising it.

Q11.5 API Management vs Application Gateway vs Front Door

API ManagementApplication GatewayFront Door
LayerAPI gateway (L7, API-aware)Regional L7 load balancer + WAFGlobal L7 entry point + WAF + CDN
AddsPolicies, throttling, versioning, subscriptions, developer portalPath routing, SSL offload, WAFGlobal routing, failover, caching, acceleration
ScopeAPI lifecycleRegionalGlobal/multi-region

Short answer: They compose rather than compete: Front Door for global entry and failover, Application Gateway for regional L7/WAF, API Management for API policy, security and lifecycle. If the question is "expose and govern an API", it's APIM.

Q11.6 Storage redundancy — LRS, ZRS, GRS, RA-GRS, GZRS

Short answer: LRS = three copies in one datacentre. ZRS = across availability zones in one region. GRS = LRS plus async copy to a paired region. RA-GRS = GRS with read access to the secondary. GZRS = ZRS plus geo-replication. Choose by RPO/RTO and cost, not by habit.

Keywords: durability, availability zones, paired region, RPO/RTO, failover, read access secondary

Q11.7 Design a highly available Power Platform + Azure solution

Short answer structure:

  • Front end: Power Apps / Power Pages (platform-managed HA).
  • Data: Dataverse (geo-redundant by design) as system of record; Azure SQL with zone-redundant configuration and geo-replication for the reporting store.
  • Integration: Service Bus (premium, zone-redundant) with dead-lettering; retries with backoff everywhere.
  • Compute: Functions on a zone-redundant plan or Container Apps, stateless, idempotent handlers.
  • Global entry: Front Door for multi-region failover of custom APIs.
  • Ops: health probes, Application Insights availability tests, alerts, runbooks, tested DR with documented RPO/RTO.

Say this: "HA is about surviving component failure; DR is about surviving region loss. They need different designs and different budgets — I'd get the business to state RPO and RTO before choosing."

Q11.8 Durable Functions — when and why?

Short answer: When you need stateful orchestration in code: fan-out/fan-in over thousands of items, long-running workflows with checkpoints, human interaction with timeouts, or chained steps that must survive restarts.

Keywords: orchestrator, activity functions, fan-out/fan-in, event sourcing, checkpointing, eternal orchestration

Real-world example: Batch processing of 12,000 queue items fanned out across activity functions with automatic checkpointing — a host restart resumed instead of restarting.


12. Azure Integration Patterns

Q12.1 Which integration pattern do you pick?

PatternUse whenAzure services
Request/responseCaller needs an immediate answerAPIM + Functions/App Service
Fire and forget / queueDecoupling, load levelling, retriesService Bus queue
Publish/subscribeMany consumers, independent scalingService Bus topics, Event Grid
StreamingHigh-volume telemetry, replayEvent Hubs
Batch / ETLScheduled bulk movementData Factory, Synapse, Fabric pipelines
Change data captureReact to source changesEvent Grid, CDC, Dataverse events

Q12.2 How do you integrate Power Platform with Service Bus?

Short answer: Dataverse can publish events to Service Bus via the service endpoint registration (plug-in registration tool), giving you reliable, decoupled downstream processing without polling. Flows and Functions consume from the queue with dead-lettering for poison messages.

Keywords: service endpoint, plug-in registration, async publishing, dead letter queue, decoupling, at-least-once

Q12.3 Power Automate vs Azure Functions

Short answer: Power Automate for connector-rich orchestration with low code and business ownership; Functions for custom logic, high volume, precise performance and cost control. In practice a flow calls a Function for the heavy part.

Keywords: connectors vs code, throughput, cost model, cold start, maintainability, fusion team

Q12.4 How do you design idempotent integrations?

Short answer: Every message carries a unique business key; the receiver checks or upserts on that key; state transitions are safe to repeat; and you assume at-least-once delivery everywhere. Idempotency is what makes retries safe, and retries are what make distributed systems reliable.

Keywords: idempotency key, upsert, at-least-once, deduplication window, exactly-once illusion, compensating transaction


13. Azure & Platform Security

Q13.1 Explain Zero Trust as it applies to this stack

Short answer: Verify explicitly, use least privilege, assume breach. Practically: Entra ID with Conditional Access and MFA for every identity including service identities where possible, RBAC scoped to resource, network isolation with private endpoints, secrets in Key Vault, and full telemetry so you can detect and contain.

Keywords: Conditional Access, least privilege, JIT/PIM, private endpoint, Key Vault, Defender for Cloud, segmentation

Q13.2 OAuth 2.0 and OpenID Connect in one answer

Short answer: OAuth 2.0 is authorisation — it issues access tokens so an app can call an API on a user's or its own behalf. OIDC is an identity layer on top of OAuth that adds an ID token so the app knows who the user is. Delegated permissions act as the user; application permissions act as the app.

Keywords: authorisation code flow with PKCE, client credentials, delegated vs application permissions, scopes, ID token vs access token, consent

Q13.3 How do you protect against prompt injection and AI data leakage?

Short answer: Treat model output as untrusted input. Separate instructions from retrieved content, filter and validate model output before acting on it, keep tools/actions on an allowlist with least-privilege identities, require confirmation for high-impact actions, and never rely on the system prompt alone as a security control.

Keywords: prompt injection, indirect injection via documents, output validation, tool allowlist, least privilege, human-in-the-loop, content filters, grounding boundaries

Say this: "The system prompt is a guideline, not a security boundary. The security boundary is the permission on the tool."

Q13.4 How do you handle sensitive data in an AI solution?

Short answer: Classify first, then minimise: don't send what isn't needed, redact or tokenise PII before it reaches the model, keep data in-region, disable or scope logging that would persist prompts, apply source-level security trimming to retrieval, and document the data flow for privacy review.

Keywords: data classification, PII redaction, data residency, retention, security trimming, purview, DLP, abuse-monitoring opt-out considerations


14. Azure AI Services

Q14.1 Map the Azure AI portfolio in one answer

NeedService
Extract data from forms, invoices, IDsAzure AI Document Intelligence
Read text from images/scansAzure AI Vision (OCR)
Classify, summarise, extract entities, detect PIIAzure AI Language
Speech to text, text to speech, translationAzure AI Speech
Retrieval for RAG (keyword + vector + semantic)Azure AI Search
Frontier/LLM models, chat, embeddingsAzure OpenAI in Azure AI Foundry
Custom ML training and MLOpsAzure Machine Learning
Build, evaluate, monitor AI apps and agentsAzure AI Foundry
Filter harmful content, jailbreak detectionAzure AI Content Safety

Q14.2 Design an enterprise document-processing solution

Short answer: Ingest → classify → extract → validate → integrate, with a human-in-the-loop path and full audit.

Reference flow to describe:

  1. Documents land in Blob Storage or arrive via email/SharePoint.
  2. Event Grid triggers processing.
  3. Azure AI Document Intelligence extracts fields (prebuilt model where one exists, custom model where it doesn't).
  4. Confidence scoring: high confidence auto-posts; low confidence routes to a review queue in Power Apps.
  5. Business validation rules run deterministically (totals, dates, duplicate check by invoice number).
  6. Results written to Dataverse/ERP with the source document linked.
  7. Metrics: straight-through-processing rate, field-level accuracy, exception reasons.

Keywords: Document Intelligence, prebuilt vs custom model, confidence threshold, human-in-the-loop, straight-through processing, audit trail

Trade-off to state: "The business will ask for 100% automation. I'd target a confidence threshold that gives high precision, and measure straight-through-processing rate as the real KPI."

Q14.3 Embeddings, vector search, semantic search, hybrid search

Short answer: An embedding is a numeric vector representing meaning. Vector search finds nearest neighbours by similarity. Keyword search matches terms. Hybrid runs both and fuses the results, and semantic ranking re-ranks the top results with a language model. Hybrid + semantic ranking is usually the best default for enterprise RAG.

Keywords: embedding model, cosine similarity, ANN/HNSW, BM25, hybrid retrieval, reciprocal rank fusion, semantic reranker

Why it matters: pure vector search fails on exact identifiers (part numbers, policy codes); pure keyword fails on paraphrase. Hybrid covers both.


15. Azure AI Foundry

Q15.1 What is Azure AI Foundry?

Short answer: Azure's unified platform for building, evaluating, deploying and monitoring AI applications and agents — model catalog and deployment, prompt/agent orchestration, tool integration, evaluation and tracing, content safety, and enterprise controls like RBAC, networking and observability, organised into projects.

Keywords: projects, model catalog, agents, tools, evaluations, tracing, content safety, governance

Q15.2 Foundry vs "just calling Azure OpenAI"

Short answer: Calling Azure OpenAI directly gives you inference. Foundry gives you the lifecycle around it: model comparison and choice, agent and tool orchestration, systematic evaluation, tracing of multi-step runs, safety configuration and monitoring. For anything going to production and being iterated on, the lifecycle is the point.

Keywords: lifecycle, evaluation, observability, model choice, governance, deployment

Q15.3 How do you evaluate an AI application?

Short answer: Build a golden dataset of representative inputs with expected outputs, then measure with both automated metrics and human review: groundedness, relevance, retrieval quality, coherence, safety, and task success. Run evaluation as a gate on every prompt, model or index change — treat prompts as code.

Keywords: golden dataset, groundedness, relevance, retrieval precision/recall, LLM-as-judge, regression testing, A/B, human review

If pushed deeper:

  • Separate retrieval metrics from generation metrics — most failures are retrieval.
  • Track cost and latency alongside quality; a 3% accuracy gain for 4× cost is a business decision.
  • Online evaluation matters too: sample production traffic, log user feedback, monitor drift.

Real-world example: A 120-question golden set caught a 9-point groundedness regression when a model version changed — before users saw it.

Q15.4 How do you monitor an AI application in production?

Short answer: Trace every request end to end (prompt, retrieved chunks, tool calls, tokens, latency, output), log user feedback, dashboard quality and cost metrics, and alert on failure rate, latency, refusal rate and content-safety triggers.

Keywords: tracing, spans, token usage, latency, drift, feedback loop, content safety signals, Application Insights

Q15.5 How do you secure an enterprise AI application?

Short answer: Managed identity for service-to-service auth, private endpoints and disabled public network access, data kept in-region, content filters configured per use case, tool permissions on least privilege, prompts and outputs logged with PII handling agreed, and RBAC scoped per project.

Keywords: managed identity, private endpoint, network isolation, RBAC, content filters, data residency, key rotation, Key Vault


16. Generative AI

Q16.1 RAG vs fine-tuning

RAGFine-tuning
AddsKnowledge, current factsBehaviour, format, style, domain tone
FreshnessImmediate (update the index)Requires retraining
CostRetrieval + longer promptsTraining + hosting
TraceabilityCitations possibleNone
Best forEnterprise knowledge, policies, docsConsistent structured output, niche language, latency/token reduction

Short answer: RAG when the problem is knowledge; fine-tuning when the problem is behaviour. Most enterprise problems are knowledge problems, so start with RAG plus good prompting; fine-tune only when you can show prompting and retrieval have hit a ceiling.

Q16.2 How do you reduce hallucinations?

Short answer: Ground answers in retrieved content, instruct the model to answer only from context and to say when it doesn't know, require citations, lower temperature for factual tasks, validate output structure, and evaluate groundedness continuously. Fix retrieval before blaming the model.

Keywords: grounding, citations, refusal path, temperature, structured output, groundedness metric, chunking quality

Q16.3 How do you reduce token cost and latency?

Short answer: Right-size the model per task (small model for classification/routing, large only where reasoning is needed), trim prompts and retrieved context, cache repeated results, use streaming for perceived latency, batch where possible, and set max token limits.

Keywords: model routing, context trimming, prompt caching, semantic cache, streaming, max_tokens, small language models

Real-world example: Routing 70% of traffic (simple FAQ) to a small model and reserving the large model for complex cases cut cost roughly in half with no measurable quality drop on the evaluation set.

Q16.4 How do you select a model?

Short answer: Define the task and the constraints first — accuracy target, latency budget, cost per 1,000 calls, context length, region availability, data-handling requirements — then benchmark two or three candidates on your evaluation set. Never select on leaderboard scores alone.

Keywords: evaluation set, latency, cost per token, context window, region/data residency, modality, model lifecycle/deprecation

Q16.5 Temperature, top-p, context window, tokens — the crisp answers

TermOne-line answer
TokenThe unit the model reads and generates; roughly ¾ of a word in English
Context windowMaximum tokens of prompt + response the model can consider at once
TemperatureRandomness of sampling; low for factual/deterministic, higher for creative
Top-pNucleus sampling — sample from the smallest set of tokens whose cumulative probability exceeds p
System promptInstructions setting role, constraints and output format for the whole conversation
Few-shotProviding examples in the prompt to demonstrate the desired pattern

17. RAG Architecture

Q17.1 Describe a production RAG architecture

Short answer: Ingest → chunk → embed → index → retrieve → rerank → generate with citations → evaluate and monitor. Security trimming applies at retrieval, not after generation.

Detail worth saying:

StageDecisions
IngestionSource of truth per document, incremental sync, change detection, deletion handling
ChunkingSemantic/heading-based chunks with overlap; size tuned to the content, not copied from a blog
MetadataSource, permissions, date, document type — this is what enables filtering and trimming
IndexAzure AI Search with vector + keyword fields; hybrid retrieval
RetrievalHybrid search, metadata filters, top-K tuned, semantic reranking
GenerationAnswer only from context, cite sources, refuse when unsupported
EvaluationRetrieval precision/recall + groundedness + answer relevance
OpsReindex pipeline, freshness monitoring, unanswered-question log

Q17.2 RAG retrieves irrelevant documents. How do you fix it?

Diagnostic order:

  1. Is the right chunk even in the index? (ingestion/permission/filter problem)
  2. Is it retrieved but ranked low? (switch to hybrid, add semantic reranker, raise top-K then rerank)
  3. Are chunks too large or split mid-concept? (re-chunk on headings, add overlap)
  4. Is the query poorly formed? (query rewriting, expand acronyms, use conversation history)
  5. Is the embedding model wrong for the domain? (test alternatives on a labelled set)

Keywords: chunking strategy, hybrid search, reranking, query rewriting, metadata filters, top-K, embedding model choice

Q17.3 How do you keep RAG answers permission-aware?

Short answer: Store the ACL or group identifiers as index metadata and filter at query time by the caller's groups, or use a search platform feature that trims by identity. Never retrieve broadly and filter after generation — the content is already in the prompt by then.

Keywords: security trimming, ACL metadata, group claims, filter at retrieval, per-user index vs filtered index


18. Agentic AI

Q18.1 What is an agent, and how is it different from a chatbot or a workflow?

Short answer: A chatbot responds. A workflow executes predefined steps. An agent is given a goal and decides which tools and steps to use to achieve it, observing results and adapting — with memory, tool access and a stopping condition.

Keywords: goal-directed, planning, tool/function calling, observation loop, memory, autonomy, termination condition

Q18.2 Agent vs deterministic workflow — when do you choose which?

Short answer: Deterministic workflow when the path is known, repeatable and auditable — which covers most business processes. Agent when the path varies by input, the decision space is large, or the work requires interpretation. In practice, use an agent to decide and a workflow to execute.

Decision table:

SignalChoose
Regulated, must be reproducibleWorkflow
Same steps every timeWorkflow
High cost of a wrong actionWorkflow (or agent + human approval)
Unstructured input, variable pathAgent
Requires synthesis across sourcesAgent
Needs cost predictabilityWorkflow

Say this: "Autonomy is a cost — you pay for it in predictability, testability and audit. I only buy it where variability justifies it."

Q18.3 Design an agent that reads emails, analyses requests, retrieves knowledge, updates Dataverse and requests approval

Answer structure:

LayerDesign
TriggerGraph subscription / shared mailbox flow; message queued for processing
UnderstandModel classifies intent, extracts entities, scores confidence
RetrieveRAG over policy/knowledge base with security trimming
DecideAgent selects tool: create case, update record, ask clarifying question, escalate
ActDeterministic Power Automate/Custom API performs the write — never free-form writes
GuardrailsTool allowlist, per-tool permission, value threshold requiring approval, no destructive tools
Human-in-the-loopApproval request with the evidence and the proposed action shown
MemoryConversation/thread state in Dataverse, keyed to the email conversation ID
ObservabilityTrace every step: input, retrieved chunks, tool calls, output, tokens, latency
Failure pathLow confidence or tool failure → route to human queue with context
EvaluationGolden set of past emails with correct outcomes; accuracy and false-action rate

Keywords to hit: function calling, tool allowlist, least privilege, human-in-the-loop, idempotency, tracing, confidence thresholds, escalation

Q18.4 How do you stop an agent taking an unauthorised action?

Short answer: Constrain capability, not just instructions: give the agent a small allowlist of tools, run each tool under a least-privilege identity, validate parameters server-side, require confirmation or approval above a risk threshold, cap iterations and spend, and log every call for audit.

Keywords: tool allowlist, least privilege identity, server-side validation, approval threshold, iteration cap, budget cap, audit log, kill switch

Line that lands: "I assume the prompt can be subverted. The control that holds is the permission on the tool and the validation in the API."

Q18.5 Multi-agent systems — when are they justified?

Short answer: When tasks genuinely decompose into specialised roles with different tools or knowledge, and the coordination cost is worth it. Otherwise a single well-instructed agent with good tools is cheaper, faster and far easier to debug.

Keywords: orchestrator/worker, specialisation, handoff, shared state, coordination overhead, debuggability, cost multiplication

Trade-off: every extra agent multiplies tokens, latency and failure modes. Start single-agent; split only when you can name the specialisation.

Q18.6 How do you handle agent memory?

Short answer: Distinguish short-term (conversation context, trimmed or summarised), long-term (facts persisted deliberately in a store like Dataverse or a vector index), and episodic (past runs and outcomes). Persist only what has a defined purpose and retention, because memory is a privacy surface.

Keywords: context window management, summarisation, persistent store, retrieval-based memory, retention policy, PII

Q18.7 How do you evaluate and observe agents?

Short answer: Evaluate at three levels: did it pick the right tool, did each step succeed, and did the overall task complete correctly. Trace the full trajectory, and measure task success rate, tool-selection accuracy, steps per task, cost per task, escalation rate and unsafe-action rate.

Keywords: trajectory evaluation, tool-selection accuracy, task success rate, cost per task, tracing, regression suite


19. Microsoft Graph

Q19.1 How do you integrate Power Platform with Microsoft Graph?

Short answer: Register an app in Entra ID, grant the minimum Graph permissions (delegated if acting as the user, application if unattended), store the secret or certificate in Key Vault, and call Graph either through a custom connector with OAuth or from an HTTP action / Azure Function. Handle paging, throttling and consent properly.

Keywords: app registration, delegated vs application permissions, admin consent, custom connector, Key Vault, @odata.nextLink, 429/Retry-After

If pushed deeper:

  • Application permissions are tenant-wide — scope them with Graph application access policies (e.g. restricting mail or calendar access to specific mailboxes).
  • Always follow @odata.nextLink for paging; use $select to reduce payload; use $batch to combine requests.
  • Prefer delta queries and change notifications (webhooks) over polling.

Real-world example: A joiner/leaver automation used application permissions scoped by an access policy, delta queries for changed users, and $batch to cut request volume by 60%.

Q19.2 Delta query vs change notifications vs polling

PollingDelta queryChange notifications
HowRepeated full/filtered readsToken-based "what changed since"Webhook push to your endpoint
LatencyInterval-boundInterval-bound but cheapNear real-time
CostHighLowLowest
Use forSimple, low volumeSync jobsReactive automation

Watch out: notifications may not include the payload (or may be resource-data with validation requirements) and subscriptions expire — you must renew them, and you need a reconciliation job because webhooks can be missed.

Q19.3 Common Graph interview traps

TrapCorrect answer
"I'd use Global Admin"Use least-privilege Graph permissions; admin consent is not the same as admin rights
Ignoring pagingFollow @odata.nextLink until null
Ignoring throttlingHonour Retry-After, backoff, reduce concurrency
Storing the secret in the flowKey Vault, or use certificate/managed identity where supported
Assuming delegated = unattendedDelegated needs a signed-in user; unattended needs application permissions

20. Integration Architecture — Pattern Reference

IntegrationRecommended approachWatch out for
Power Apps → DataverseNative connector, delegable queries, viewsDelegation limits, N+1 lookups
Power Automate → Azure FunctionsCustom connector or HTTP with Entra auth120s sync HTTP limit — go async for long work
Power Automate → GraphCustom connector, app registration, least privilegePaging, throttling, consent
Dataverse → AzureService endpoint to Service Bus/Event Grid, or plug-inDon't do long-running work in-transaction
Power Platform → SQLGateway or Azure SQL with private networking, views/stored procsDelegation, connection identity, credential management
Copilot Studio → DataverseKnowledge source + actions via flowsSecurity trimming, user identity vs service identity
Copilot Studio → Azure AIFoundry-backed models/knowledge, or actions to a custom APIGovernance boundary, data residency
Power BI → DataverseNative connector, or TDS endpoint, or export to Fabric/LakehouseQuery volume against transactional store
Power BI → FabricOneLake, Direct Lake semantic modelsCapacity sizing, fallback behaviour
Power Platform → SharePointDocuments in SharePoint, records in Dataverse, linkedList thresholds, delegation gaps
Power Platform → D365Same Dataverse — extend, don't duplicateSolution layering, upgrade safety
RPA → any systemPrefer API; PAD only where no API existsBrittleness, credential handling

Architect framing to use: "I'd choose the integration style by coupling and volume: synchronous where the caller needs an answer, queued where the systems must be independent, streamed where volume is high, and batch where latency doesn't matter."

21. Troubleshooting Bank (50)

Format: Problem → Likely causes → How to diagnose → Fix. Keep answers to this shape in the interview; it demonstrates method, which is what's being scored.

21.1 Power Apps

#ProblemLikely causesDiagnoseFix
1App loads slowlyHeavy OnStart, too many collections, control countMonitor tool, network traceTrim OnStart, Concurrent(), lazy load, fewer controls
2Gallery shows only 500/2000 rowsNon-delegable queryBlue delegation warning; check functions usedRewrite with delegable operators, filter at source
3Data saves but doesn't appearCached collection not refreshedCheck Refresh()/collection useRefresh(source) after patch, or patch the collection too
4Users see data they shouldn'tSecurity in UI onlyTest via connector/Web API directlyMove to Dataverse security roles / field security
5Patch fails silentlyRequired field, type mismatch, permissionErrors(), IfError captureValidate inputs, surface error, log to App Insights
6Slow gallery scrollingLookups inside gallery (N+1), images inlineMonitor per-item callsPre-join with a view, use thumbnails/URLs
7App works for maker, fails for usersMissing share on connection/table/roleCompare role assignmentsShare app + connection, assign security role
8Offline data lostSaveData not called or size limitTest airplane modeSave on change, cap dataset size, GUID keys for dedupe

21.2 Dataverse

#ProblemLikely causesDiagnoseFix
9429 service protection errorsToo many requests/concurrencyTrace logs, request countsBackoff on Retry-After, batch, CreateMultiple, reduce parallelism
10Plug-in timeout (2 min)External call, unbounded loopPlug-in trace logMove work to async/queue, optimise queries
11Slow view / queryMissing index, contains, link-entity explosionFetchXML review, query timingIndex, startswith, reduce joins/columns
12Infinite plug-in/flow loopUpdate triggers itselfTrace by initiating user/depthDepth check, filtering attributes, trigger conditions
13Duplicate records from integrationNo idempotency keyCompare source IDsAlternate key + upsert
14Storage cost spikeAudit on everything, attachments in DataverseCapacity analyticsScope audit, move files to SharePoint/Blob
15Rollup column staleRollups recalc on a scheduleCheck last-calculated fieldAccept the lag or use a plug-in/real-time calc
16Import fails on relationshipsWrong load order, missing lookupsError log by rowLoad parents first, use alternate keys

21.3 Power Automate (cloud)

#ProblemLikely causesDiagnoseFix
17Flow times outLong sync HTTP call, huge loopRun history duration per actionAsync pattern (202 + polling), split into child flows/queue
18Flow throttledRequest volume, connector limits429 in run historyBatch, reduce per-item actions, backoff, spread load
19Parse JSON failsSchema mismatch, nullsCompare payload to schemaRegenerate schema, make properties nullable, defensive coalesce
20Flow ran twiceDuplicate trigger, retryRun history + trigger detailsIdempotency key, concurrency control, trigger conditions
21Connection expiredPersonal connection, password changeConnection statusService principal / service account, connection references
22Flow slow with big loopsSequential apply-to-eachDuration per iterationIncrease concurrency carefully, batch, filter array earlier
23Flow disabled unexpectedlyRepeated failures, owner disabledAdmin center, run historyFix root cause, reassign owner, alerting
24Sensitive data in run historySecure inputs/outputs offInspect a runEnable secure inputs/outputs, restrict flow access

21.4 Power Automate Desktop / RPA

#ProblemLikely causesDiagnoseFix
25Desktop flow fails randomlyTiming, popups, session stateScreenshots/logs at failureDynamic waits, popup handling, state reset per transaction
26Browser automation breaks after updateSelectors changed, driver mismatchCompare selector to current DOMAttribute-based selectors, pin/refresh driver, resilience checks
27Unattended run does nothingSession locked, credentials, machine offlineMachine status, run historyCorrect unattended setup, credential rotation, machine group health
28Excel automation failsFile locked, wrong sheet, add-insTry manual open on the machineClose instances first, use explicit paths, prefer file/API access
29Duplicate transactionsNo queue item status handlingCompare queue vs targetMark in-progress, idempotent write on business key
30Bot too slowFixed sleeps, per-item app restartStep timingsDynamic waits, reuse session, parallel performers
31Credentials exposed in logsLogging inputsInspect logsKey Vault, secure inputs, mask values
32Queue grows faster than processingUnder-provisioned performersQueue depth trendAdd bots/machine group capacity, or move to API integration

21.5 Power BI

#ProblemLikely causesDiagnoseFix
33Report slowBad model, heavy DAX, too many visualsPerformance Analyzer, DAX StudioStar schema, fix DAX, fewer visuals, aggregations
34Measure slowFILTER(ALL(...)), nested iteratorsServer timings — formula engine heavyKEEPFILTERS, variables, push filters to storage engine
35Refresh takes hoursFull refresh of large fact tableRefresh historyIncremental refresh with folding verified
36Wrong totalsBidirectional filters, ambiguityModel view, test measuresSingle-direction relationships, star schema
37Gateway failuresMemory, credentials, single nodeGateway logs, monitoringCluster for HA, size memory, service account credentials
38RLS not appliedUser has workspace edit rightsTest "view as role" and as userMove users to app/viewer role
39Direct Lake behaves like DirectQueryFallback conditions hitCheck fallback/telemetrySimplify model, size capacity, remove unsupported operations
40Dataset refresh fails after schema changeSource column renamed/removedRefresh error detailVersion source contracts, use views to insulate the model

21.6 Azure, AI and identity

#ProblemLikely causesDiagnoseFix
41Azure Function timeoutLong sync work, wrong planApp Insights tracesDurable Functions, queue-based async, correct hosting plan
42Service Bus messages stuckHandler exception, lock expiryDead-letter queue inspectionFix handler, extend lock/renew, DLQ replay process
43Authentication failure (401/403)Wrong scope, missing consent, expired secretToken claims, Entra sign-in logsCorrect scope/permission, admin consent, rotate to certificate/MI
44Managed identity failsIdentity not assigned, no RBAC, wrong resourceToken acquisition logsAssign identity, grant RBAC at right scope, use correct client ID
45Private endpoint unreachableDNS not resolving to private IPnslookup from inside VNetPrivate DNS zone linked to VNet, correct A record
46Copilot gives wrong answersRetrieval failure, duplicate/outdated sourcesInspect citations for each answerCurate sources, re-chunk, hybrid search + reranking
47RAG returns irrelevant docsChunking, ranking, query formTest retrieval independently of generationHybrid + semantic rerank, query rewriting, metadata filters
48Agent took an unauthorised actionOver-permissive toolsTrace tool callsAllowlist tools, least-privilege identity, approval threshold
49AI cost spikeLarge context, retries, wrong modelToken telemetry per endpointTrim context, route to smaller model, cache, cap max tokens
50Model output breaks downstreamUnstructured/varying outputLog failures with raw outputStructured output/JSON schema, validate before acting, retry with repair prompt

22. Security Question Bank

#QuestionShort answer
1What is least privilege in practice here?Minimum Graph/Dataverse/Azure permissions per identity, per environment, reviewed periodically — not "Global Admin because it works"
2Where do secrets live?Key Vault, referenced by managed identity; never in flows, apps, code or environment variables in plain text
3How do you secure a custom connector?OAuth 2.0 with Entra, no API keys in the definition, scoped permissions, DLP classification, APIM in front
4How do you stop data exfiltration via connectors?DLP policies separating business/non-business connectors, blocking consumer connectors, endpoint filtering
5Field-level security vs security rolesRoles control table/record access; field security profiles control specific sensitive columns for users/teams
6How do you protect an external-facing portal?Scoped table permissions, web roles by relationship, no global permissions, WAF, test as anonymous
7Conditional Access relevanceEnforces MFA/device/location conditions on access to Power Platform and Azure resources
8How do you audit access?Dataverse auditing (scoped), Purview audit logs, Azure activity logs, agent conversation logs
9Prompt injection defenceUntrusted output assumption, tool allowlists, server-side validation, human approval for high impact
10PII in AI systemsClassify, minimise, redact before inference, control logging/retention, keep in-region, document the flow
11Service principal secret rotationPrefer certificates or managed identity/federated credentials; automate rotation; alert before expiry
12Network isolation for AI servicesPrivate endpoints, public network access disabled, DNS zones, egress control

23. Comparison Question Bank

1. Canvas vs model-driven app

FeatureCanvasModel-drivenWhen to use
UI controlPixel-levelMetadata-drivenCanvas for bespoke UX
DataAny connectorDataverse onlyModel-driven for relational CRM-style apps
SecuritySource-enforcedDataverse roles built inModel-driven when security is complex
Build speedMediumFast for standard patternsModel-driven for record management

2. Power Apps vs Power Pages

FeaturePower AppsPower PagesWhen
AudienceInternal, licensedExternal / anonymousPages for customers, suppliers, citizens
SecurityDataverse rolesWeb roles + table permissionsPages needs its own security design
SEO / publicNoYesPages for public-facing content

3. Power Automate vs Logic Apps

FeaturePower AutomateLogic AppsWhen
OwnerBusinessEngineeringFollow the ownership model
NetworkingLimitedVNet, private endpoints (Standard)Logic Apps for isolated networks
CostPer user/flowConsumption/hostingLogic Apps for high volume

4. Cloud flow vs desktop flow

FeatureCloud flowDesktop flowWhen
Runs onCloud serviceWindows machineDesktop only when no API
IntegrationConnectors/APIsUI automationCloud first, always
ReliabilityHighDepends on UI stabilityPrefer cloud

5. Dataverse vs SQL

FeatureDataverseAzure SQLWhen
SecurityRow/field/hierarchy built inYou build it (RLS)Dataverse for complex business security
LogicPlug-ins, business rulesT-SQL, app tierDataverse for business-app logic
Volume/costCapacity-pricedCompute-priced, higher scaleSQL for very large or analytical volumes

6. Dataverse vs SharePoint

FeatureDataverseSharePointWhen
Data shapeRelationalLists + documentsDataverse for related entities
DelegationStrongPartialDataverse for large data in apps
DocumentsLinks to SharePointNativeSharePoint for the file body

7. Power Automate vs Azure Functions

FeatureFlowFunctionWhen
StyleLow-code orchestrationCodeFunction for custom/heavy logic
VolumeModerateHighFunction above flow's practical limits
Connectors1,000+You write themFlow for SaaS integration

8. Service Bus vs Event Grid

FeatureService BusEvent GridWhen
SemanticsCommands, ordered, transactionalEvent notificationsService Bus for business messages
DeliveryPull, sessions, DLQPush, retryEvent Grid for reactive triggers

9. Event Grid vs Event Hubs

FeatureEvent GridEvent HubsWhen
VolumeDiscrete eventsMillions/sec streamsEvent Hubs for telemetry
ReplayNoYes (offsets)Event Hubs when you need replay

10. API Management vs Application Gateway

FeatureAPIMApp GatewayWhen
FocusAPI policy/lifecycleL7 routing + WAFAPIM to govern APIs
FeaturesThrottle, transform, version, portalPath routing, SSL, WAFApp Gateway for regional web ingress

11. Azure OpenAI vs Azure AI Foundry

FeatureAzure OpenAIAI FoundryWhen
ScopeModel inferenceFull AI app lifecycleFoundry for production apps
AddsEvaluation, tracing, agents, catalogFoundry when you must iterate safely

12. AI Foundry vs Copilot Studio

FeatureAI FoundryCopilot StudioWhen
AudienceAI engineersMakersCopilot Studio for speed and M365 reach
ControlDeepGuardrailedFoundry for custom orchestration
GovernanceAzure RBAC/networkPower Platform DLP/environmentsFollow the ownership model

13. RAG vs fine-tuning — see §16.1.

14. AI agent vs chatbot

FeatureChatbotAgentWhen
BehaviourRespondsPlans and actsAgent when actions are needed
ToolsFew/noneTool callingAgent for multi-step tasks
RiskLowHigher — needs guardrailsChatbot when Q&A is enough

15. Agent vs workflow — see §18.2.

16. Power BI Import vs DirectQuery vs Direct Lake — see §7.1.

17. Measure vs calculated column — see §7.2.

18. RLS vs OLS — see §7.6.

19. Managed vs unmanaged solution — see §9.2.

20. Managed identity vs service principal — see §11.3.

21. Synchronous vs asynchronous plug-in — see §3.2.

22. Plug-in vs Power Automate — see §3.3.

23. Virtual vs standard vs elastic tables — see §3.6.

24. Custom API vs custom action vs flow — see §3.9.

25. Delegated vs application permissions

FeatureDelegatedApplicationWhen
Acts asSigned-in userThe app itselfDelegated for user context
ScopeUser's own accessTenant-wide unless restrictedApplication for unattended jobs
RiskBounded by user rightsBroad — needs access policiesAlways scope application permissions

24. Scenario-Based Architect Questions (50)

Answer each with: assumptions → options → choice → trade-off → how I'd measure it. The one-line answers below are the spine of the answer, not the whole answer.

A. Power Platform architecture

S1. A Power App used by 3,000 field staff is unusable on 4G. — Reduce payload: delegable queries, on-demand loading, image compression, offline caching of reference data, and measure with Monitor on a throttled connection.

S2. The business wants one app for 12 countries with different processes. — One data model, configuration-driven variation (country config table), shared components; avoid 12 forks. Trade-off: configuration complexity vs maintainability; I'd cap variation and push outliers to separate flows.

S3. Leadership wants to replace 200 Excel trackers. — Rationalise first: cluster by process, kill duplicates, build 5–8 templated solutions, not 200 apps. Governance and a maker enablement track matter more than the build.

S4. A critical app is owned by a contractor who left. — Reassign ownership to a service principal/team, move to a managed solution with pipelines, document, and add the leaver process to governance.

S5. Two teams built conflicting solutions on the same tables. — Establish solution layering and ownership: one core data-model solution owned centrally, feature solutions layered on top, publisher/prefix standard, and a change-review forum.

S6. Dataverse capacity is nearly full. — Analyse by table: move attachments to SharePoint/Blob, purge audit history, archive closed records to Azure (Data Lake/SQL), review log storage. Then set alerts so it never surprises you again.

S7. Business demands a go-live in 3 weeks for a compliance deadline. — Scope to the compliant minimum, use out-of-the-box components, defer nice-to-haves, and be explicit about the technical debt register and when it's paid down.

S8. An app must work for 50,000 external users. — Power Pages with scoped table permissions, capacity sizing and load testing, caching, CDN, and an authentication decision (Entra External ID) made early.

B. Automation and RPA

S9. A flow processes 1M records nightly. — Dispatcher/queue/worker; Power Automate orchestrates, Durable Functions or Data Factory executes; checkpointing and idempotency.

S10. Design nightly unattended RPA for 100k transactions. — See §5.3: queue + horizontally scaled performers + retry + reconciliation + monitoring.

S11. A bot fails 15% of the time. — Classify failures first: if mostly business exceptions the process is wrong, not the bot; if system exceptions, fix waits/selectors/state reset. Report by exception type before changing anything.

S12. Finance wants RPA into SAP; SAP has an OData API. — Use the API. RPA on a system with an API is technical debt with a per-transaction cost.

S13. Migrate 40 bots from another RPA platform. — Inventory, rationalise, rebuild shared framework, migrate by value/complexity, parallel run, decommission.

S14. A flow must not process the same invoice twice, ever. — Business key + alternate key upsert + processed-ledger table + trigger conditions; assume at-least-once delivery.

S15. An approval flow is stuck because the approver left. — Delegation/escalation design: timeout with reassignment to a role/queue rather than a person, plus reminders and an admin reassignment path.

S16. Automation must run within a 4-hour window and currently takes 7. — Profile per-transaction time, remove UI where possible, parallelise performers, and pre-stage data; if still short, the answer is an API/database integration, not more bots.

C. Data and BI

S17. A Power BI report takes 40 seconds. — Performance Analyzer → DAX Studio → model fixes (star schema, cardinality) → DAX fixes → aggregations/incremental refresh.

S18. Finance disputes numbers between two reports. — One certified semantic model as the single source, definitions documented, both reports rebound to it; reconcile with a lineage walkthrough.

S19. Data volume exceeds import capability. — Aggregations + composite model, or DirectQuery/Direct Lake on Fabric with proper capacity sizing.

S20. Every department wants its own workspace and model. — Hub-and-spoke: certified shared models in a governed workspace, departmental reports in their own workspaces, with endorsement and lineage.

S21. Sensitive salary data in a shared report. — OLS to hide columns, RLS to filter rows, sensitivity labels, and check that workspace roles don't bypass RLS.

D. AI, Copilot and agents

S22. Design an AI customer support agent. — See §10.8: channels, identity, curated knowledge, deterministic high-risk topics, generative Q&A with citations, actions via flows, escalation, evaluation, ALM.

S23. Design a RAG solution over 200k enterprise documents. — Ingestion pipeline with change detection, heading-based chunking, hybrid index in Azure AI Search with ACL metadata, semantic reranking, citations, golden-set evaluation, freshness monitoring.

S24. Copilot answers are confidently wrong. — Inspect citations: it's usually retrieval or source hygiene. De-duplicate sources, re-chunk, hybrid + rerank, restrict to approved knowledge, add refusal path, then re-evaluate.

S25. Legal asks whether the AI can be trusted with customer data. — Answer with the data flow: what leaves the tenant, where it's processed, residency, retention, logging, redaction, and the human review point. Then propose the control set, not a reassurance.

S26. The business wants an agent to issue refunds automatically. — Agent proposes; a deterministic API executes with validation; below a threshold auto-approve, above it human approval; full audit; kill switch. State the fraud and error blast radius explicitly.

S27. AI spend tripled in a month. — Token telemetry by endpoint → find the cause (context bloat, retries, wrong model, runaway loops) → model routing, context trimming, caching, caps and budget alerts.

S28. Two teams are building competing agents. — Define an agent registry and platform standards: shared knowledge layer, shared tool catalogue with permission policy, evaluation requirement before production, and a review board.

S29. An agent needs data the user isn't allowed to see. — It doesn't get it. Security trimming at retrieval, per-user identity, and if the use case truly requires elevated access it becomes a reviewed, logged, deterministic service — not an agent capability.

S30. Prove ROI of an AI assistant to the CFO. — Baseline first: volume, handling time, cost per contact. Then measure containment/deflection, time saved, error rate, and cost per conversation, with a control group if possible.

E. Azure and integration

S31. Design a secure Power Platform + Azure architecture. — Entra identity everywhere, service principals/managed identity, APIM in front of Azure services, Key Vault for secrets, private networking where supported, DLP policies, environment separation, full telemetry.

S32. Dataverse must notify 6 downstream systems. — Publish once to Service Bus topic (via service endpoint); each system subscribes independently with its own retry and DLQ. Avoids 6 point-to-point integrations.

S33. A partner API is unreliable. — Queue the request, retry with exponential backoff and jitter, circuit breaker, dead-letter for manual replay, and an SLA conversation with the partner backed by your telemetry.

S34. The integration must be real-time and also survive outages. — Async messaging with durable queue; "real-time" becomes "low latency with guaranteed delivery". Get the business to state acceptable latency in seconds.

S35. Data must never leave the region. — Region-pinned services, data residency verified per service (including AI), private networking, and documented evidence for compliance. Verify AI model availability per region early — it constrains design.

S36. Design DR for the platform. — Get RPO/RTO from the business, then: Dataverse platform capabilities plus exports, geo-replicated stores, IaC to rebuild Azure components, documented runbook, and a tested failover — untested DR is a document, not a capability.

S37. An Azure Function is the bottleneck at peak. — Check scaling limits/plan, dependency latency, cold start, and downstream throttling; move to queue-based load levelling so peaks buffer instead of failing.

S38. Company mandates zero secrets in code. — Managed identity everywhere in Azure, workload identity federation for pipelines, Key Vault for the rest, and a scanning gate in CI to enforce it.

F. Governance, ALM, people

S39. Shadow IT: 400 flows in the default environment. — Inventory with CoE, classify by criticality, migrate business-critical into governed environments with ALM, apply DLP, and give makers a supported path so the behaviour doesn't recur.

S40. Production changes are being made directly in prod. — Lock down prod (no maker access), enforce managed solutions, pipelines with approvals, and provide a fast-track emergency-change process so the rule survives contact with reality.

S41. Design multi-environment ALM for 6 parallel projects. — Dev per project, shared Test, shared UAT, single Prod; core-model solution centrally owned; branch strategy mapped to environments; automated builds; solution layering rules documented.

S42. A release broke production. — Immediate: roll back to prior managed version or restore backup. Then: post-incident review, add the missing test to the gate, and ask why it wasn't caught — the fix is process, not blame.

S43. Auditors ask who changed a record and when. — Dataverse auditing scoped to the relevant tables/columns, retention configured, plus Purview logs for access; demonstrate with a query, not a promise.

S44. Licensing cost is out of control. — Map usage: per-app vs per-user, unused licences, API-heavy patterns, pay-as-you-go options, and redesign the top cost drivers. Present options with numbers, not a single recommendation.

S45. Business wants "AI everywhere" with no clear use case. — Run a value/feasibility screen: volume × handling time × error cost, data readiness, and risk. Pick two pilots with measurable baselines; publish results honestly, including failures.

S46. A citizen developer built something critical and it's failing. — Stabilise first, then formally adopt it: assess, re-platform into a managed solution with ALM, transfer ownership, and add it to the supported catalogue with a support tier.

S47. Security wants to block all custom connectors. — Negotiate with controls rather than a ban: allowlist reviewed connectors, require Entra auth and APIM, DLP classification, and a review process. A blanket ban produces workarounds.

S48. Sponsor asks for a 2-year platform roadmap. — Sequence by capability: foundation (environments, DLP, ALM, identity) → delivery (templates, CoE, enablement) → advanced (integration platform, AI/agents) → optimisation (cost, monitoring, retirement), each with measurable outcomes.

S49. Two systems both claim to be the master for customer data. — Define system of record per attribute, not per system; direction of sync; conflict rules; and a reconciliation report. Governance decision first, integration second.

S50. You inherit an undocumented estate. — Inventory (CoE/PowerShell/admin APIs) → classify by business criticality → identify single points of failure (personal connections, orphaned owners, no ALM) → stabilise the top 10 → then modernise. Communicate the risk register early.


25. Certification-Based Question Sets

Certifications are used by interviewers as a topic map, not a script. For each, the table gives the domains they mine, the traps, and the question they actually ask.

Power Platform

CertDomains interviewers mineCommon trapQuestion they actually ask
PL-900Platform components, Dataverse basics, AI Builder, Copilot Studio basicsConfusing Dataverse with SharePoint lists"When would you not use Power Platform?"
PL-100App design, UX, data modellingBuilding UI before the data model"How do you gather requirements for a canvas app?"
PL-200Dataverse config, security roles, BPFs, flowsThinking roles can subtract privileges"Design security for a regional sales org"
PL-400Plug-ins, custom APIs, PCF, Web API, ALMLong-running work in sync plug-ins"Plug-in or flow, and why?"
PL-500Desktop flows, queues, machine groups, exception handlingNo distinction between business and system exceptions"Design an unattended solution at scale"
PL-600Solution architecture, requirements, environment strategy, integrationJumping to technology before requirements"How do you run a solution-architecture engagement?"

Azure

CertDomainsTrapQuestion
AZ-900Core services, cloud models, costReciting definitions with no trade-offs"IaaS vs PaaS for this workload?"
AZ-104Identity, storage, networking, monitoringConfusing NSG with firewall/WAF roles"Troubleshoot private endpoint connectivity"
AZ-204App Service, Functions, storage, Key Vault, messagingIgnoring idempotency and retries"How do you handle at-least-once delivery?"
AZ-305Architecture: identity, data, BC/DR, governanceDesigning without RPO/RTO"Design HA and DR for this solution"
AZ-400CI/CD, IaC, release strategy, monitoringManual steps in a "pipeline""Describe your rollback strategy"

AI

CertDomainsTrapQuestion
AI-900AI workloads, responsible AI, service mappingVague responsible-AI answers"Which Azure AI service for this problem?"
AI-102Language, vision, document intelligence, search, OpenAI, containersTreating RAG as a checkbox"Design and evaluate a RAG solution"
AI Foundry / agent-focused topicsAgents, tools, evaluation, tracing, safety, deploymentNo evaluation strategy"How do you know the agent got better?"

Universal certification-to-interview translation: every exam objective becomes "when would you use it, what does it cost, how does it fail, and how would you know it failed?"


26. Top 100 Must-Know Questions

⭐⭐⭐⭐⭐ Critical · ⭐⭐⭐⭐ Important · ⭐⭐⭐ Useful

#QuestionRatingSection
1Canvas vs model-driven — how do you choose?⭐⭐⭐⭐⭐2.1
2Explain delegation and its failure mode⭐⭐⭐⭐⭐2.2
3How do you optimise a slow Power App?⭐⭐⭐⭐⭐2.3
4Where should business logic live in Dataverse?⭐⭐⭐⭐⭐3.1
5Sync vs async plug-ins⭐⭐⭐⭐⭐3.2
6Plug-in vs Power Automate⭐⭐⭐⭐⭐3.3
7Dataverse vs SharePoint vs SQL⭐⭐⭐⭐⭐3.4
8Explain the Dataverse security model⭐⭐⭐⭐⭐3.5
9How do you handle Dataverse 429s?⭐⭐⭐⭐⭐3.7
10What makes a flow enterprise-grade?⭐⭐⭐⭐⭐4.1
11Flow error handling pattern⭐⭐⭐⭐⭐4.2
12Design a flow for 1M records⭐⭐⭐⭐⭐4.3
13How do you prevent duplicate processing?⭐⭐⭐⭐⭐4.4
14Handling throttling and API limits⭐⭐⭐⭐⭐4.5
15Power Automate vs Logic Apps⭐⭐⭐⭐4.6
16Service principal vs service account⭐⭐⭐⭐⭐4.8
17Dispatcher/performer architecture⭐⭐⭐⭐⭐5.2
18Design 100k-transaction nightly RPA⭐⭐⭐⭐⭐5.3
19Business vs system exception⭐⭐⭐⭐⭐5.4
20Why does a bot fail randomly?⭐⭐⭐⭐⭐5.5
21Credential management in RPA⭐⭐⭐⭐⭐5.7
22Attended vs unattended vs hosted⭐⭐⭐⭐5.8
23Migrating from another RPA platform⭐⭐⭐⭐5.9
24When is RPA the wrong answer?⭐⭐⭐⭐⭐5.1
25Import vs DirectQuery vs Direct Lake⭐⭐⭐⭐⭐7.1
26Measure vs calculated column⭐⭐⭐⭐⭐7.2
27Filter context, row context, context transition⭐⭐⭐⭐⭐7.3
28Why star schema?⭐⭐⭐⭐⭐7.4
29Optimise a slow Power BI report⭐⭐⭐⭐⭐7.5
30RLS vs OLS, and dynamic RLS⭐⭐⭐⭐⭐7.6
31Incremental refresh and query folding⭐⭐⭐⭐7.7
32Power Query vs DAX⭐⭐⭐⭐7.8
33Power BI ALM / deployment pipelines⭐⭐⭐⭐7.9
34Gateway HA design⭐⭐⭐7.10
35Design enterprise governance⭐⭐⭐⭐⭐8.1
36What does DLP actually control?⭐⭐⭐⭐⭐8.2
37Handling a maker who leaves⭐⭐⭐⭐8.3
38Capacity and licensing drivers⭐⭐⭐⭐8.4
39Describe your ALM pipeline⭐⭐⭐⭐⭐9.1
40Managed vs unmanaged solutions⭐⭐⭐⭐⭐9.2
41Environment variables and connection references⭐⭐⭐⭐⭐9.3
42Rollback strategy⭐⭐⭐⭐⭐9.4
43Source control for Power Platform⭐⭐⭐⭐9.5
44What is Copilot Studio and where does it fit?⭐⭐⭐⭐⭐10.1
45Copilot Studio vs AI Foundry vs Azure OpenAI⭐⭐⭐⭐⭐10.2
46Topic-based vs generative orchestration⭐⭐⭐⭐⭐10.3
47Preventing hallucinations in an enterprise agent⭐⭐⭐⭐⭐10.4
48Securing an enterprise copilot⭐⭐⭐⭐⭐10.5
49Connecting an agent to Dataverse and flows⭐⭐⭐⭐10.6
50Copilot Studio ALM and analytics⭐⭐⭐⭐10.7
51Design an enterprise support agent⭐⭐⭐⭐⭐10.8
52App Service vs Functions vs Container Apps vs AKS⭐⭐⭐⭐11.1
53Service Bus vs Event Grid vs Event Hubs⭐⭐⭐⭐⭐11.2
54Managed identity vs service principal⭐⭐⭐⭐⭐11.3
55Securing Power Platform ↔ Azure traffic⭐⭐⭐⭐⭐11.4
56APIM vs App Gateway vs Front Door⭐⭐⭐⭐11.5
57Storage redundancy options⭐⭐⭐11.6
58Design an HA Power Platform + Azure solution⭐⭐⭐⭐⭐11.7
59Durable Functions use cases⭐⭐⭐⭐11.8
60Choosing an integration pattern⭐⭐⭐⭐⭐12.1
61Dataverse → Service Bus integration⭐⭐⭐⭐12.2
62Power Automate vs Azure Functions⭐⭐⭐⭐12.3
63Designing idempotent integrations⭐⭐⭐⭐⭐12.4
64Zero Trust in this stack⭐⭐⭐⭐13.1
65OAuth 2.0 vs OIDC; delegated vs application⭐⭐⭐⭐⭐13.2
66Prompt injection and AI data leakage defence⭐⭐⭐⭐⭐13.3
67Handling sensitive data in AI solutions⭐⭐⭐⭐⭐13.4
68Mapping the Azure AI portfolio⭐⭐⭐⭐14.1
69Design a document-processing solution⭐⭐⭐⭐⭐14.2
70Embeddings, vector, hybrid, semantic search⭐⭐⭐⭐⭐14.3
71What is Azure AI Foundry?⭐⭐⭐⭐⭐15.1
72Foundry vs calling Azure OpenAI directly⭐⭐⭐⭐15.2
73How do you evaluate an AI application?⭐⭐⭐⭐⭐15.3
74How do you monitor AI in production?⭐⭐⭐⭐⭐15.4
75Securing an enterprise AI application⭐⭐⭐⭐⭐15.5
76RAG vs fine-tuning⭐⭐⭐⭐⭐16.1
77Reducing hallucinations⭐⭐⭐⭐⭐16.2
78Reducing token cost and latency⭐⭐⭐⭐⭐16.3
79How do you select a model?⭐⭐⭐⭐16.4
80Temperature, top-p, context window, tokens⭐⭐⭐16.5
81Describe a production RAG architecture⭐⭐⭐⭐⭐17.1
82Fixing irrelevant RAG retrieval⭐⭐⭐⭐⭐17.2
83Permission-aware RAG⭐⭐⭐⭐⭐17.3
84Agent vs chatbot vs workflow⭐⭐⭐⭐⭐18.1
85When to use an agent vs deterministic workflow⭐⭐⭐⭐⭐18.2
86Design an email-processing enterprise agent⭐⭐⭐⭐⭐18.3
87Preventing unauthorised agent actions⭐⭐⭐⭐⭐18.4
88When are multi-agent systems justified?⭐⭐⭐⭐18.5
89Agent memory design⭐⭐⭐⭐18.6
90Evaluating and observing agents⭐⭐⭐⭐⭐18.7
91Integrating Power Platform with Graph⭐⭐⭐⭐⭐19.1
92Delta query vs notifications vs polling⭐⭐⭐⭐19.2
93Delegated vs application permissions⭐⭐⭐⭐⭐19.3
94Virtual vs standard vs elastic tables⭐⭐⭐⭐3.6
95Custom API vs custom action vs flow⭐⭐⭐⭐3.9
96Migrating 5M records into Dataverse⭐⭐⭐⭐3.10
97Why alternate keys matter⭐⭐⭐⭐3.11
98Power Pages security model⭐⭐⭐⭐6.1
99Where does Power Platform stop and Azure start?⭐⭐⭐⭐⭐1.1
100How do you prove ROI of a platform or AI investment?⭐⭐⭐⭐⭐24 (S30)

27. 100 Rapid-Fire Questions

Say these out loud. One to two sentences each, no hedging.

#QA
1What is Dataverse?Microsoft's cloud business data platform — relational storage with security, logic, auditing and APIs.
2What is delegation?Pushing query processing to the data source instead of evaluating locally.
3Default delegation row limit?500 by default, configurable up to 2000.
4Power Fx?The low-code, Excel-like expression language of Power Platform.
5Collection vs variable?Collection is an in-memory table; variable holds a single value or record.
6Global vs context variable?Set() is app-wide; UpdateContext() is screen-scoped.
7What is a component library?A shared, versioned set of reusable canvas components.
8What is PCF?Power Apps Component Framework — code components in TypeScript for custom controls.
9Business rule?Declarative field-level logic that runs on the form and optionally server-side.
10Business process flow?A guided, stage-based process across records in model-driven apps.
11Calculated vs rollup column?Calculated derives from fields on demand; rollup aggregates related records on a schedule.
12Alternate key?A business-unique key enabling upsert and integration without GUIDs.
13Polymorphic lookup?A lookup that can reference more than one table type (e.g. Customer).
14Owner team vs access team?Owner team can own records; access team grants ad-hoc access without ownership.
15Field-level security?Restricts specific sensitive columns via field security profiles.
16Hierarchy security?Grants managers access to their reports' records via manager or position hierarchy.
17Plug-in pipeline stages?Pre-validation, pre-operation, post-operation.
18Plug-in timeout?Two minutes.
19Virtual table?A Dataverse table backed by external data, not stored in Dataverse.
20Elastic table?A Dataverse table for very high-volume, semi-structured workloads.
21Custom API?A solution-aware, code-backed server-side operation with a defined contract.
22Dataverse Web API?The OData v4 REST API for Dataverse.
23ExecuteMultiple?Batching multiple requests into one round trip.
24Service protection limits?Per-user, per-server request/time/concurrency caps that return 429 with Retry-After.
25What is a solution?The ALM container for Power Platform components.
26Managed vs unmanaged?Unmanaged is editable source (dev); managed is the deployment artifact (test/prod).
27Environment variable?Externalised configuration so one artifact works in every environment.
28Connection reference?Externalised connection binding so flows aren't tied to a person's connection.
29PAC CLI?Power Platform CLI for solution, environment and pipeline automation.
30Solution checker?Static analysis that flags performance, security and maintainability issues.
31DLP policy?Classifies connectors into business/non-business/blocked to prevent data mixing.
32Managed environment?Premium governance features — sharing limits, digests, solution checker enforcement.
33CoE Starter Kit?Microsoft's toolkit for tenant inventory, governance and adoption reporting.
34Trigger condition?An expression that stops a flow from starting unless it's true.
35Child flow?A reusable solution-aware flow called by a parent flow.
36Scope in a flow?A grouping of actions used for Try/Catch/Finally patterns.
37result() function?Returns detailed status/outputs for actions in a scope — used in Catch blocks.
38Concurrency control?Setting parallel iterations in apply-to-each or limiting parallel runs.
39Pagination in flows?Retrieving all pages of a large result set instead of the first page.
40Secure inputs/outputs?Masks values in run history for sensitive actions.
41Idempotency?Repeating an operation produces the same result — makes retries safe.
42Exponential backoff?Increasing wait between retries, ideally with jitter, to relieve a throttled service.
43429?Too Many Requests — throttling; honour Retry-After.
44Dispatcher?Reads the work source and writes transaction items to a queue.
45Performer?Processes one queue item at a time and records the outcome.
46Work queue?Durable list of transaction items with status, enabling retry, parallelism and audit.
47Business exception?Data or rule problem — don't retry, route to a human.
48System exception?Environmental failure — retry, then escalate.
49Attended automation?Runs on a user's machine with them present.
50Unattended automation?Runs without a signed-in user, typically scheduled and scaled.
51Machine group?A pool of machines that share desktop-flow workload.
52Why avoid fixed waits in PAD?They're either too short (flaky) or too long (slow) — use dynamic waits.
53Semantic model?The Power BI data model — tables, relationships, measures (formerly "dataset").
54Import mode?Data loaded into VertiPaq memory; fastest, needs refresh.
55DirectQuery?Queries sent to the source at report time; fresh but slower.
56Direct Lake?Reads Delta tables in OneLake directly — import-like speed without refresh.
57Star schema?Central fact table with surrounding dimensions; the model shape DAX expects.
58Measure vs column?Measure computes at query time in filter context; column stores at refresh in row context.
59Context transition?CALCULATE converting row context into filter context.
60CALCULATE?The only DAX function that modifies filter context.
61DIVIDE vs /?DIVIDE handles divide-by-zero safely.
62RLS?Row-level security filtering rows per role via a DAX predicate.
63OLS?Object-level security hiding tables or columns from a role.
64Query folding?Power Query translating steps into a native source query.
65Incremental refresh?Refreshing only recent partitions using RangeStart/RangeEnd.
66Aggregations?Pre-summarised tables that satisfy queries without hitting detail rows.
67Deployment pipeline?Dev→Test→Prod promotion for Power BI/Fabric content.
68Copilot Studio?Low-code platform for building governed conversational agents.
69Topic?An authored dialog triggered by phrases or events.
70Generative answers?Model-generated responses grounded in configured knowledge sources.
71Generative orchestration?The model choosing which topics, knowledge and actions to use.
72Grounding?Constraining responses to retrieved, authoritative content.
73Action in Copilot Studio?A connector or flow the agent can call to do something.
74Azure AI Foundry?Azure's platform for building, evaluating, deploying and monitoring AI apps and agents.
75Azure AI Search?The retrieval service — keyword, vector, hybrid and semantic ranking.
76Document Intelligence?Extracts structured fields from forms, invoices and documents.
77Content Safety?Filters harmful content and detects jailbreak attempts.
78Token?The unit models read/generate — roughly ¾ of an English word.
79Context window?Max tokens of input plus output the model can consider at once.
80Temperature?Sampling randomness — low for factual, higher for creative.
81Top-p?Nucleus sampling from the smallest token set exceeding cumulative probability p.
82System prompt?Standing instructions defining role, constraints and output format.
83Few-shot prompting?Including examples in the prompt to show the desired pattern.
84Embedding?A vector representation of meaning used for similarity search.
85Vector search?Nearest-neighbour retrieval over embeddings.
86Hybrid search?Combining keyword and vector retrieval, then fusing results.
87Semantic reranker?A model that re-orders top results for relevance.
88RAG?Retrieve relevant content, then generate an answer grounded in it.
89Fine-tuning?Training a model on examples to change behaviour, style or format.
90Hallucination?Fluent output not supported by the source or reality.
91Groundedness?The degree to which an answer is supported by retrieved context.
92Golden dataset?A curated evaluation set of inputs with expected outputs.
93LLM-as-judge?Using a model to score outputs against criteria, validated against human labels.
94AI agent?A goal-directed system that plans, calls tools and adapts to results.
95Function/tool calling?The model requesting a defined function with structured arguments.
96Human-in-the-loop?A required human decision point before or after a high-impact action.
97Prompt injection?Untrusted content manipulating model behaviour or tool use.
98Managed identity?An Azure-managed service principal with no secret to store or rotate.
99Delegated vs application permission?Acts as the user vs acts as the app; the latter is tenant-wide unless scoped.
100Private endpoint?A private IP in your VNet for a PaaS service, removing public exposure.

28. Mock Interview

28.1 How to run this

Paste the prompt below into a new chat, then answer one question at a time. Answers are deliberately not provided in this section — look them up in §1–§20 only after you've attempted them.

Mock interview prompt

You are interviewing me for a Senior Power Platform / AI Solution Architect role. Use the round list I give you. Ask one question at a time and wait for my answer. After each answer:

  1. Rate it 1–10.
  2. State what I got right.
  3. State what I missed.
  4. Give the ideal short interview answer (under 120 words).
  5. List the keywords I should have said.
  6. Ask the next question.

Do not reveal answers before I respond. Increase difficulty if I score 8+, and probe follow-ups if I score below 6. Start with Round 1, Question 1.

Self-scoring rubric:

ScoreMeaning
9–10Correct, concise, with a trade-off and an example
7–8Correct with keywords, missing trade-off or evidence
5–6Broadly right, vague or missing the failure mode
3–4Partially right, wrong terminology
1–2Incorrect or invented a feature

Round 1 — Power Platform fundamentals (20)

  1. What problem does Power Platform solve that Azure doesn't? 2. Canvas vs model-driven. 3. What is Dataverse? 4. Dataverse vs SharePoint. 5. What is a solution? 6. Managed vs unmanaged. 7. What is delegation? 8. Delegation limits and consequences. 9. Global vs context variable. 10. When do you use a collection? 11. Component library vs PCF. 12. Business rule vs Power Fx. 13. What is a BPF? 14. Environment types and purposes. 15. Connection reference purpose. 16. Environment variable purpose. 17. Who should own the default environment? 18. What is DLP? 19. Power Apps vs Power Pages. 20. Name three Power Platform cost drivers.

Round 2 — Power Platform advanced (20)

  1. Where should logic live in Dataverse? 2. Sync vs async plug-in. 3. Plug-in vs flow. 4. Custom API vs custom action. 5. Explain the Dataverse security model. 6. Owner vs access teams. 7. Field-level security use case. 8. Virtual vs elastic tables. 9. How do you migrate 5M records? 10. Alternate keys and idempotency. 11. Handling 429s. 12. Optimising a slow Dataverse query. 13. Optimising a 25-second app load. 14. Handling 2M rows in a canvas app. 15. Offline strategy. 16. Error handling in canvas apps. 17. Auditing strategy and cost. 18. Rollup vs calculated column limits. 19. Designing security for a regional org. 20. Detecting and preventing plug-in/flow loops.

Round 3 — Power Automate Desktop / RPA (15)

  1. When is RPA the wrong choice? 2. Dispatcher/performer. 3. Design 100k nightly transactions. 4. Business vs system exception. 5. Retry strategy and cap. 6. Diagnosing a randomly failing bot. 7. Making selectors robust. 8. Credential management. 9. Attended vs unattended vs hosted. 10. Queue design and item states. 11. Logging and auditability. 12. Preventing duplicate transactions. 13. Handling a mid-process failure. 14. Migrating from another RPA tool. 15. Speeding up a slow bot.

Round 4 — Power BI (15)

  1. Import vs DirectQuery vs Direct Lake. 2. Measure vs calculated column. 3. Filter vs row context. 4. Context transition. 5. Why star schema. 6. Optimising a slow report. 7. Diagnosing formula vs storage engine time. 8. RLS vs OLS. 9. Dynamic RLS implementation. 10. Incremental refresh and folding. 11. Power Query vs DAX. 12. Aggregations and composite models. 13. Deployment pipelines. 14. Gateway HA. 15. Write a YoY measure and explain it.

Round 5 — Copilot Studio (15)

  1. What is Copilot Studio? 2. Copilot Studio vs AI Foundry. 3. Topics vs generative orchestration. 4. Knowledge sources and grounding. 5. Preventing hallucinations. 6. Security trimming and identity. 7. Calling Power Automate as an action. 8. Dataverse as knowledge vs as action target. 9. ALM for agents. 10. Which analytics matter. 11. Escalation to human design. 12. Handling PII in conversations. 13. Multi-channel deployment considerations. 14. Testing and evaluating an agent. 15. Design an enterprise support agent end to end.

Round 6 — Azure (20)

  1. App Service vs Functions vs Container Apps vs AKS. 2. Service Bus vs Event Grid vs Event Hubs. 3. Managed identity vs service principal. 4. APIM vs App Gateway vs Front Door. 5. Storage redundancy options. 6. Private endpoint vs service endpoint. 7. Key Vault access patterns. 8. RBAC scope design. 9. Durable Functions use cases. 10. Queue-based load levelling. 11. Circuit breaker and retry. 12. Idempotent consumers. 13. Dead-letter handling. 14. Zone vs region resilience. 15. Designing for RPO/RTO. 16. Cost optimisation levers. 17. Monitoring and alerting design. 18. IaC and environment parity. 19. Securing Power Platform ↔ Azure. 20. Design an HA architecture for this stack.

Round 7 — Azure AI / AI Foundry (20)

  1. Map the Azure AI services to problems. 2. What is AI Foundry? 3. Foundry vs direct Azure OpenAI. 4. Model selection criteria. 5. Embeddings explained. 6. Vector vs keyword vs hybrid. 7. Semantic reranking. 8. Chunking strategy. 9. Designing a RAG pipeline. 10. Permission-aware retrieval. 11. Evaluating a RAG app. 12. Groundedness vs relevance. 13. Golden datasets and regression testing. 14. Tracing and observability. 15. Content safety configuration. 16. Reducing hallucinations. 17. Reducing cost and latency. 18. Document processing architecture. 19. Data residency and privacy. 20. Securing an AI application.

Round 8 — Agentic AI (15)

  1. Agent vs chatbot vs workflow. 2. When to choose an agent. 3. Function/tool calling. 4. Tool allowlists and permissions. 5. Planning and termination conditions. 6. Memory types and retention. 7. Human-in-the-loop design. 8. Preventing unauthorised actions. 9. Prompt injection defence. 10. Multi-agent justification. 11. Agent observability. 12. Trajectory evaluation. 13. Cost control for agents. 14. Failure and escalation paths. 15. Design the email-processing agent.

Round 9 — Architecture (20)

  1. How do you run a solution architecture engagement? 2. Gathering non-functional requirements. 3. Choosing an integration pattern. 4. System of record decisions. 5. Designing for idempotency. 6. Designing for observability. 7. HA vs DR. 8. Environment strategy. 9. ALM across six projects. 10. Rollback strategy. 11. Build vs buy vs configure. 12. Technical debt management. 13. Cost as a design constraint. 14. Security by design. 15. Handling conflicting stakeholder requirements. 16. Documenting architecture decisions (ADRs). 17. Migration strategy and parallel run. 18. Capacity planning. 19. Performance testing approach. 20. Designing a two-year platform roadmap.

Round 10 — Real-world scenarios (20)

Pick any 20 from §24 and answer them cold, timed at 3 minutes each.


Appendix A — Cheat Sheets

A.1 Expressions you should be able to write from memory

Power Fx

// Delegable filter with search
Filter(Accounts, StartsWith(Name, txtSearch.Text))

// Safe patch with error handling
IfError(
    Patch(Cases, Defaults(Cases), {Title: txtTitle.Text}),
    Notify("Save failed: " & FirstError.Message, NotificationType.Error)
)

// Concurrent load
Concurrent(
    ClearCollect(colTypes, Types),
    ClearCollect(colStatus, Statuses)
)

Power Automate expressions

// Null-safe access
coalesce(triggerOutputs()?['body/email'], 'unknown')

// Catch-block detail
result('Try_Scope')

// Correlation ID
workflow().run.name

// Date filter for OData
formatDateTime(addDays(utcNow(), -1), 'yyyy-MM-ddTHH:mm:ssZ')

DAX

Total Sales = SUMX ( Sales, Sales[Qty] * Sales[Price] )

Sales YTD = TOTALYTD ( [Total Sales], 'Date'[Date] )

Pct of Total =
DIVIDE ( [Total Sales], CALCULATE ( [Total Sales], ALLSELECTED ( Product ) ) )

OData / Graph

/api/data/v9.2/accounts?$select=name,revenue&$filter=revenue gt 100000&$top=50
https://graph.microsoft.com/v1.0/users?$select=displayName,mail&$top=999

A.2 Numbers to know (verify current values before interview)

ItemOrder of magnitudeDesign implication
Canvas delegation row limit500 default / 2000 maxNever rely on client-side filtering
Plug-in execution timeout2 minutesNo long-running or external calls in sync plug-ins
Flow HTTP action sync timeout~120 secondsUse async 202/polling pattern
Dataverse service protectionThousands of requests per 5-min sliding window per user/serverBatch and back off
Apply-to-each item and concurrency capsThousands of items, low tens of parallel branchesQueue and fan out instead
SharePoint list view threshold5,000Index columns, filter server-side
Model context windowTens to hundreds of thousands of tokens by modelTrim context; don't dump whole documents

A.3 Architecture decision record template

FieldContent
DecisionWhat was decided
ContextRequirement and constraints
OptionsConsidered alternatives
RationaleWhy this one
Trade-offsWhat we accept losing
ConsequencesOperational/cost impact
Review dateWhen to revisit

Mentioning ADRs unprompted in an architecture interview is a strong signal.

A.4 Questions to ask your interviewer

  1. What does the platform estate look like today — environments, ALM maturity, CoE?
  2. Where is the biggest current pain: delivery speed, governance, cost, or reliability?
  3. How are AI initiatives governed — who approves an agent going to production?
  4. Is the architect role advisory or accountable for delivery?
  5. How do fusion teams work here — who owns what between makers and engineering?
  6. What does success look like for this role in six months?

A.5 Final-day checklist

  •  Can I give the 5-part answer for my top 10 questions without notes?
  •  Can I draw the dispatcher/performer diagram in 60 seconds?
  •  Can I draw the RAG pipeline in 60 seconds?
  •  Can I state one trade-off for every technology I claim to know?
  •  Do I have three project stories with numbers in them?
  •  Have I re-verified the volatile limits in §0.6?
  •  Do I have a prepared, honest answer for "what don't you know?"


==========================================================================

Power Platform · PAD/RPA · Power BI · Copilot Studio · Azure · Azure AI · AI Foundry · GenAI · Agentic AI

Verify volatile numbers (service limits, licensing, SKUs) on Microsoft Learn before the interview.


1. Power Platform Positioning

#QuestionShort answer
1Where does Power Platform stop and Azure start?Power Platform for business-owned logic and moderate volume; Azure when you need custom compute, high throughput, long-running or protocol-level control.
2What draws the boundary in practice?Request limits and run duration, not capability.
3What is the fusion team pattern?Power Apps for UI, Dataverse for data, Azure Functions/Service Bus for heavy processing behind a custom connector.
4When does cost flip to Azure?At machine-to-machine volume — per-user licensing is cheap for people, expensive for transactions.

2. Power Apps

#QuestionShort answer
1Canvas vs model-driven?Canvas when UX is prescribed, task-focused or multi-source; model-driven when the Dataverse data model is the app.
2What does model-driven give you free?Security roles, views, charts, business process flows, auditing.
3What is delegation?Pushing the query to the data source instead of evaluating in the client.
4Why is non-delegation dangerous?It silently truncates to 500 (max 2000) rows — wrong results, not an error.
5Common delegation traps?Search(), in, complex If() inside Filter(), calculated columns, Excel/collections.
6How do you fix a delegation problem?Rewrite with delegable operators, filter at source with views/stored procs, or pre-aggregate.
7How do you fix a slow-loading app?Trim OnStart, remove unfiltered queries, fewer controls, Concurrent(), lazy load per screen.
8Biggest app performance killers?Loading all reference data at start, lookups inside galleries (N+1), inline base64 images.
9How do you implement role-based security?At the data layer — Dataverse roles, business units, teams, field-level security. UI hiding is cosmetic only.
10Why is UI-only security a finding?The connector and Web API are callable directly, bypassing the app.
11How do you handle large datasets?Move the question to the data: delegable filters, server-side views, paging, minimum-character search, pre-computed aggregates.
12What is your ALM approach?Everything in solutions, unmanaged in Dev, managed downstream, environment variables and connection references, pipeline-deployed.
13Component library vs PCF?Library for composing existing controls; PCF when you need rendering or interaction the platform doesn't have.
14Cost of PCF?Build tooling, dependency upgrades, browser testing — real maintenance overhead.
15How do you handle errors in canvas?IfError around data ops, friendly message to user, technical detail logged to Application Insights.
16Three error classes to distinguish?Validation (fix in UI), business (show and stop), system (log, retry, escalate).
17How far does offline go?Capture-and-forward only — SaveData/LoadData cache plus a sync queue; not a full offline relational DB.
18How do you dedupe offline syncs?Client-generated GUID as business key so retries are idempotent.
19Power Apps vs Power Pages?Pages for external/anonymous users needing public, SEO-capable web pages; Apps for internal licensed users.
20Global vs context variable?Set() is app-wide; UpdateContext() is screen-scoped.

3. Microsoft Dataverse

#QuestionShort answer
1Where should business logic live?As close to the data as the requirement allows — business rules, calculated/rollup columns, plug-ins, then flows for orchestration.
2Rule that must never be bypassed?Synchronous plug-in — it applies to app, API and migration equally.
3Sync vs async plug-in?Sync runs in the user's transaction and can roll back but adds latency (2-min timeout); async runs after commit, can't block, is retried.
4What runs in pre-validation?Cheap guard checks outside the database transaction.
5Plug-in anti-pattern?Long-running work or external HTTP calls inside a synchronous plug-in.
6Plug-in vs Power Automate?Plug-in for integrity and atomicity; flow for orchestration, connectors and human interaction.
7Dataverse vs SharePoint vs SQL?Dataverse for relational business data with built-in security; SharePoint for documents; Azure SQL for very high volume or existing schema ownership.
8Common hybrid pattern?Records in Dataverse, document body in SharePoint via server-side integration — keeps storage cost down.
9Explain the Dataverse security model.Union of security roles, business unit scope, teams (owner/access), sharing, field-level security and hierarchy security.
10Can a second role reduce access?No — roles are additive; design the base role for least privilege.
11Access team vs owner team?Access team grants ad-hoc access without ownership; owner team owns records structurally.
12Virtual vs standard vs elastic table?Standard by default; virtual to avoid copying an authoritative external source; elastic for very high-volume semi-structured data.
13How do you handle 429 service protection errors?Honour Retry-After with exponential backoff, reduce concurrency, batch with $batch/CreateMultiple, move bulk work off interactive paths.
14How do you speed up a slow query?Fewer columns, server-side filters, fewer link-entities, index filter/sort columns, startswith over contains.
15Custom API vs custom action vs flow?Custom API is the modern solution-aware server-side operation with a contract; custom action is legacy; flow is orchestration, not a reusable operation.
16How do you migrate 5M records?Cleanse outside, load in dependency order, upsert on alternate keys, bulk messages, disable non-essential plug-ins/flows/audit, reconcile after.
17Migration load order?Reference tables → parents → children → relationships → attachments.
18Why do alternate keys matter?They give a natural business key for idempotent, re-runnable upserts without exposing GUIDs.
19Auditing strategy?Scope it per table and column — tenant-wide auditing burns log capacity fast.
20Calculated vs rollup column?Calculated derives on demand from fields; rollup aggregates related records on a schedule (so it lags).

4. Power Automate — Cloud Flows

#QuestionShort answer
1What makes a flow enterprise-grade?Solution-aware, connection references, environment variables, Try/Catch scopes, retry with backoff, idempotency, secure inputs, central logging and alerting.
2Who should own a production flow?A service principal or service account — never a person's identity.
3How do you implement error handling?Try/Catch/Finally scopes with "configure run after", capture result('Try'), log it, terminate as Failed.
4Why terminate as Failed?Swallowing errors makes run analytics and monitoring lie.
5How do you design for 1M records?Dispatcher pages the source into a queue; workers process batches idempotently with concurrency control and checkpointing.
6Honest answer at that volume?Power Automate orchestrates; Azure Functions, Durable Functions or Data Factory does the work.
7How do you prevent duplicate processing?Business key upsert (alternate keys), processed-items ledger, trigger conditions, concurrency control.
8How do you handle throttling?Batch, reduce per-item calls, exponential backoff with jitter, honour Retry-After, lower loop concurrency, spread load.
9Hidden throttling multiplier?A 10,000-item loop with 3 actions each is 30,000 API calls.
10Power Automate vs Logic Apps?Same engine; Logic Apps for VNet integration, high volume and subscription-level cost control.
11When do you use a child flow?Reusable operations (logging, notification), parent readability, isolated error handling.
12Service principal vs service account?Service principal (application user) for unattended work — no licence, no password, secret in Key Vault.
13How do you monitor flows in production?Structured logs to Dataverse/Log Analytics/App Insights, alerts on failure rate and duration, CoE for tenant view — not run history.
14What is a trigger condition for?Stops the flow starting at all — saves runs and prevents self-retrigger loops.
15What do secure inputs/outputs do?Mask sensitive values in run history, which is otherwise visible to anyone with flow access.
16Diagnosing intermittent failures?Check throttling, downstream timeouts, Parse JSON schema/null variation, expired connections, concurrency collisions — in that order.
17Why does Parse JSON fail?Payload shape varies or properties are null — regenerate schema, allow nulls, use coalesce.

5. Power Automate Desktop / RPA

#QuestionShort answer
1When is RPA right?No API exists, process is rule-based and stable, and the case is bridging or short-term.
2When is RPA a mistake?An API exists, the process changes constantly, or RPA is used to avoid fixing a broken process.
3Explain dispatcher/performer.Dispatcher writes work items to a queue; performers process one item at a time — decoupling, per-item retry, parallelism and audit.
4Why does it matter?One failure kills one item, not the batch, and you can scale performers horizontally.
5Design 100k transactions nightly.Dispatcher → queue → scaled performers on a machine group, idempotent on business key, retry cap, exception queue, monitoring, reconciliation.
6How do you size the bot fleet?Measure single-item time, divide the window, add ~30% headroom.
7Business vs system exception?Business = invalid data, don't retry, route to a human; system = environmental, retry then escalate.
8Why does a bot fail randomly?Timing, environment or leftover state — rarely logic.
9Diagnostic order for a flaky bot?Same step or different? → screenshots/logs → machine/session state → selector robustness → per-transaction state reset.
10How do you make UI automation robust?Attribute-based selectors, wait for elements not sleeps, explicit popup handling, verify outcomes, reset state each transaction.
11How do you manage credentials?Key Vault or the platform credential store, rotated, scoped per process — never in the flow, and secure inputs on.
12Attended vs unattended vs hosted?Attended runs with a user present; unattended runs alone at volume; hosted gives elastic Microsoft-provisioned machines.
13How do you migrate from another RPA platform?Re-implement, don't port: inventory, rationalise, rebuild the shared framework, migrate by value, parallel run, decommission.
14Expected migration attrition?Roughly 30–50% of processes aren't worth migrating.
15How do you build auditability?Every transaction logs process, run ID, key, start/end, outcome and exception type to a central store with dashboards.
16Handling a failed transaction mid-process?Classify, return the app to a known state, mark the queue item, retry if system exception, never leave a half-update.
17How do you speed up a slow bot?Remove fixed sleeps, avoid UI where file/SQL/API paths exist, reuse sessions, parallelise performers.

6. Power Pages

#QuestionShort answer
1How is Power Pages security designed?Authentication provider + web roles on contacts + table permissions scoped by relationship + page permissions.
2Classic breach?Global-scope table permissions on a public site — always scope by relationship and test as anonymous.
3How do you scale Pages?Cache aggressively, minimise Liquid queries, use the Web API client-side, CDN for static assets, load-test before go-live.

7. Power BI

#QuestionShort answer
1Import vs DirectQuery vs Direct Lake?Import for speed and full DAX; DirectQuery for real-time or un-importable volume; Direct Lake for Fabric/OneLake data without a refresh cycle.
2Direct Lake caveat?It can fall back to DirectQuery on size or unsupported operations, changing performance.
3Measure vs calculated column?Measures compute at query time in filter context and cost nothing until used; columns store at refresh and cost memory.
4Rule of thumb?Slice or group by it → column; aggregate it → measure.
5Filter vs row context?Filter context is the filters applied when a measure evaluates; row context exists when iterating row by row.
6What is context transition?CALCULATE converting row context into filter context.
7What is unique about CALCULATE?It's the only DAX function that modifies filter context.
8Why star schema?It's what VertiPaq and DAX are optimised for; flat or snowflake models give slow queries, ambiguity and wrong totals.
9How do you optimise a slow report?Performance Analyzer → DAX Studio server timings → fix model (star schema, cardinality) → fix DAX → fewer visuals.
10Formula engine vs storage engine time?High formula engine = bad DAX; high storage engine = model/cardinality problem.
11RLS vs OLS?RLS filters rows by a DAX predicate per role; OLS hides whole columns or tables.
12How does dynamic RLS work?A user-mapping table plus USERPRINCIPALNAME() — one role instead of dozens.
13RLS gotcha?It doesn't apply to users with workspace edit rights.
14When do you use incremental refresh?Large fact table with immutable history and a changing recent window — with query folding verified.
15Incremental refresh risk?If folding breaks it silently refreshes everything.
16Power Query vs DAX?Shape and cleanse as far upstream as possible (source > M); business calculations that respond to slicers go in DAX.
17Power BI ALM?Dev/Test/Prod workspaces, deployment pipelines, parameterised sources, models separated from reports, Git integration.
18Gateway design?Standard-mode cluster for HA, sized on memory and concurrency, close to the source, separate prod and dev.
19Dashboard vs report vs semantic model vs app?Model = data and logic; report = interactive analysis; dashboard = pinned tiles across reports; app = packaged distribution to consumers.
20DAX performance anti-pattern?CALCULATE([X], FILTER(ALL(T), ...)) — use a direct predicate with KEEPFILTERS so it pushes to the storage engine.

8. Power Platform Governance

#QuestionShort answer
1Design governance for a large enterprise.Four pillars: environment strategy, DLP, managed environments, and a CoE — make the paved road the easiest road.
2How do you treat the default environment?Personal productivity only: restrict creation, strictest DLP, no custom connectors, nothing business-critical.
3What does DLP actually control?Which connectors can be combined in one app or flow — not data content, classification or manual copying.
4Governance trade-off to state?Over-restriction produces shadow IT; it's a risk-appetite conversation, not a technical one.
5What do managed environments add?Sharing limits, weekly digests, maker onboarding content, solution checker enforcement.
6Handling a maker who leaves?CoE finds orphaned objects, reassign to a service principal or team, rebind connection references — and stop using personal identities in prod.
7Three cost drivers?User licences, Dataverse capacity (database/file/log), and API request entitlements.
8What inflates cost silently?Auditing everything, attachments in Dataverse, and per-row API patterns.

9. ALM / DevOps

#QuestionShort answer
1Describe your ALM pipeline.Unmanaged Dev → unpacked to Git → build with solution checker → managed to Test → UAT → Prod, with deployment settings supplying environment values.
2Managed vs unmanaged?Unmanaged is source (Dev only); managed is the deployment artifact for Test/Prod.
3Biggest ALM mistake?Importing unmanaged into production — you can no longer cleanly upgrade or remove components.
4Why environment variables and connection references?So the same managed artifact promotes through every stage without edits.
5How do you roll back?Re-import the previous managed version, or restore a pre-deploy backup; data migrations need a forward-fix plan.
6How do you source-control properly?pac solution unpack into files and commit those — a committed .zip is storage, not version control.
7How do you separate solutions?By lifecycle, not by team: core data model, shared components, app-specific.

10. Microsoft Copilot Studio

#QuestionShort answer
1What is Copilot Studio?Low-code platform for conversational agents combining authored topics, generative answers over enterprise knowledge, and actions — governed by Power Platform ALM and DLP.
2Copilot Studio vs AI Foundry?Copilot Studio is where the business owns the agent; AI Foundry is where engineering owns it.
3Copilot Studio vs Azure OpenAI direct?Copilot Studio gives channels, governance and grounding out of the box; direct OpenAI means you build everything.
4Topics vs generative orchestration?Topics are deterministic and guaranteed; generative lets the model choose topics, knowledge and actions.
5Which do you use where?High-risk or transactional paths stay in authored topics with confirmation; open Q&A goes generative.
6How do you prevent hallucinations?Restrict to approved knowledge, disable general model knowledge, require citations, add a refusal/escalation path, evaluate every release.
7Root cause of most "hallucinations"?Retrieval failure — bad chunking, duplicate or outdated sources, missing documents.
8How do you secure an enterprise copilot?Entra authentication, security-trimmed answers, least-privilege action connections, DLP, governed environment, conversation audit.
9Biggest agent security risk?Actions running under one service identity leak data across users — use the user's identity or filter by their permissions.
10How do you connect to Dataverse and flows?Dataverse as knowledge source and action target; flows as typed actions the model can call.
11Design rule for actions?The model decides what; a deterministic flow decides whether it's allowed and performs it.
12ALM for agents?Agents are solution components — Dev → managed → pipelines, with environment variables and connection references.
13Which analytics matter?Resolution/containment rate, escalation rate, abandoned sessions, CSAT — plus manual quality sampling.
14Design an enterprise support agent.Teams channel, Entra SSO, curated trimmed knowledge, deterministic high-risk topics, generative Q&A with citations, ticket actions via flows, confidence-based escalation, evaluation set per release.

11. Azure — Core & Architecture

#QuestionShort answer
1App Service vs Functions vs Container Apps vs AKS?Default to the most managed option that fits: Functions for event-driven glue, App Service for web apps, Container Apps for containers without K8s ops, AKS only when you need Kubernetes.
2Service Bus vs Event Grid vs Event Hubs?Service Bus = "do this" (commands, ordering, DLQ); Event Grid = "this happened, react"; Event Hubs = high-throughput stream with replay.
3Managed identity vs service principal?Managed identity is a service principal with Azure-managed credentials — no secret to store or rotate.
4System vs user-assigned identity?System-assigned for one resource; user-assigned when several resources share an identity or it must outlive the resource.
5How do you eliminate secrets in pipelines?Workload identity federation instead of client secrets.
6Securing Power Platform ↔ Azure traffic?Entra auth (SP or MI), APIM in front with policies and rate limits, custom connector with OAuth, Key Vault for secrets, private networking where supported.
7APIM vs App Gateway vs Front Door?They compose: Front Door for global entry and failover, App Gateway for regional L7/WAF, APIM for API policy and lifecycle.
8Storage redundancy options?LRS (one DC), ZRS (zones), GRS (paired region async), RA-GRS (readable secondary), GZRS (zones + geo) — chosen by RPO/RTO and cost.
9Design an HA Power Platform + Azure solution.Platform-managed front end, Dataverse as system of record, zone-redundant SQL/Service Bus, stateless idempotent compute, Front Door for multi-region, tested runbooks.
10HA vs DR?HA survives component failure; DR survives region loss — different designs and budgets, both driven by stated RPO/RTO.
11When do you use Durable Functions?Stateful orchestration: fan-out/fan-in, long-running workflows, human interaction with timeouts, checkpointed chains.

12. Azure Integration Patterns

#QuestionShort answer
1How do you choose an integration pattern?By coupling and volume: synchronous when the caller needs an answer, queued for independence, streamed for high volume, batch when latency doesn't matter.
2How does Dataverse integrate with Service Bus?Service endpoint registration publishes events asynchronously — reliable, decoupled, no polling, with dead-lettering downstream.
3Power Automate vs Azure Functions?Flow for connector-rich low-code orchestration; Functions for custom logic, high volume and cost/performance control — usually flow calls Function.
4How do you design idempotent integrations?Unique business key on every message, receiver upserts on it, safe-to-repeat state transitions, assume at-least-once delivery.
5Why does idempotency matter so much?It makes retries safe, and retries are what make distributed systems reliable.
6Notifying six downstream systems?Publish once to a Service Bus topic; each subscribes with its own retry and DLQ instead of six point-to-point integrations.

13. Azure & Platform Security

#QuestionShort answer
1Zero Trust in this stack?Verify explicitly, least privilege, assume breach — Conditional Access, scoped RBAC, private endpoints, Key Vault, full telemetry.
2OAuth 2.0 vs OIDC?OAuth is authorisation (access tokens); OIDC adds identity on top (ID token telling you who the user is).
3Delegated vs application permissions?Delegated acts as the signed-in user; application acts as the app and is tenant-wide unless scoped by an access policy.
4How do you defend against prompt injection?Treat model output as untrusted: separate instructions from retrieved content, validate output, allowlist tools with least-privilege identities, human approval for high impact.
5Key line on prompt security?The system prompt is a guideline, not a security boundary — the boundary is the permission on the tool.
6Handling sensitive data in AI?Classify, minimise, redact PII before inference, keep in-region, control logging and retention, trim retrieval by permission, document the flow.
7Where do secrets live?Key Vault, accessed by managed identity — never in flows, apps, code or plain-text variables.
8Securing a custom connector?OAuth 2.0 with Entra, no embedded API keys, scoped permissions, DLP classification, APIM in front.

14. Azure AI Services

#QuestionShort answer
1Extract fields from invoices/forms?Azure AI Document Intelligence.
2OCR from images/scans?Azure AI Vision.
3Classification, summarisation, entity and PII detection?Azure AI Language.
4Speech-to-text and translation?Azure AI Speech.
5Retrieval for RAG?Azure AI Search (keyword + vector + semantic ranking).
6Harmful content and jailbreak filtering?Azure AI Content Safety.
7Design a document-processing solution.Ingest → classify → extract → confidence-score → auto-post high confidence, human review low → validate deterministically → write to system of record with audit.
8Real KPI for document processing?Straight-through-processing rate, not "100% automation".
9What is an embedding?A numeric vector representing meaning, used for similarity search.
10Vector vs keyword vs hybrid vs semantic?Vector finds meaning, keyword finds exact terms, hybrid fuses both, semantic reranking re-orders the top results.
11Why is hybrid the default?Vector fails on exact identifiers (part numbers, codes); keyword fails on paraphrase.

15. Azure AI Foundry

#QuestionShort answer
1What is Azure AI Foundry?Azure's unified platform for building, evaluating, deploying and monitoring AI apps and agents — model catalog, orchestration, tools, evaluation, tracing, safety, governance.
2Foundry vs calling Azure OpenAI directly?Direct calls give inference; Foundry gives the lifecycle — model choice, evaluation, tracing, safety and monitoring.
3How do you evaluate an AI application?Golden dataset of representative inputs, automated metrics (groundedness, relevance, retrieval quality) plus human review, run as a gate on every change.
4What must you separate when evaluating?Retrieval metrics from generation metrics — most failures are retrieval.
5What else do you track beside quality?Cost and latency — a 3% accuracy gain for 4× cost is a business decision.
6How do you monitor AI in production?Trace prompt, retrieved chunks, tool calls, tokens, latency and output; log feedback; alert on failure, latency, refusal and safety triggers.
7How do you secure an enterprise AI app?Managed identity, private endpoints with public access disabled, in-region data, configured content filters, least-privilege tools, scoped RBAC.

16. Generative AI

#QuestionShort answer
1RAG vs fine-tuning?RAG when the problem is knowledge; fine-tuning when the problem is behaviour, style or format.
2Which do you start with?RAG plus good prompting — fine-tune only when you can show both have hit a ceiling.
3How do you reduce hallucinations?Ground in retrieved content, instruct answer-only-from-context with a refusal path, require citations, lower temperature, validate structure, measure groundedness.
4How do you reduce token cost and latency?Right-size the model per task, trim prompts and context, cache, stream, cap max tokens, route simple traffic to a small model.
5How do you select a model?Define accuracy, latency, cost, context length, region and data-handling constraints, then benchmark candidates on your own evaluation set — not leaderboards.
6What is a token?The unit models read and generate — roughly ¾ of an English word.
7Context window?Max tokens of prompt plus response the model can consider at once.
8Temperature vs top-p?Temperature is sampling randomness; top-p samples from the smallest token set exceeding cumulative probability p.
9System prompt?Standing instructions setting role, constraints and output format for the conversation.
10Few-shot prompting?Including examples in the prompt to demonstrate the desired pattern.

17. RAG Architecture

#QuestionShort answer
1Describe a production RAG architecture.Ingest → chunk → embed → index → retrieve → rerank → generate with citations → evaluate and monitor.
2Chunking strategy?Semantic/heading-based chunks with overlap, sized to the content — not copied from a blog post.
3Why does metadata matter?Source, permissions, date and type are what enable filtering, security trimming and freshness.
4RAG returns irrelevant docs — diagnostic order?Is the chunk indexed at all → is it retrieved but ranked low → are chunks split mid-concept → is the query poorly formed → is the embedding model wrong.
5Fixes for poor retrieval?Hybrid search, semantic reranking, re-chunking on headings, query rewriting, metadata filters, higher top-K then rerank.
6How do you keep RAG permission-aware?Store ACL/group IDs as index metadata and filter at query time — never retrieve broadly and filter after generation.
7Why not filter after generation?The content is already in the prompt by then.
8What do you monitor?Freshness, reindex success, unanswered-question log, groundedness and retrieval precision.

18. Agentic AI

#QuestionShort answer
1Agent vs chatbot vs workflow?A chatbot responds, a workflow executes fixed steps, an agent is given a goal and chooses tools and steps, adapting to results.
2When do you choose an agent?Variable path, unstructured input, or work requiring synthesis and interpretation.
3When do you choose a workflow?Regulated, reproducible, same steps every time, high cost of a wrong action, or predictable cost required.
4Key trade-off line?Autonomy is a cost — paid in predictability, testability and audit; buy it only where variability justifies it.
5Best of both?Agent decides, deterministic workflow executes.
6Design an email-processing agent.Graph trigger → classify and extract with confidence → RAG with security trimming → agent selects a tool → deterministic API performs the write → approval above threshold → traced, with human queue on low confidence.
7How do you stop unauthorised actions?Constrain capability, not instructions: small tool allowlist, least-privilege identity per tool, server-side parameter validation, approval thresholds, iteration and spend caps, kill switch.
8When are multi-agent systems justified?When tasks genuinely decompose into specialised roles with different tools — otherwise one good agent is cheaper and far easier to debug.
9Cost of extra agents?Every agent multiplies tokens, latency and failure modes.
10How do you handle agent memory?Separate short-term (trimmed/summarised context), long-term (deliberately persisted facts) and episodic (past runs), each with a retention policy.
11How do you evaluate agents?At three levels: right tool chosen, each step succeeded, overall task correct — measured by task success, tool-selection accuracy, steps and cost per task, escalation and unsafe-action rate.

19. Microsoft Graph

#QuestionShort answer
1How do you integrate Power Platform with Graph?App registration with minimum permissions, secret/certificate in Key Vault, call via custom connector with OAuth or HTTP/Function, handling paging and throttling.
2Delegated or application permissions?Delegated when acting as the signed-in user; application for unattended jobs — scoped by Graph application access policies.
3How do you handle large result sets?Follow @odata.nextLink until null, use $select to trim payload, $batch to combine requests.
4Polling vs delta vs notifications?Polling is expensive, delta queries are cheap "what changed since", change notifications are near real-time push.
5Notification caveat?Subscriptions expire and events can be missed — renew them and run a reconciliation job.
6Common Graph traps?Global Admin instead of least privilege, ignoring paging, ignoring Retry-After, secrets in the flow, assuming delegated works unattended.

20. Integration Architecture — Pattern Reference

#IntegrationRecommended approach
1Power Apps → DataverseNative connector, delegable queries, server-side views.
2Power Automate → Azure FunctionsCustom connector or HTTP with Entra auth; async pattern beyond ~120s.
3Power Automate → GraphCustom connector, least-privilege app registration, paging and backoff.
4Dataverse → AzureService endpoint to Service Bus/Event Grid; no long-running work in-transaction.
5Power Platform → SQLGateway or Azure SQL with private networking, views and stored procedures.
6Copilot Studio → DataverseKnowledge source plus actions via flows, with security trimming.
7Power BI → DataverseNative connector or TDS endpoint; avoid heavy query load on the transactional store.
8Power Platform → SharePointRecords in Dataverse, documents in SharePoint, linked.
9Power Platform → D365Same Dataverse — extend, don't duplicate; respect solution layering.
10RPA → any systemPrefer the API; PAD only where no API exists.

21. Comparisons

#ComparisonShort answer
1Canvas vs model-driven appCanvas for bespoke UX and any connector; model-driven for relational Dataverse apps with built-in security.
2Power Apps vs Power PagesInternal licensed users vs external/anonymous users with their own security model.
3Power Automate vs Logic AppsBusiness-owned and M365-centric vs engineering-owned with VNet, IaC and high volume.
4Cloud flow vs desktop flowAPI-based and reliable vs UI-based and brittle — cloud first, always.
5Dataverse vs SQLBuilt-in business security and logic vs raw T-SQL power and scale.
6Dataverse vs SharePointRelational with strong delegation vs documents and lightweight lists.
7Power Automate vs Azure FunctionsLow-code connector orchestration vs custom code at volume.
8Service Bus vs Event GridOrdered transactional messages vs lightweight reactive event routing.
9Event Grid vs Event HubsDiscrete events vs high-volume streams with replay.
10APIM vs Application GatewayAPI policy and lifecycle vs regional L7 routing and WAF.
11Azure OpenAI vs AI FoundryInference vs the full build-evaluate-deploy-monitor lifecycle.
12AI Foundry vs Copilot StudioEngineer-owned deep control vs maker-owned speed and M365 reach.
13RAG vs fine-tuningKnowledge vs behaviour.
14AI agent vs chatbotPlans and acts with tools vs responds only.
15Agent vs workflowVariable path vs known, auditable path.
16Import vs DirectQuery vs Direct LakeSpeed vs freshness vs lakehouse-native speed without refresh.
17Measure vs calculated columnQuery-time aggregation vs stored row-level value.
18RLS vs OLSFilter rows vs hide columns/tables.
19Managed vs unmanaged solutionDeployment artifact vs editable source.
20Managed identity vs service principalAzure-managed credential vs self-managed secret.
21Sync vs async plug-inBlocks and rolls back within 2 minutes vs runs after commit and can be retried.
22Plug-in vs Power AutomateIntegrity and atomicity vs orchestration and connectors.
23Virtual vs standard vs elastic tableExternal source vs relational default vs very high-volume semi-structured.
24Custom API vs flowReusable server-side operation with a contract vs orchestration.
25Delegated vs application permissionActs as the user vs acts as the app, tenant-wide unless scoped.

22. Troubleshooting

#ProblemShort answer (cause → fix)
1App loads slowlyHeavy OnStart and too many collections → trim, Concurrent(), lazy load.
2Gallery shows only 500/2000 rowsNon-delegable query → rewrite with delegable operators or filter at source.
3Data saves but doesn't appearStale collection → Refresh() the source or patch the collection too.
4Users see data they shouldn'tSecurity in UI only → move to Dataverse roles and field-level security.
5Patch fails silentlyRequired field, type or permission → IfError, surface and log it.
6Slow gallery scrollingLookups inside the gallery (N+1) → pre-join with a view, use thumbnails.
7Works for maker, fails for usersMissing share on app, connection or security role → assign all three.
8Dataverse 429 errorsToo many requests/concurrency → backoff on Retry-After, batch, CreateMultiple.
9Plug-in timeoutExternal call or unbounded loop in a 2-minute sync plug-in → move to async/queue.
10Slow Dataverse viewMissing index or contains → index the column, use startswith, fewer joins.
11Infinite plug-in/flow loopUpdate retriggers itself → depth check, filtering attributes, trigger conditions.
12Duplicate records from integrationNo idempotency key → alternate key plus upsert.
13Dataverse storage spikeAudit-everything and attachments in Dataverse → scope audit, move files out.
14Rollup column staleRollups recalc on a schedule → accept the lag or calculate in a plug-in.
15Flow times outLong sync call or huge loop → async 202/polling, split into child flows or a queue.
16Flow throttledRequest volume → batch, fewer per-item actions, backoff, spread load.
17Parse JSON failsSchema mismatch or nulls → regenerate schema, allow nulls, coalesce.
18Flow ran twiceDuplicate trigger or retry → idempotency key and concurrency control.
19Connection expiredPersonal connection or password change → service principal and connection references.
20Flow slow with big loopsSequential apply-to-each → filter earlier, batch, raise concurrency carefully.
21Sensitive data in run historySecure inputs/outputs off → enable them and restrict flow access.
22Desktop flow fails randomlyTiming, popups or leftover state → dynamic waits, popup handling, per-transaction reset.
23Browser automation breaks after updateSelectors or driver changed → attribute-based selectors, refresh driver.
24Unattended run does nothingLocked session, credentials or offline machine → fix unattended setup and machine group health.
25Excel automation failsFile locked or wrong sheet → close instances, explicit paths, prefer file/API access.
26Duplicate RPA transactionsQueue item status not handled → mark in-progress, idempotent write on business key.
27Bot too slowFixed sleeps and per-item app restarts → dynamic waits, reuse session, parallel performers.
28Queue grows faster than processingUnder-provisioned performers → add capacity, or replace RPA with an API integration.
29Power BI report slowBad model or heavy DAX → Performance Analyzer, star schema, fix DAX, fewer visuals.
30DAX measure slowFILTER(ALL()) and nested iterators → predicates with KEEPFILTERS, use variables.
31Refresh takes hoursFull refresh of a large fact table → incremental refresh with folding verified.
32Wrong totalsBidirectional filters and ambiguity → single-direction relationships, star schema.
33Gateway failuresMemory, credentials or single node → cluster for HA and size correctly.
34RLS not appliedUser has workspace edit rights → move them to viewer/app access.
35Direct Lake behaves like DirectQueryFallback conditions hit → simplify model, size capacity.
36Refresh fails after schema changeSource column renamed → insulate the model behind views and version the contract.
37Azure Function timeoutLong sync work or wrong plan → Durable Functions or queue-based async.
38Service Bus messages stuckHandler exception or lock expiry → fix handler, renew lock, DLQ replay process.
39401/403 failuresWrong scope, missing consent or expired secret → correct permission, consent, rotate to certificate/MI.
40Managed identity failsIdentity not assigned or no RBAC → assign it and grant at the right scope.
41Private endpoint unreachableDNS not resolving to the private IP → link the private DNS zone to the VNet.
42Copilot gives wrong answersRetrieval failure or duplicate sources → curate, re-chunk, hybrid search with reranking.
43RAG returns irrelevant docsChunking or ranking → hybrid + rerank, query rewriting, metadata filters.
44Agent took an unauthorised actionOver-permissive tools → allowlist, least-privilege identity, approval threshold.
45AI cost spikeContext bloat, retries or wrong model → trim, route to a smaller model, cache, cap tokens.
46Model output breaks downstreamUnstructured output → enforce JSON schema, validate before acting, repair-retry.

23. Scenarios

#ScenarioShort answer
1App unusable on 4G for 3,000 field staffReduce payload: delegable queries, on-demand loading, compressed images, offline reference cache.
2One app, 12 countries, different processesOne data model with configuration-driven variation — not 12 forks; cap variation deliberately.
3Replace 200 Excel trackersRationalise into 5–8 templated solutions; governance and enablement matter more than the build.
4Critical app owned by a departed contractorReassign to a service principal/team, move into a managed solution with pipelines, document it.
5Two teams conflict on the same tablesCentral core data-model solution, feature solutions layered on top, publisher standard, change forum.
6Dataverse capacity nearly fullMove attachments out, purge audit, archive closed records to Azure, then set alerts.
7Compliance go-live in 3 weeksScope to the compliant minimum, out-of-the-box components, explicit technical-debt register.
850,000 external usersPower Pages with scoped table permissions, capacity sizing, load testing, caching and CDN.
9Flow processes 1M records nightlyDispatcher/queue/worker; Power Automate orchestrates, Durable Functions or Data Factory executes.
10100k unattended RPA transactions nightlyQueue plus horizontally scaled performers, idempotency, retry cap, reconciliation, monitoring.
11Bot fails 15% of the timeClassify failures first — mostly business exceptions means the process is wrong, not the bot.
12RPA into SAP that has an OData APIUse the API; RPA over an existing API is priced technical debt.
13Migrate 40 bots from another platformInventory, rationalise, rebuild the shared framework, migrate by value, parallel run.
14Invoice must never process twiceBusiness key with alternate-key upsert plus a processed ledger; assume at-least-once delivery.
15Approver left mid-approvalTimeout with reassignment to a role or queue, reminders, and an admin reassignment path.
16Automation needs 4-hour window, takes 7Profile per transaction, remove UI steps, parallelise; if still short, move to API integration.
17Power BI report takes 40 secondsPerformance Analyzer → DAX Studio → model fixes → DAX fixes → aggregations/incremental refresh.
18Two reports disagree on the numbersOne certified semantic model as the single source, documented definitions, both reports rebound.
19Data exceeds import capabilityAggregations with a composite model, or DirectQuery/Direct Lake with proper capacity sizing.
20Every department wants its own modelHub-and-spoke: certified shared models centrally, departmental reports in their own workspaces.
21Salary data in a shared reportOLS to hide columns, RLS to filter rows, sensitivity labels, check workspace roles don't bypass RLS.
22Design an AI customer support agentCurated knowledge, deterministic high-risk topics, generative Q&A with citations, actions via flows, escalation, evaluation.
23RAG over 200k documentsIncremental ingestion with change detection, heading-based chunking, hybrid index with ACL metadata, reranking, golden-set evaluation.
24Copilot is confidently wrongInspect citations — usually source hygiene; de-duplicate, re-chunk, restrict knowledge, add refusal path.
25Legal asks if AI can be trusted with customer dataAnswer with the data flow — what leaves the tenant, residency, retention, logging, redaction, human review — then propose controls.
26Agent to issue refunds automaticallyAgent proposes, deterministic API executes with validation; auto-approve below a threshold, human above; full audit and kill switch.
27AI spend tripled in a monthToken telemetry by endpoint, then model routing, context trimming, caching, caps and budget alerts.
28Two teams building competing agentsAgent registry and platform standards: shared knowledge layer, tool catalogue, evaluation gate, review board.
29Agent needs data the user can't seeIt doesn't get it — security trimming at retrieval and per-user identity.
30Prove ROI of an AI assistantBaseline volume, handling time and cost first; then containment, time saved, error rate, cost per conversation.
31Secure Power Platform + Azure architectureEntra identity everywhere, APIM in front, Key Vault secrets, private networking, DLP, environment separation, telemetry.
32Notify six downstream systems from DataversePublish once to a Service Bus topic; each subscribes with its own retry and DLQ.
33Partner API is unreliableQueue the request, backoff with jitter, circuit breaker, DLQ for replay, SLA conversation backed by telemetry.
34Real-time but must survive outagesAsync durable messaging — "real-time" becomes low latency with guaranteed delivery; get an acceptable latency in seconds.
35Data must never leave the regionRegion-pinned services, verified residency per service including AI, private networking, documented evidence.
36Design DR for the platformGet RPO/RTO first, then geo-replicated stores, IaC rebuild, runbook, and a tested failover.
37Function is the bottleneck at peakCheck plan/scaling, dependency latency and downstream throttling; move to queue-based load levelling.
38Zero secrets mandateManaged identity in Azure, workload identity federation for pipelines, Key Vault for the rest, CI scanning gate.
39400 flows in the default environmentInventory with CoE, classify by criticality, migrate business-critical into governed environments, apply DLP, give makers a supported path.
40Changes made directly in productionLock prod, enforce managed solutions and approvals, plus a fast-track emergency-change process.
41ALM for six parallel projectsDev per project, shared Test and UAT, single Prod, centrally owned core solution, branch strategy mapped to environments.
42A release broke productionRoll back to prior managed version or restore backup, then add the missing test to the gate.
43Auditors ask who changed a recordScoped Dataverse auditing with retention plus Purview logs — demonstrate with a query.
44Licensing cost out of controlMap usage and the top cost drivers, review per-app vs per-user and unused licences, present options with numbers.
45"AI everywhere" with no use caseScreen by value and feasibility, pick two pilots with measurable baselines, publish results honestly.
46Citizen-developed critical app is failingStabilise, then formally adopt: re-platform into a managed solution, transfer ownership, add a support tier.
47Security wants to block all custom connectorsNegotiate with controls — allowlist, Entra auth, APIM, DLP and a review process; a ban produces workarounds.
48Two-year platform roadmapFoundation → delivery → advanced (integration, AI) → optimisation, each with measurable outcomes.
49Two systems both claim to master customer dataDefine system of record per attribute, sync direction, conflict rules and a reconciliation report.
50You inherit an undocumented estateInventory → classify by criticality → find single points of failure → stabilise the top 10 → then modernise.

24. Rapid-Fire (100)

#QuestionShort answer
1What is Dataverse?Microsoft's cloud business data platform — relational storage with security, logic, auditing and APIs.
2What is delegation?Pushing query processing to the data source instead of evaluating locally.
3Default delegation row limit?500 by default, configurable up to 2000.
4Power Fx?The low-code, Excel-like expression language of Power Platform.
5Collection vs variable?Collection is an in-memory table; variable holds a single value or record.
6Global vs context variable?Set() is app-wide; UpdateContext() is screen-scoped.
7What is a component library?A shared, versioned set of reusable canvas components.
8What is PCF?Power Apps Component Framework — code components in TypeScript for custom controls.
9Business rule?Declarative field-level logic that runs on the form and optionally server-side.
10Business process flow?A guided, stage-based process across records in model-driven apps.
11Calculated vs rollup column?Calculated derives from fields on demand; rollup aggregates related records on a schedule.
12Alternate key?A business-unique key enabling upsert and integration without GUIDs.
13Polymorphic lookup?A lookup that can reference more than one table type (e.g. Customer).
14Owner team vs access team?Owner team can own records; access team grants ad-hoc access without ownership.
15Field-level security?Restricts specific sensitive columns via field security profiles.
16Hierarchy security?Grants managers access to their reports' records via manager or position hierarchy.
17Plug-in pipeline stages?Pre-validation, pre-operation, post-operation.
18Plug-in timeout?Two minutes.
19Virtual table?A Dataverse table backed by external data, not stored in Dataverse.
20Elastic table?A Dataverse table for very high-volume, semi-structured workloads.
21Custom API?A solution-aware, code-backed server-side operation with a defined contract.
22Dataverse Web API?The OData v4 REST API for Dataverse.
23ExecuteMultiple?Batching multiple requests into one round trip.
24Service protection limits?Per-user, per-server request/time/concurrency caps that return 429 with Retry-After.
25What is a solution?The ALM container for Power Platform components.
26Managed vs unmanaged?Unmanaged is editable source (dev); managed is the deployment artifact (test/prod).
27Environment variable?Externalised configuration so one artifact works in every environment.
28Connection reference?Externalised connection binding so flows aren't tied to a person's connection.
29PAC CLI?Power Platform CLI for solution, environment and pipeline automation.
30Solution checker?Static analysis that flags performance, security and maintainability issues.
31DLP policy?Classifies connectors into business/non-business/blocked to prevent data mixing.
32Managed environment?Premium governance features — sharing limits, digests, solution checker enforcement.
33CoE Starter Kit?Microsoft's toolkit for tenant inventory, governance and adoption reporting.
34Trigger condition?An expression that stops a flow from starting unless it's true.
35Child flow?A reusable solution-aware flow called by a parent flow.
36Scope in a flow?A grouping of actions used for Try/Catch/Finally patterns.
37result() function?Returns detailed status/outputs for actions in a scope — used in Catch blocks.
38Concurrency control?Setting parallel iterations in apply-to-each or limiting parallel runs.
39Pagination in flows?Retrieving all pages of a large result set instead of the first page.
40Secure inputs/outputs?Masks values in run history for sensitive actions.
41Idempotency?Repeating an operation produces the same result — makes retries safe.
42Exponential backoff?Increasing wait between retries, ideally with jitter, to relieve a throttled service.
43429?Too Many Requests — throttling; honour Retry-After.
44Dispatcher?Reads the work source and writes transaction items to a queue.
45Performer?Processes one queue item at a time and records the outcome.
46Work queue?Durable list of transaction items with status, enabling retry, parallelism and audit.
47Business exception?Data or rule problem — don't retry, route to a human.
48System exception?Environmental failure — retry, then escalate.
49Attended automation?Runs on a user's machine with them present.
50Unattended automation?Runs without a signed-in user, typically scheduled and scaled.
51Machine group?A pool of machines that share desktop-flow workload.
52Why avoid fixed waits in PAD?They're either too short (flaky) or too long (slow) — use dynamic waits.
53Semantic model?The Power BI data model — tables, relationships, measures (formerly "dataset").
54Import mode?Data loaded into VertiPaq memory; fastest, needs refresh.
55DirectQuery?Queries sent to the source at report time; fresh but slower.
56Direct Lake?Reads Delta tables in OneLake directly — import-like speed without refresh.
57Star schema?Central fact table with surrounding dimensions; the model shape DAX expects.
58Measure vs column?Measure computes at query time in filter context; column stores at refresh in row context.
59Context transition?CALCULATE converting row context into filter context.
60CALCULATE?The only DAX function that modifies filter context.
61DIVIDE vs /?DIVIDE handles divide-by-zero safely.
62RLS?Row-level security filtering rows per role via a DAX predicate.
63OLS?Object-level security hiding tables or columns from a role.
64Query folding?Power Query translating steps into a native source query.
65Incremental refresh?Refreshing only recent partitions using RangeStart/RangeEnd.
66Aggregations?Pre-summarised tables that satisfy queries without hitting detail rows.
67Deployment pipeline?Dev→Test→Prod promotion for Power BI/Fabric content.
68Copilot Studio?Low-code platform for building governed conversational agents.
69Topic?An authored dialog triggered by phrases or events.
70Generative answers?Model-generated responses grounded in configured knowledge sources.
71Generative orchestration?The model choosing which topics, knowledge and actions to use.
72Grounding?Constraining responses to retrieved, authoritative content.
73Action in Copilot Studio?A connector or flow the agent can call to do something.
74Azure AI Foundry?Azure's platform for building, evaluating, deploying and monitoring AI apps and agents.
75Azure AI Search?The retrieval service — keyword, vector, hybrid and semantic ranking.
76Document Intelligence?Extracts structured fields from forms, invoices and documents.
77Content Safety?Filters harmful content and detects jailbreak attempts.
78Token?The unit models read/generate — roughly ¾ of an English word.
79Context window?Max tokens of input plus output the model can consider at once.
80Temperature?Sampling randomness — low for factual, higher for creative.
81Top-p?Nucleus sampling from the smallest token set exceeding cumulative probability p.
82System prompt?Standing instructions defining role, constraints and output format.
83Few-shot prompting?Including examples in the prompt to show the desired pattern.
84Embedding?A vector representation of meaning used for similarity search.
85Vector search?Nearest-neighbour retrieval over embeddings.
86Hybrid search?Combining keyword and vector retrieval, then fusing results.
87Semantic reranker?A model that re-orders top results for relevance.
88RAG?Retrieve relevant content, then generate an answer grounded in it.
89Fine-tuning?Training a model on examples to change behaviour, style or format.
90Hallucination?Fluent output not supported by the source or reality.
91Groundedness?The degree to which an answer is supported by retrieved context.
92Golden dataset?A curated evaluation set of inputs with expected outputs.
93LLM-as-judge?Using a model to score outputs against criteria, validated against human labels.
94AI agent?A goal-directed system that plans, calls tools and adapts to results.
95Function/tool calling?The model requesting a defined function with structured arguments.
96Human-in-the-loop?A required human decision point before or after a high-impact action.
97Prompt injection?Untrusted content manipulating model behaviour or tool use.
98Managed identity?An Azure-managed service principal with no secret to store or rotate.
99Delegated vs application permission?Acts as the user vs acts as the app; the latter is tenant-wide unless scoped.
100Private endpoint?A private IP in your VNet for a PaaS service, removing public exposure.










No comments:

Post a Comment

Featured Post

Interview Preparation Guide

Interview Preparation Guide Microsoft Power Platform · Power Automate Desktop (RPA) · Power BI · Copilot Studio · Azure · Azure AI · AI Foun...

Popular posts