New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 202-450 Exam - Topic 5 Question 82 Discussion

Actual exam question for LPI's 202-450 exam
Question #: 82
Topic #: 5
[All 202-450 Questions]

The following Apache HTTPD configuration has been set up to create a virtual host available at www.example.com and www2.example.com:

Even though Apache HTTPD correctly processed the configuration file, requests to both names are not handled correctly. What should be changed in order to ensure correct operations?

Show Suggested Answer Hide Answer
Suggested Answer: B, D, E

Contribute your Thoughts:

0/2000 characters
Karma
3 months ago
B seems off. The port doesn't need to be in the ServerName, right?
upvoted 0 times
...
Rima
3 months ago
D sounds correct to me. Both names should be in the VirtualHost tag.
upvoted 0 times
...
Fletcher
3 months ago
Surprised that people think A is right. Isn't it okay to have multiple names?
upvoted 0 times
...
Charolette
4 months ago
I think E makes more sense. ServerAlias is super handy!
upvoted 0 times
...
Krissy
4 months ago
A is definitely the way to go. Each needs its own section.
upvoted 0 times
...
Mammie
4 months ago
I vaguely remember that the opening VirtualHost tag needs to specify both names, but I’m not entirely confident about that.
upvoted 0 times
...
Chau
4 months ago
I feel like the ServerName can only have one value, so maybe we need to use ServerAlias for the second name?
upvoted 0 times
...
Sang
4 months ago
I think I practiced a question where the ServerAlias was important, but I can't recall the exact details.
upvoted 0 times
...
Lorenza
5 months ago
I remember something about needing separate VirtualHost sections for different names, but I'm not sure if that's the only requirement.
upvoted 0 times
...
Alline
5 months ago
Alright, time to put my Apache knowledge to the test. I'm feeling confident I can figure out the right fix for this problem.
upvoted 0 times
...
Lonna
5 months ago
I think I've got an idea on this one. The key might be in how the virtual host names are defined. I'll focus on that and see if I can come up with the right solution.
upvoted 0 times
...
Sharee
5 months ago
I'm a bit confused by this one. The configuration seems to be set up correctly, so I'm not sure what the issue could be. I'll have to re-read the question and options carefully.
upvoted 0 times
...
Joaquin
5 months ago
Hmm, this looks tricky. I'll need to carefully review the Apache configuration details to figure out what's going on here.
upvoted 0 times
...
Glory
5 months ago
Okay, let me think this through step-by-step. The question is asking what needs to be changed to ensure correct operations, so I'll need to analyze the configuration closely.
upvoted 0 times
...
Dana
5 months ago
Hmm, I'm a bit confused by the wording here. What exactly is a "CPE device" and how does the firmware upgrade process work for the primary and standby areas? I'll need to think this through carefully.
upvoted 0 times
...
Lang
5 months ago
I remember learning about the differences between crypto and fiat in class. I'm pretty confident B. False is the right answer here.
upvoted 0 times
...
Inocencia
10 months ago
I'm confident that the correct answer is C. Commas are the way to go when you need to associate multiple host names with a single virtual host.
upvoted 0 times
Olga
9 months ago
I agree with you, C is the correct answer. Multiple host names should be placed as comma separated values in one ServerName declaration.
upvoted 0 times
...
Lorrie
9 months ago
I believe the answer is D. Both virtual host names should be mentioned in the opening VirtualHost tag.
upvoted 0 times
...
Vince
9 months ago
I think the correct answer is E. You can have multiple names declared in ServerAlias options.
upvoted 0 times
...
...
Craig
10 months ago
Haha, this question is a real head-scratcher! I bet the exam writers are chuckling at the poor souls who get this one wrong.
upvoted 0 times
Willard
8 months ago
I know, right? These exam questions can be tricky sometimes!
upvoted 0 times
...
Pamella
9 months ago
E) Only one Server name declaration may exist, but additional names can be declared in ServerAlias options.
upvoted 0 times
...
Kristian
9 months ago
A) The configuration must be split into two VirtualHost sections since each virtual host may only have one name.
upvoted 0 times
...
...
Ronnie
10 months ago
I'm a bit stumped on this one. I'm going to have to double-check the Apache documentation to make sure I understand the proper way to set up virtual hosts.
upvoted 0 times
Aleshia
8 months ago
E) Only one Server name declaration may exist, but additional names can be declared in ServerAlias options.
upvoted 0 times
...
Starr
8 months ago
C) Both virtual host names have to be placed as comma separated values in one ServerName declaration.
upvoted 0 times
...
Floyd
9 months ago
B) The port mentioned in opening VirtualHost tag has to be appended to the ServerName declaration's values.
upvoted 0 times
...
Norah
9 months ago
A) The configuration must be split into two VirtualHost sections since each virtual host may only have one name.
upvoted 0 times
...
...
Stanton
10 months ago
Hmm, I was thinking it might be E. Putting the additional names in ServerAlias sounds like the right approach to me.
upvoted 0 times
...
Alfreda
11 months ago
I'm pretty sure the answer is C. The configuration should have both virtual host names listed as comma-separated values in the ServerName declaration.
upvoted 0 times
Kris
9 months ago
I agree with you, the correct answer is C. Both virtual host names should be placed as comma separated values in one ServerName declaration.
upvoted 0 times
...
Dona
9 months ago
Actually, I think the answer is A. The configuration must be split into two VirtualHost sections.
upvoted 0 times
...
Trinidad
9 months ago
No, I believe the correct answer is D. Both virtual host names should be mentioned in the opening VirtualHost tag.
upvoted 0 times
...
Gladys
9 months ago
Yes, that makes sense. Having both names in one ServerName declaration should fix the issue.
upvoted 0 times
...
Alison
10 months ago
I think you're right, C seems like the correct answer.
upvoted 0 times
...
Candida
10 months ago
I think the answer is E. You can have multiple names declared in ServerAlias options.
upvoted 0 times
...
...
Aaron
11 months ago
But wouldn't it make more sense to have multiple ServerAlias options instead of multiple ServerName declarations?
upvoted 0 times
...
Karon
11 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Aaron
11 months ago
I think the answer is E.
upvoted 0 times
...

Save Cancel