
GitHubCopilot Certification
Domain 5Objective 2
Support Testing and Security GH-300 Practice Questions (Page 5)
Part of the Improve developer productivity with GitHub Copilot domain, which accounts for 10-15% of the GH-300 exam.
23questions here
5free pages
6concepts
10-15%of the exam
Questions 21–23
- 21
A developer is reviewing a function that authenticates users by comparing a submitted password to a stored hash. The function uses a fast hashing algorithm like MD5. The developer asks Copilot for security improvements. The application must remain compatible with existing stored hashes. What is the most appropriate recommendation?
Select an answer first - 22
A developer is reviewing a function that handles user input and renders it in an HTML page. The function currently uses innerHTML to insert the input directly into the DOM. The developer asks Copilot for security and performance improvements. What is the most appropriate recommendation?
Select an answer first - 23
In a unit test, what is the purpose of an assertion?
Select an answer first
Finished these 3 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to GH-300
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitHub. “GH-300” is a trademark of its owner, used for identification only.