GitHub Copilot Certification — Question 15

How does GitHub Copilot suggest code optimizations for improved performance?

Answer options

Correct answer: A

Explanation

The correct answer is A because GitHub Copilot analyzes the existing code and suggests optimizations like better algorithms or data structures to enhance performance. The other options are incorrect as Copilot does not automatically rewrite code, enforce coding standards, or provide performance reports.