Question 22 of 1,000
Secure networkingmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is IKEv2 with AES256, as this combination delivers the strongest IPsec/IKE parameters for a VPN gateway under a strict security mandate. IKEv2 is the most secure and modern protocol, offering built-in NAT traversal and mobility support that IKEv1 lacks, while AES256 provides the highest encryption strength available, ensuring data confidentiality and integrity. On the Microsoft Azure Security Engineer Associate AZ-500 exam, this scenario tests your understanding of Azure VPN gateway configuration and the security policy requirements for site-to-site tunnels—a common trap is choosing IKEv1 with AES128, which is weaker and outdated. Remember the memory tip: “Two-Fifty-Six is the strongest mix”—IKEv2 paired with AES256 always wins for maximum security.

AZ-500 Secure networking Practice Question

This AZ-500 practice question tests your understanding of secure networking. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is setting up a site-to-site VPN between an on-premises network and an Azure virtual network using an Azure VPN gateway. The security policy mandates that the VPN tunnel must use the strongest available encryption and authentication. Which IPsec/IKE parameter combination should they configure on both sides?

Question 1mediummultiple choice
Read the full VPN explanation →

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

IKEv2 with AES256

Option A is correct because IKEv2 is the most secure and modern IPsec/IKE protocol, supporting stronger encryption algorithms like AES256. AES256 provides the highest level of encryption strength among the options, meeting the mandate for the strongest available encryption and authentication. IKEv2 also offers improved resilience and security features over IKEv1, such as built-in NAT traversal and mobility support.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • IKEv2 with AES256

    Why this is correct

    This combination offers the strongest encryption and key exchange protocol supported by Azure VPN Gateway.

    Related concept

    Read the scenario before looking for a memorised answer.

  • IKEv1 with DES

    Why it's wrong here

    DES is a weak encryption algorithm and IKEv1 is less secure than IKEv2.

  • IKEv2 with 3DES

    Why it's wrong here

    3DES is considered weak and deprecated; AES is stronger.

  • IKEv1 with AES128

    Why it's wrong here

    IKEv1 is less secure than IKEv2, and AES128 is weaker than AES256.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume IKEv2 is always the best choice regardless of the encryption algorithm, but the question specifically requires the strongest encryption, so AES256 is mandatory, not just IKEv2.

Detailed technical explanation

How to think about this question

Azure VPN Gateway supports multiple IPsec/IKE policies, and for the strongest security, you should configure a custom policy with IKEv2, AES256 for encryption, SHA256 or SHA384 for integrity, and DH Group 14 or higher for Perfect Forward Secrecy (PFS). Under the hood, IKEv2 uses fewer message exchanges than IKEv1 (4 vs 6 messages) and supports EAP authentication, making it more efficient and secure. In a real-world scenario, organizations handling sensitive data (e.g., financial or healthcare) must enforce AES256 to comply with regulations like HIPAA or GDPR.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-500 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-500 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-500 question test?

Secure networking — This question tests Secure networking — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: IKEv2 with AES256 — Option A is correct because IKEv2 is the most secure and modern IPsec/IKE protocol, supporting stronger encryption algorithms like AES256. AES256 provides the highest level of encryption strength among the options, meeting the mandate for the strongest available encryption and authentication. IKEv2 also offers improved resilience and security features over IKEv1, such as built-in NAT traversal and mobility support.

What should I do if I get this AZ-500 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This AZ-500 practice question is part of Courseiva's free Microsoft 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 AZ-500 exam.