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 exam
Question #: 3
Topic #: 3
[All GitHub Foundations Exam 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
7 days 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
8 days 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
...
Willard
14 days ago
Because .github is a common location for README files in many repositories.
upvoted 0 times
...
Eliseo
17 days ago
Why do you think it's .github?
upvoted 0 times
...
Twila
23 days 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
Mariann
4 days ago
A) .github
upvoted 0 times
...
...
Willard
1 months ago
I disagree, I believe it's A) .github.
upvoted 0 times
...
Eliseo
1 months ago
I think the answer is C) Root.
upvoted 0 times
...
Henriette
1 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
7 days ago
Yeah, the root directory is typically where important project files like the main README are placed.
upvoted 0 times
...
Lina
8 days ago
I think it's common practice to have the main README in the root directory.
upvoted 0 times
...
Margery
10 days ago
I agree, the root directory is usually where the main README file is located.
upvoted 0 times
...
...
Essie
2 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
11 days ago
D) /docs
upvoted 0 times
...
Stanford
17 days ago
C) Root
upvoted 0 times
...
Julio
19 days ago
B) /src
upvoted 0 times
...
Mira
1 months ago
A) .github
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77