Ecommerce All About the Web 3 — Questions and Answers
Question 1: What does a '404' HTTP status code indicate?
- The requested page was not found (Correct answer)
- The server is overloaded
- Access is forbidden
- The request succeeded
Correct answer: The requested page was not found
A 404 status means the server could not find the requested resource.
Question 2: Which technology allows web pages to update content without reloading the whole page?
- AJAX (Correct answer)
- FTP
- DNS
- SMTP
Correct answer: AJAX
AJAX lets pages exchange data with a server asynchronously, updating content without a full reload.
Question 3: What is the main function of a CDN (Content Delivery Network)?
- To deliver content from servers geographically closer to users (Correct answer)
- To encrypt passwords
- To register domain names
- To write HTML code
Correct answer: To deliver content from servers geographically closer to users
A CDN caches and serves content from edge servers near users, reducing latency.
Question 4: Which part of a web address indicates a specific section within a page?
- The fragment after a '#' (Correct answer)
- The protocol
- The TLD
- The query string
Correct answer: The fragment after a '#'
The fragment identifier following '#' points to a specific anchor within a page.
Question 5: What does 'responsive web design' aim to achieve?
- Layouts that adapt to different screen sizes (Correct answer)
- Faster database queries
- Stronger password encryption
- Cheaper domain registration
Correct answer: Layouts that adapt to different screen sizes
Responsive design adjusts layout and elements to fit varying screen sizes and devices.
Question 6: Which protocol is traditionally used to transfer files to a web server?
- FTP (Correct answer)
- HTTP
- DNS
- POP3
Correct answer: FTP
FTP (File Transfer Protocol) is commonly used to upload files to web servers.
Question 7: What is a 'web hosting' service?
- A service that stores website files and makes them accessible online (Correct answer)
- A tool for editing photos
- A browser extension
- A search engine algorithm
Correct answer: A service that stores website files and makes them accessible online
Web hosting provides server space to store website files and serve them to visitors.
What does a '404' HTTP status code indicate?