GitHub Copilot Certification — Question 46

What is the impact of the “Fill-In-the-Middle” (FIM) technique on GitHub Copilot’s code suggestions?

Answer options

Correct answer: C

Explanation

The correct answer, C, is accurate because the 'Fill-In-the-Middle' technique leverages both the prefix and suffix to create better suggestions. Option A is incorrect as it only considers the prefix, while B ignores important code elements. Option D is also wrong because it does not restrict Copilot to external databases.