Github Copilot · Free Practice Question Medium

Question 27

A developer is concerned about security and privacy while using GitHub Copilot. They want to understand how their code inputs are processed before reaching the AI model and what filters GitHub applies to ensure responsible AI usage. Which of the following best describes the role of GitHub Copilot’s proxy service and the filters it applies to user prompts?

  • A

    The proxy service applies multiple filters, including length restrictions, sensitive data detection, and spam filtering, before sending the prompt to OpenAI’s Codex.

  • B

    The proxy service automatically filters out prompts related to non-code requests but does not analyze security-sensitive patterns.

  • C

    GitHub Copilot’s proxy service stores all user prompts for 30 days to improve suggestion accuracy.

  • D

    The proxy service removes all identifiable user information, encrypts the prompt, and sends it to OpenAI’s Codex without modification.

Reveal correct answer

Correct answer: A

A.

GitHub Copilot’s proxy service is responsible for filtering prompts before they reach OpenAI’s Codex model. It enforces length restrictions to prevent excessively large inputs, detects sensitive data (such as API keys or passwords) to minimize potential security risks, and applies spam filtering to block non-code-related or harmful content.

B.

While the proxy service does block non-code requests, it also applies security-sensitive pattern analysis to prevent potential exposure of confidential data, such as hardcoded credentials.

C.

GitHub Copilot does not store user prompts permanently or for future improvements. It processes prompts in real-time without retaining them beyond their immediate use.

D.

While GitHub Copilot applies security measures, it does not encrypt prompts before sending them to OpenAI’s Codex. Instead, the proxy service focuses on filtering rather than encryption.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need