Question 420
An elastic job runs against a staging target group and production remains untouched because the deployment never updated target group membership. Which Azure SQL or SQL Server administrative approach is MOST appropriate?
Explanation
Correct Answer
Use Azure SQL elastic jobs for supported scheduled T-SQL maintenance across Azure SQL Database targets, managing target groups, credentials and job execution state. This is the supported administration mechanism for the described workload. Elastic jobs are a separate managed job-agent service and should not be confused with SQL Server Agent jobs inside Azure SQL Database. Verify with: Inspect elastic job agent setup, target server groups, database-scoped credentials, schedule, job version, execution history and permissions.
Incorrect Answers
Automate supported Azure SQL operational tasks with an appropriately scoped schedule or runbook and route failures into measurable alert channels while handling retries idempotently. This addresses Azure database task automation alerts and retries, not the controlling requirement here. An Azure automation runbook reporting successful execution does not prove its database command succeeded or that an alert was delivered. Prefer: Use Azure SQL elastic jobs for supported scheduled T-SQL maintenance across Azure SQL Database targets, managing target groups, credentials and job execution state.
Configure SQL Server Agent schedules and job-step security on supported SQL Server or Managed Instance platforms, separating service credentials from the database data permissions they need. This addresses SQL Server Agent schedules and job ownership, not the controlling requirement here. SQL Server Agent is supported on relevant instance-level offerings but is not the native scheduling mechanism inside a standalone Azure SQL Database. Prefer: Use Azure SQL elastic jobs for supported scheduled T-SQL maintenance across Azure SQL Database targets, managing target groups, credentials and job execution state.
Configure SQL Server Agent notifications, operators and error handling so failed backups and maintenance tasks generate actionable alerts without leaking sensitive details. This addresses SQL Agent alerts operators and failure notifications, not the controlling requirement here. A green schedule and enabled operator are not evidence that email delivery or failure handling works unless the notification path is tested. Prefer: Use Azure SQL elastic jobs for supported scheduled T-SQL maintenance across Azure SQL Database targets, managing target groups, credentials and job execution state.


