70-475 · Question #83
You have a Microsoft Azure Data Factory pipeline. You discover that the pipeline fails to execute because data is missing. You need to rerun the failure in the pipeline. Which cmdlet should you use?
The correct answer is B. Set-AzureRmDataFactorySliceStatus. Use some PowerShell to inspect the ADF activity for the missing file error. Then simply set the dataset slice to either skipped or ready using the cmdlet to override the status. Set-AzureRmDataFactorySliceStatus -ResourceGroupName $ResourceGroup -DataFactoryName…
Question
Options
- ASet-AzureRmAutomationJob
- BSet-AzureRmDataFactorySliceStatus
- CResume-AzureRmDataFactoryPipeline
- DResume-AzureRmAutomationJob
How the community answered
(35 responses)- A9% (3)
- B74% (26)
- C14% (5)
- D3% (1)
Explanation
Use some PowerShell to inspect the ADF activity for the missing file error. Then simply set the dataset slice to either skipped or ready using the cmdlet to override the status. Set-AzureRmDataFactorySliceStatus -ResourceGroupName $ResourceGroup -DataFactoryName $ADFName.DataFactoryName -DatasetName $Dataset.OutputDatasets -StartDateTime $Dataset.WindowStart -EndDateTime $Dataset.WindowEnd -Status "Ready" ` -UpdateType "Individual" failing-when-no-files-available-in-the-source
Topics
Community Discussion
No community discussion yet for this question.