Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GitHub Exam GitHub-Foundations Topic 3 Question 3 Discussion

Actual exam question for GitHub's GitHub-Foundations exam
Question #: 3
Topic #: 3
[All GitHub-Foundations Questions]

If there are multiple README files, which of the following locations will be displayed first?

Show Suggested Answer Hide Answer
Suggested Answer: C

When multiple README files exist in different locations within a GitHub repository, the README.md file 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 C is correct because the README.md file 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 a README.md file in the .github directory might be used for certain configurations, it is not the first to be displayed.

Option B (/src) is incorrect because the README.md in the src directory is not prioritized over the root.

Option D (/docs) is incorrect because documentation in the /docs folder is typically secondary to the root README.md.


GitHub Docs: About READMEs

Contribute your Thoughts:

Jade
11 months ago
Wait, there are multiple README files? Is this some kind of repository inception? I'm going with C just to be safe. Gotta keep it simple, you know?
upvoted 0 times
...
Tambra
11 months ago
As a seasoned developer, I can tell you that the root directory is the standard location for the README. It's like the cover page of a book - you don't hide it in the appendix!
upvoted 0 times
Maryann
10 months ago
C) Root
upvoted 0 times
...
Ivory
10 months ago
Me too, it's the most common location for README files.
upvoted 0 times
...
Alesia
10 months ago
C) Root
upvoted 0 times
...
Ashton
10 months ago
I always look for the README in the root directory first.
upvoted 0 times
...
Ivette
10 months ago
D) /docs
upvoted 0 times
...
Noah
10 months ago
C) Root
upvoted 0 times
...
Royce
10 months ago
B) /src
upvoted 0 times
...
Tuyet
11 months ago
A) .github
upvoted 0 times
...
...
Willard
11 months ago
Because .github is a common location for README files in many repositories.
upvoted 0 times
...
Eliseo
11 months ago
Why do you think it's .github?
upvoted 0 times
...
Twila
12 months ago
D is a tempting choice, but the docs folder is usually for more detailed documentation. The README should be front and center in the root.
upvoted 0 times
Aleshia
10 months ago
B) /src
upvoted 0 times
...
Linwood
10 months ago
I agree, the README should be in the root directory.
upvoted 0 times
...
Laticia
11 months ago
C) Root
upvoted 0 times
...
Mariann
11 months ago
A) .github
upvoted 0 times
...
...
Willard
12 months ago
I disagree, I believe it's A) .github.
upvoted 0 times
...
Eliseo
1 years ago
I think the answer is C) Root.
upvoted 0 times
...
Henriette
1 years ago
I always thought the .github directory was meant for project management files, not the main README. C seems like the right answer here.
upvoted 0 times
Brynn
11 months ago
Yeah, the root directory is typically where important project files like the main README are placed.
upvoted 0 times
...
Lina
11 months ago
I think it's common practice to have the main README in the root directory.
upvoted 0 times
...
Margery
11 months ago
I agree, the root directory is usually where the main README file is located.
upvoted 0 times
...
...
Essie
1 years ago
The root directory is the most logical place for the README file. It's the first thing users see when they navigate to the project.
upvoted 0 times
Tom
11 months ago
D) /docs
upvoted 0 times
...
Stanford
11 months ago
C) Root
upvoted 0 times
...
Julio
11 months ago
B) /src
upvoted 0 times
...
Mira
1 years ago
A) .github
upvoted 0 times
...
...

Save Cancel