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 questionsDomain Design and implement an infrastructure to support SAP workloads on Azure
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.
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.
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.
Keep practicing
Take the free AZ-120 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-120 practice questions
- Question 1You have highly available deployment of SAP NetWeaver on Azure that uses a third-party so…
- Question 4You plan to migrate an SAP HANA instance to Azure. You need to gather CPU metrics from th…
- Question 5You have an Azure subscription. You plan to deploy an SAP landscape that will store /sapm…
- Question 7You are evaluating which migration method Litware can implement based on the current envi…
- Question 8You have an SAP production landscape on-premises and an SAP development landscape on Azur…
- Question 12You have an Azure subscription that contains a virtual machine named VM1. VM1 runs SUSE L…
