Which line of code instructs the browser to look for a directory named my site that begins one level higher than the page you are currently viewing?
Suggested Answer: C
Get Premium 1D0-610 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
30 comments · newest first
DO
Doug
8 months ago
D is just a URL, not what we need here.
VA
Van
8 months ago
B is definitely the safest option. Clear and direct!
SH
Shenika
8 months ago
C is tricky, but I feel like it’s not the best choice.
CL
Cletus
8 months ago
I’m leaning towards C. The dot-dot notation is clever.
VE
Venita
8 months ago
I agree, B seems right. Absolute path, right?
BR
Brock
8 months ago
I disagree, B) makes more sense to me.
FE
Fernanda
9 months ago
Really? I didn't think it would be that one.
ST
Stephanie
9 months ago
No way, it's definitely C).
CA
Carmela
9 months ago
I thought it was B) /mysite/index.html!
DA
Daniela
10 months ago
It's C) . ./mysite/index.html for sure.
HO
Howard
10 months ago
This question is making my head spin. Maybe I should just become a professional cat photographer instead.
PE
Peggie
10 months ago
C) . ./mysite/index.html is the way to go. It's like a treasure hunt for your website!
EL
Elden
10 months ago
D) http://www.mysite.com/index.Html is the way to go. Who needs relative paths when you have the full URL?
MI
Mike
10 months ago
C) . ./mysite/index.html is the correct answer. It tells the browser to look one level up from the current page.
GR
Graciela
10 months ago
I feel like I’ve seen this in a practice test before, and I think C is the best choice since it specifies going one level up.
RE
Reita
11 months ago
I’m a bit confused because I thought B) /mysite/index.html would also work since it starts from the root, but I guess that’s not what the question is asking.
YV
Yvonne
11 months ago
I'm a bit confused by the wording of this question. Let me re-read it and see if I can figure it out.
IO
Iola
11 months ago
D looks like an absolute URL, which wouldn't be the right answer for this question. I'm leaning towards C.
LA
Lashawn
11 months ago
The key here is understanding the difference between relative and absolute paths. C seems like the right relative path to use.
BE
Berry
11 months ago
I remember practicing a similar question, and I think the leading dot means to go up a level, so C sounds correct to me.
BE
Beatriz
11 months ago
I think it's B. The leading slash makes sense.
DO
Dortha
12 months ago
I think the answer might be C) . ./mysite/index.html, but I'm not entirely sure if that's the right syntax for going up a directory.
MI
Miesha
12 months ago
I always get these relative path questions mixed up. Glad I'm not the only one!
JO
Joaquin
1 year ago
Hmm, I'm not sure about this one. I'll have to think it through carefully.
RO
Roy
1 year ago
I think the answer is C. The .. indicates going up one directory level.
AL
Alberta
7 months ago
C is definitely the right choice here!
AL
Alana
7 months ago
True, but B assumes you're at the root.
VA
Van
7 months ago
But what about B? It points directly to the directory.
TE
Tesha
7 months ago
I agree, C makes sense.
JE
Jesusita
1 year ago
Yeah, the .. does mean up a level.