Let’s Get Certified
Module 13 / 16 · Configure and manage automation of tasks

Track maintenance across database targets

Choose an elastic job target group, identity and per-database evidence.

Track maintenance across database targets

Work through the decision

A compliance query runs against thirty Azure SQL databases. The job starts successfully, but the dashboard receives only twenty-nine results. What should be checked before declaring compliance?

Check your reasoning

Compare the target group at execution time with the inventory. Inspect per-target steps, retries and connection status. Check the execution identity inside the missing database, firewall or private connectivity and timeout. Orchestrator success alone cannot establish that every target returned a result.

Watch the source lesson at 2:38:51

Compare the choices

Elastic job target group
Define databases, servers or pools included and excluded for fleet execution. Check dynamic membership at run time.
Per-target execution record
Inspect individual database and step outcomes to locate partial failures and retries.
Automation runbook
Use a managed workflow when a task spans database operations and Azure resource management. Configure identity, trigger and durable output.
Idempotent checkpoint
Record completed work under a stable target and run key, with a durable commit boundary. Retry only incomplete or safely repeatable operations.

Test the decision

Use an elastic job for supported database fleet tasks or Azure Automation when the workflow also needs resource-management actions. Give retries a stable work identifier and update a completion record per target only after its work commits.

Practice the guide skills

  1. Apply the same maintenance step to a changing set of Azure SQL databases. Watch 2:38:51 · Continue at 2:39:52
    Check your answer

    Configure an elastic job agent, job database, target group and supported execution identity. Confirm which databases are included at run time.

  2. An Azure runbook should start after ingestion completes. Watch 2:41:18 · Continue at 2:41:47
    Check your answer

    Use an appropriate schedule or event trigger, validate dependencies and define an idempotent checkpoint for retries. Set job timeouts and capture output.

  3. An automation platform returned success but two database targets failed. Watch 2:42:08 · Continue at 2:42:32
    Check your answer

    Alert on per-target job results as well as orchestration status. Include target, step, run ID and an actionable owner.

  4. Only one elastic job target fails after a credential change. Watch 2:43:32 · Continue at 2:43:57
    Check your answer

    Compare that target’s database user, effective grants, network path and job-step history. Retry only after checking whether earlier steps committed.

Official objectives for this lesson

Related lesson · Explain effective resource access

Knowledge check

Track maintenance across database targets quiz

Answer 3 questions. Check each answer for an explanation.