You need to generate code using Azure OpenAI Service for a software development project. Describe the steps you would take to ensure the generated code is syntactically correct and functionally accurate. Include considerations for prompt engineering, code validation, and error handling. | Microsoft Certified Azure AI Engineer Associate - AI-102 Quiz - LeetQuiz