Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1proxy server | AA server between the user and the internet that filters requests and responses to keep the user safe | |
| 2proxy.cache(page) | Brequest.source_ip = proxy.ip | |
| 3A proxy server hides the user's IP address by sending the request using its own address | CStores a copy of a web page so it loads faster next time it is requested | |
| 4A proxy server blocks unsafe websites by checking each request against a list of banned sites | DThe proxy passes on the user's real IP address, so it does not hide the user. It should send its own IP address. | |
| 5proxy.forward(user.ip, request) # shows real IP | Eif site in blocklist: deny(request) | |
| 6if response has malware: allow(response) | FThe proxy allows a response containing malware. It should block or discard that response before it reaches the user. |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
proxy server — A server between a user and the internet that filters requests, blocks unsafe sites, hides the user's IP address, checks responses for malware and caches pages for speed.IF site IN blocklist THEN BLOCK(site)// Hide the user's IP address
request.ip ← proxyIPresult ← SCAN(response)
IF result = "infected" THEN DISCARDIF page IN cache THEN
RETURN cache[page]
ENDIFIF site IN safelist THEN
FORWARD(request)
ENDIF