Free Email and Application Security practice questions
10 free SY0-801 questions on Email and Application Security, each with a full explanation — no account needed. This section sits in the Security Operations part of the exam. Answer every question to see your score, then read the lessons below for anything you missed.
Marketing wants the company's logo to appear beside its messages in recipients' inboxes. Which record does this, and what must already be in place?
BIMI publishes a logo that supporting mail clients show beside authenticated messages, and it requires DMARC at enforcement, meaning quarantine or reject for all mail; p=none never qualifies. DKIM selector records hold public keys and SPF includes authorize sending servers, so neither carries a logo.
A company published SPF, DKIM and a DMARC record with p=none six months ago, and its aggregate reports show every legitimate sender passing with alignment. Spoofed messages using its exact domain in the From address still reach customers' inboxes. What should it change?
p=none is a monitoring setting: receivers deliver failing mail normally and only send reports, so spoofed mail keeps arriving. With every legitimate sender already passing with alignment, the next step is quarantine and then reject. Strict alignment, a new DKIM key and BIMI change nothing while the policy still tells receivers to deliver failing mail.
A partner's messages pass DMARC when they arrive directly. Some recipients have their university mailbox automatically forward mail to a personal account, and there the partner's messages fail SPF. Which mechanism lets the forwarded messages still pass DMARC?
SPF breaks on forwarding because the forwarding server's IP address isn't on the original domain's list, but a DKIM signature travels inside the message and survives ordinary forwarding, and one aligned pass is enough for DMARC. A softfail is still not an SPF pass, strict SPF alignment only tightens how the SPF domain must match the From domain and can't rescue a failed SPF check, and BIMI displays a logo without authenticating anything.
A company owns a second domain that it uses only for a parked website and never sends email from. Attackers have started sending phishing messages that use this domain in the From address. What should the company publish for the domain?
A domain that never sends mail should say so: v=spf1 -all authorizes no servers, and DMARC at p=reject tells receivers to refuse anything claiming to come from it. Domains without records get spoofed because nobody is watching, +all authorizes the whole internet, and a DKIM key or BIMI record does nothing for a domain that sends no mail.
An analyst investigating a suspected spoof finds two Authentication-Results headers in the message. One, further down the headers, shows dmarc=pass; the other shows dmarc=fail. Which header should she rely on?
The Authentication-Results header her own receiving server added records the checks that server performed. Headers further down came from earlier hops, and a sender can forge those, including one claiming to come from the sender's own outbound server, so a pass in a lower header proves nothing.
Which cookie attribute limits whether the browser sends a session cookie on requests that start from another site, reducing the risk of cross-site request forgery?
SameSite limits sending the cookie on cross-site requests, which reduces cross-site request forgery; Strict never sends it on requests that start elsewhere. HttpOnly stops scripts from reading the cookie, Secure keeps it off plaintext HTTP, and Max-Age only sets how long it lives.
On a coffee-shop network, a tester captures a user's session cookie from a plain HTTP request the browser sent to the company's site before being redirected to HTTPS. Which cookie attribute would have kept the cookie off that request?
The Secure attribute tells the browser to send the cookie only over HTTPS, so it never travels in a plaintext request that someone on the same network can capture. HttpOnly only stops scripts from reading the cookie, SameSite governs requests that start from other sites, and a shorter lifetime still exposes the token on any HTTP request it rides on.
A support-ticket field must accept < and > because customers paste error messages into it. A tester shows that script typed into a ticket runs in the browser of the agent who opens it. What is the primary fix?
When legitimate data must contain characters such as < and >, validation can't reject them without breaking the application, so the protection has to happen at output: encoding < as < makes the browser display the text instead of running it. HttpOnly stops a script from reading the cookie but not from acting in the page as the agent, and a check in the browser runs where the attacker can skip it.
A team wants to test its running staging web application for missing security headers and cookies set without the right attributes, and the testers won't have the source code. Which approach fits?
Dynamic analysis attacks a running copy of the application from outside, doesn't need source code, and finds runtime and configuration flaws such as missing headers and cookies without attributes. Static analysis reads source code or binaries and can't see the deployed environment, while code signing and input validation are controls to apply, not ways to test.
A company's code signing certificate expired last month, and customers now report that installers released two years ago show invalid signatures, even though the files haven't changed. What would have prevented this?
A timestamp authority countersigns the signature with the time it was made, proving the code was signed while the certificate was valid, so the signature stays valid after the certificate expires. Hardware storage protects the key from theft, and a published hash or an HTTPS download speaks to the file and the connection; none of them keeps an old signature valid past expiry.
Study this section
Every lesson that covers Email and Application Security on the SY0-801 exam.