Hosting Web Hosting Challenge 2 — Questions and Answers
Question 1: A site outgrows shared hosting due to traffic spikes that crash neighbor accounts. Which hosting type best isolates resources while staying cost-effective?
- VPS hosting (Correct answer)
- Shared hosting
- Free hosting
- Subdomain hosting
Correct answer: VPS hosting
A VPS partitions a physical server into isolated virtual machines with guaranteed resources.
Question 2: Which record type must you create to point your domain to a hosting server's IPv4 address?
- A record (Correct answer)
- MX record
- TXT record
- CNAME record
Correct answer: A record
An A record maps a hostname to an IPv4 address.
Question 3: A client's email lands in spam due to a missing authentication record. Which DNS record helps verify the sending mail server?
- SPF record (Correct answer)
- A record
- NS record
- PTR-only record
Correct answer: SPF record
An SPF record lists which servers are authorized to send mail for a domain.
Question 4: What is the main advantage of using a CDN in front of a hosted website?
- Caches content at edge locations near users (Correct answer)
- Increases the origin disk size
- Replaces the need for DNS
- Encrypts the database automatically
Correct answer: Caches content at edge locations near users
A CDN serves cached static content from edge nodes geographically close to visitors.
Question 5: A developer needs root access and full control over the OS for custom software. Which option fits?
- Dedicated or unmanaged VPS (Correct answer)
- Managed shared hosting
- Static site host
- Email-only hosting
Correct answer: Dedicated or unmanaged VPS
Dedicated or unmanaged VPS plans grant root-level OS control.
Question 6: Which protocol should be used to securely transfer files to a hosting server over an encrypted channel?
- SFTP (Correct answer)
- Plain FTP
- HTTP
- Telnet
Correct answer: SFTP
SFTP transfers files over an encrypted SSH connection.
Question 7: A hosting plan advertises 99.9% uptime. Roughly how much downtime per year does that allow?
- About 8.76 hours (Correct answer)
- About 5 minutes
- About 87 hours
- Zero downtime
Correct answer: About 8.76 hours
99.9% uptime permits roughly 8.76 hours of downtime annually.
A site outgrows shared hosting due to traffic spikes that crash neighbor accounts.
Which hosting type best isolates resources while staying cost-effective?