DLP Configuration for Credit Card Detection via SMTP and HTTPS
An organization wants to implement data leak prevention (DLP) to detect when credit card numbers are sent via email (SMTP) and webmail (HTTPS). The FortiGate is using proxy-based inspection. Which THREE configurations are necessary? (Choose three.)
Quick Answer
The answer is that you must configure a DLP sensor, enable SSL/TLS deep inspection on the firewall policy to inspect HTTPS, and apply the DLP sensor to that policy. This combination is necessary because credit card numbers sent via SMTP and HTTPS require the FortiGate to both decode the encrypted payload—achieved through proxy-based inspection with SSL deep inspection—and match the data pattern using a DLP sensor. On the Fortinet NSE 4 Network Security Professional NSE4 exam, this scenario tests your understanding of how DLP interacts with SSL inspection in a proxy-based environment; a common trap is forgetting that without SSL deep inspection, HTTPS traffic remains opaque and the DLP sensor cannot scan it. Remember the memory tip: “Sensor, SSL, and Apply” — you need the rule (sensor), the key (SSL inspection), and the lock (applying it to the policy) to catch data in transit.
⚠ Common exam trap
Watch out — candidates often confuse antivirus profiles with DLP sensors, thinking antivirus can detect data patterns, or they assume flow-based inspection is required for performance, ignoring that proxy-based inspection is necessary for DLP to function on encrypted traffic.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a DLP sensor with a rule to match credit card patterns.
A DLP sensor is the FortiGate component that defines the data patterns to detect, such as credit card numbers. The sensor must be configured with a rule that uses a predefined or custom pattern to match the sensitive data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Set the inspection mode to flow-based for better performance.
Why it's wrong here
Flow-based does not support DLP; proxy-based is required.
- ✗
Configure the antivirus profile to scan email attachments.
Why it's wrong here
Antivirus is for malware, not DLP.
- ✓
Create a DLP sensor with a rule to match credit card patterns.
Why this is correct
The DLP sensor defines what to detect.
- ✓
Apply the DLP sensor to a firewall policy that handles SMTP and HTTPS traffic.
Why this is correct
The DLP sensor must be attached to a policy that matches the traffic.
- ✓
Enable SSL/TLS deep inspection on the firewall policy to inspect HTTPS.
Why this is correct
Webmail over HTTPS requires decryption to inspect content.
Go deeper
Related to this question
About these practice questions
Courseiva writes every NSE4 question from scratch — 282 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on NSE4
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Which security profile type is used to prevent sensitive data such as credit card numbers from being sent out of the network via email or web traffic?
easy- A.Email filter profile
- B.Antivirus profile
- C.Web filter profile
- ✓ D.DLP profile
Why D: A DLP (Data Loss Prevention) profile is specifically designed to inspect content in transit (e.g., email, web traffic) and block or alert on sensitive data patterns such as credit card numbers, Social Security numbers, or other regulated data. Unlike other security profiles, DLP uses predefined or custom data identifiers and pattern matching to enforce data protection policies, making it the correct choice for preventing sensitive data exfiltration.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This NSE4 practice question is part of Courseiva's free Fortinet certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the NSE4 exam.