BlackFriday 2024! 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
1 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
2 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
Ivory
18 hours ago
Me too, it's the most common location for README files.
upvoted 0 times
...
Alesia
2 days ago
C) Root
upvoted 0 times
...
Ashton
3 days ago
I always look for the README in the root directory first.
upvoted 0 times
...
Ivette
5 days ago
D) /docs
upvoted 0 times
...
Noah
8 days ago
C) Root
upvoted 0 times
...
Royce
15 days ago
B) /src
upvoted 0 times
...
Tuyet
1 months ago
A) .github
upvoted 0 times
...
...
Willard
2 months ago
Because .github is a common location for README files in many repositories.
upvoted 0 times
...
Eliseo
2 months ago
Why do you think it's .github?
upvoted 0 times
...
Twila
2 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
18 days ago
B) /src
upvoted 0 times
...
Linwood
19 days ago
I agree, the README should be in the root directory.
upvoted 0 times
...
Laticia
30 days ago
C) Root
upvoted 0 times
...
Mariann
1 months ago
A) .github
upvoted 0 times
...
...
Willard
2 months ago
I disagree, I believe it's A) .github.
upvoted 0 times
...
Eliseo
2 months ago
I think the answer is C) Root.
upvoted 0 times
...
Henriette
3 months 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
1 months ago
Yeah, the root directory is typically where important project files like the main README are placed.
upvoted 0 times
...
Lina
2 months ago
I think it's common practice to have the main README in the root directory.
upvoted 0 times
...
Margery
2 months ago
I agree, the root directory is usually where the main README file is located.
upvoted 0 times
...
...
Essie
3 months 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
2 months ago
D) /docs
upvoted 0 times
...
Stanford
2 months ago
C) Root
upvoted 0 times
...
Julio
2 months ago
B) /src
upvoted 0 times
...
Mira
3 months ago
A) .github
upvoted 0 times
...
...

Save Cancel