You need to generate code using Azure OpenAI Service for a cybersecurity application. Describe the steps you would take to ensure the generated code is secure and efficient. Include considerations for prompt engineering, code review, and vulnerability testing.