CIW Web Foundations Associate 3 — Questions and Answers
Question 1: Which protocol is used to securely send email from a client to a mail server?
- POP3
- IMAP
- SMTP (Correct answer)
- HTTP
Correct answer: SMTP
SMTP (Simple Mail Transfer Protocol) is the standard protocol for sending emails from a client to a mail server or between servers.
Question 2: What is the purpose of a CSS class selector?
- Targets all instances of a specific HTML tag
- Targets a single unique element by its ID
- Targets elements that share a defined class name (Correct answer)
- Targets elements based on their parent relationship
Correct answer: Targets elements that share a defined class name
A CSS class selector (prefixed with '.') applies styles to all elements that have the matching class attribute.
Question 3: What does 'bandwidth' refer to in network communications?
- The physical length of a network cable
- The maximum data transfer rate of a network connection (Correct answer)
- The number of devices connected to a network
- The latency between two network nodes
Correct answer: The maximum data transfer rate of a network connection
Bandwidth is the maximum rate at which data can be transmitted over a network connection, typically measured in bits per second.
Question 4: In HTML, what is the correct way to create a hyperlink that opens in a new browser tab?
- <a href='url' window='new'>
- <a href='url' target='_blank'> (Correct answer)
- <a href='url' open='tab'>
- <a href='url' target='new'>
Correct answer: <a href='url' target='_blank'>
The target='_blank' attribute in an anchor tag causes the link to open in a new browser tab or window.
Question 5: Which layer of the OSI model is responsible for logical addressing and routing?
- Data Link Layer
- Transport Layer
- Network Layer (Correct answer)
- Session Layer
Correct answer: Network Layer
The Network Layer (Layer 3) handles logical addressing (IP addresses) and routing of data packets between networks.
Question 6: What is the role of a web browser's rendering engine?
- To encrypt data sent over HTTPS connections
- To interpret HTML, CSS, and JavaScript and display web pages visually (Correct answer)
- To cache DNS lookups for faster browsing
- To manage cookies and session storage
Correct answer: To interpret HTML, CSS, and JavaScript and display web pages visually
A rendering engine (like Blink or Gecko) parses HTML and CSS to construct and display the visual representation of a web page.
Question 7: Which HTML form input type is best suited for collecting a user's password?
- <input type='text'>
- <input type='hidden'>
- <input type='secure'>
- <input type='password'> (Correct answer)
Correct answer: <input type='password'>
The password input type masks the characters entered, preventing them from being visible on screen.
Which protocol is used to securely send email from a client to a mail server?