AI-102 Question 286
Select 2You are managing a Language Understanding (LUIS) model for a customer service chatbot in Azure. The development team needs to ensure that the LUIS model can be restored in case of accidental deletion or corruption. What steps should you take to back up and recover the model effectively?
- A
Export the LUIS model in JSON format and store it in a secure location.
- B
Enable Azure Backup on the resource group containing the LUIS model.
- C
Use Azure Blob Storage to save periodic snapshots of the LUIS model.
- D
Periodically train and republish the LUIS model to ensure its state is automatically saved.
- E
Leverage the LUIS Authoring API to automate model export and backup processes.
Show answer and explanation
Correct answers: A, E
Explanation
Backing up and recovering LUIS models requires exporting the model in JSON format, which can then be re-imported if necessary. The LUIS Authoring API is a useful tool for automating this process, ensuring regular backups are created and stored securely. Other methods, like Azure Backup or training and republishing, do not meet the requirements for effective backup and recovery of LUIS models.
- A. Correct.
Exporting the LUIS model in JSON format allows you to create a backup that can be re-imported if needed. This is a recommended approach for manual backups.
- B. Incorrect.
Azure Backup does not support direct backups of LUIS models because LUIS is a managed service and its data is not stored in Azure storage accounts.
- C. Incorrect.
Azure Blob Storage can be used as a storage solution, but you must manually export the LUIS model first. Blob Storage alone does not create backups of the LUIS model automatically.
- D. Incorrect.
Training and republishing the LUIS model ensures its functionality but does not create a persistent backup that can be restored.
- E. Correct.
The LUIS Authoring API provides automation capabilities for exporting and saving LUIS models programmatically, making it an effective solution for backup automation.