Block Traffic by Country with Geography Object
An administrator needs to block traffic from a specific geographic region (e.g., country) from reaching the corporate web server. Which type of address object should be used to define the source?
Quick Answer
The correct answer is the geography object. This is because a geography object in FortiGate leverages the built-in GeoIP database to represent traffic based on geographic location, such as a specific country or continent, allowing you to block traffic by country without manually managing individual IP addresses or subnets. On the Fortinet NSE 4 Network Security Professional NSE4 exam, this concept tests your understanding of how to efficiently control access based on source geography in firewall policies, often appearing in scenarios where an administrator must restrict traffic from high-risk regions to a corporate web server. A common trap is confusing geography objects with FQDN or IP range objects, which lack location awareness. Remember the memory tip: "Geo for GeoIP" — if the question mentions blocking a country, think geography object first.
⚠ Common exam trap
Candidates often confuse Geography objects with FQDN or Subnet objects, mistakenly thinking they can manually define country IP ranges via subnets, but FortiGate's GeoIP feature automates this with a dedicated object type.
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
✓
Geography object
A Geography object in FortiGate is specifically designed to represent traffic based on geographic location (e.g., country, continent). When used in a firewall policy's source field, it allows the administrator to block or allow traffic originating from an entire country without needing to manage individual IP addresses or subnets, leveraging FortiGate's GeoIP database.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Wildcard FQDN object
Why it's wrong here
A wildcard FQDN object matches hostnames by pattern, not geographic IP ranges, so it cannot identify traffic from a country. It is tempting because wildcard FQDNs group many hostnames for policy matching, but geographic blocking needs a geography address object resolving to the region's IP ranges.
- ✗
FQDN object
Why it's wrong here
An FQDN object resolves a hostname to IP addresses, so it cannot represent a country's address ranges. It is tempting because FQDN objects define source addresses for policies, but the correct object for geographic blocking is a geography-based address object, which FortiGate resolves to regional IP ranges.
- ✗
Subnet object
Why it's wrong here
A subnet object defines a single IP subnet, not the many disparate ranges belonging to a country. It is tempting because subnet objects are the usual way to specify source addresses in policies, but blocking a geographic region requires a geography address object that maps to regional IP ranges.
- ✓
Geography object
Why this is correct
A geography object groups IP addresses by country, letting the policy match traffic by geographic origin rather than by individual IP or FQDN. This satisfies the requirement to block a specific region from reaching the web server without maintaining manual address lists.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 773 original NSE4 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways 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. A FortiGate administrator needs to block all traffic from a specific geographic region (country) from accessing the internal network. Which type of address object should be used in the firewall policy?
easy- ✓ A.Geography object
- B.FQDN object
- C.Wildcard FQDN object
- D.Subnet object
Why A: A Geography object is specifically designed to represent a geographic region (such as a country) based on IP address geolocation data. When used in a firewall policy, it allows the FortiGate to match traffic sources or destinations by country, enabling the administrator to block all traffic from that region. This is the correct and only address object type that supports country-based filtering.
Variation 2. An administrator needs to block all traffic from a specific geographic region. Which object type should be used as the source in the firewall policy?
easy- A.FQDN address
- B.IP range address
- C.Wildcard FQDN address
- ✓ D.Geography address
Why D: A geography address object (also known as a geolocation object) allows the firewall to match traffic based on the source IP's registered country or region using GeoIP databases. This is the correct object type when the requirement is to block all traffic from a specific geographic region, as it evaluates the source IP against the FortiGate's built-in geolocation mapping.
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.