PAS-C01 · Question #1
A company has deployed SAP workloads on AWS. The AWS Data Provider for SAP is installed on the Amazon EC2 instance where the SAP application is running. An SAP solutions architect has attached an…
The correct answer is B. Add the cloudwatch:GetMetricStatistics action to the policy statement with Sid AWSDataProvider1. The AWS Data Provider for SAP collects performance metrics from AWS services (like EC2, EBS, and CloudWatch) and surfaces them to SAP applications such as SAP HANA. To retrieve historical metric data points from CloudWatch, the IAM policy must include the…
Question
A company has deployed SAP workloads on AWS. The AWS Data Provider for SAP is installed on the Amazon EC2 instance where the SAP application is running. An SAP solutions architect has attached an IAM role to the EC2 instance with the following policy:
The AWS Data Provider for SAP is not returning any metrics to the SAP application. Which change should the SAP solutions architect make to the IAM permissions to resolve this issue?
Options
- AAdd the cloudwatch:ListMetrics action to the policy statement with Sid AWSDataProvider1.
- BAdd the cloudwatch:GetMetricStatistics action to the policy statement with Sid AWSDataProvider1.
- CAdd the cloudwatch:GetMetricStream action to the policy statement with Sid AWSDataProvider1.
- DAdd the cloudwatch:DescribeAlarmsForMetric action to the policy statement with Sid
How the community answered
(43 responses)- A9% (4)
- B72% (31)
- C16% (7)
- D2% (1)
Explanation
The AWS Data Provider for SAP collects performance metrics from AWS services (like EC2, EBS, and CloudWatch) and surfaces them to SAP applications such as SAP HANA. To retrieve historical metric data points from CloudWatch, the IAM policy must include the cloudwatch:GetMetricStatistics action, which is the API call used to fetch time-series data for a specific metric. Without this permission, the Data Provider can neither retrieve nor return metric values to SAP. cloudwatch:ListMetrics (A) only enumerates available metric names but does not fetch data. cloudwatch:GetMetricStream (C) is for real-time metric streaming infrastructure and is unrelated to the Data Provider's polling behavior. cloudwatch:DescribeAlarmsForMetric (D) is used for alarm management, not metric retrieval. Adding GetMetricStatistics resolves the missing metrics issue.
Topics
Community Discussion
No community discussion yet for this question.