Exam GitHub-Foundations Topic 5 Question 58 Discussion

Actual exam question for GitHub's GitHub-Foundations exam
Question #: 58
Topic #: 5
If there are multiple README files, which of the following locations will be displayed first?

Suggested Answer: C Vote an answer

When multipleREADMEfiles exist in different locations within a GitHub repository, theREADME.mdfile located in the root directory of the repository will be displayed first by default. This file serves as the main documentation for the repository and is automatically rendered on the repository's home page.
* Root Directory:
* Option Cis correct because theREADME.mdfile in the root directory is prioritized and displayed first on GitHub. This is the standard behavior for how GitHub presents documentation.
* Incorrect Options:
* Option A(.github) is incorrect because while aREADME.mdfile in the.githubdirectory might be used for certain configurations, it is not the first to be displayed.
* Option B(/src) is incorrect because theREADME.mdin thesrcdirectory is not prioritized over the root.
* Option D(/docs) is incorrect because documentation in the/docsfolder is typically secondary to the rootREADME.md.
References:
* GitHub Docs: About READMEs

by Scott at May 15, 2026, 07:35 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10