Courseiva
Firewall Policies and NATmediumMultiple ChoiceObjective-mapped

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

    Wildcard FQDN matches domain patterns, not geography.

  • FQDN object

    Why it's wrong here

    FQDN objects resolve to IP addresses, but not by geography.

  • Subnet object

    Why it's wrong here

    Subnet objects require specific IP ranges, not countries.

  • Geography object

    Why this is correct

    Geography objects allow selection by country/region using GeoIP, enabling policy enforcement based on geographic location.

Visual reference

192.168.1.0 /24 256 addresses (254 usable) 192.168.1.0 /25 Subnet A 128 addr (126 usable) 192.168.1.128 /25 Subnet B 128 addr (126 usable) Borrowing 1 bit from host portion creates 2 subnets (/25)

About these practice questions

One of 282 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 →

How Courseiva writes practice questions · Editorial policy

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.