AZ-120 practice question 21 of 35

You are deploying an SAP environment on Azure that will use an SAP HANA database server. You provision an Azure virtual machine for SAP HANA by using…

Full set: 324 questions

Domain Design and implement an infrastructure to support SAP workloads on Azure

You are deploying an SAP environment on Azure that will use an SAP HANA database server. You provision an Azure virtual machine for SAP HANA by using the M64s virtual machine SKU. You need to set the swap space by using the Microsoft Azure Linux Agent (waagent) configuration file. Which two settings should you configure? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Answer options
A: ResourceDisk.EnableSwapEncryption=n
B: AutoUpdate.Enabled=n
C: ResourceDisk.SwapSizeMB=229376 Correct answer
D: ResourceDisk.EnableSwap=y Correct answer
Correct Answer:
C. ResourceDisk.SwapSizeMB=229376; D. ResourceDisk.EnableSwap=y
Explanation

To configure swap space for an SAP HANA virtual machine on Azure using the Azure Linux Agent, you must modify its configuration file, /etc/waagent.conf. The two essential parameters for this task are ResourceDisk.EnableSwap and ResourceDisk.SwapSizeMB. ResourceDisk.EnableSwap=y activates the creation of a swap file on the temporary resource disk attached to the VM. Without this setting enabled, no swap file will be created by the agent. ResourceDisk.SwapSizeMB specifies the exact size of the swap file in megabytes. This parameter allows you to define the required swap space according to SAP's recommendations for the specific workload. Both settings are required to successfully provision the swap space.

Why Incorrect

A. ResourceDisk.EnableSwapEncryption=n: This setting controls the encryption of the swap file, not its creation or size. It is a secondary, optional configuration.
B. AutoUpdate.Enabled=n: This parameter manages the automatic updates for the Azure Linux Agent itself and is unrelated to disk or swap space configuration.

References

1. Microsoft Docs

Understand and use the Azure Linux Agent: This document details the configuration options in /etc/waagent.conf.

Section: Resource disk management

Parameter: ResourceDisk.EnableSwap: "If this option is set to y

a swap file is created on the resource disk and mounted to the system."

Section: Resource disk management

Parameter: ResourceDisk.SwapSizeMB: "The size of the swap file in megabytes."

2. Microsoft Docs

SAP workload on Azure virtual machine supported scenarios: This guide discusses storage and configuration for SAP workloads.

Section: SAP HANA on Azure virtual machines: "The Azure Linux Agent (waagent) can configure a swap file on the temporary disk that's attached to VMs. For more information

see the Azure Linux Agent user guide." This confirms that waagent is the correct tool for this task.

3. SAP Note 1999997 - FAQ: SAP HANA Memory (SAP S-user ID required): This official SAP note provides the guidelines for swap space configuration for SAP HANA systems

which informs the value that would be set for ResourceDisk.SwapSizeMB. While the note recommends a small 2 GB swap

the question focuses on the configuration parameters

not the specific value.

Scroll to Top