A user has two EC2 instances running in two separate regions. The user is running an internal
memory
management tool, which captures the data and sends it to CloudWatch in US East, using a CLI
with the same namespace and metric. Which of the below mentioned options is true with respect
to the above statement?
A.
The setup will not work as CloudWatch cannot receive data across regions
B.
CloudWatch will receive and aggregate the data based on the namespace and metric
C.
CloudWatch will give an error since the data will conflict due to two sources
D.
CloudWatch will take the data of the server, which sends the data first
Explanation:
Amazon CloudWatch does not differentiate the source of a metric when receiving custom data. If
the user is publishing a metric with the same namespace and dimensions from different sources,
CloudWatch will treat them as a single metric. If the data is coming with the same timezone within
a minute, CloudWatch will aggregate the data. It treats these as a single metric, allowing the user
to get the statistics, such as minimum, maximum, average, and the sum of all across all servers.
B
B
Answer: B
Explanation:
Amazon CloudWatch does not differentiate the source of a metric when receiving custom data. If the
user is publishing a metric with the same namespace and dimensions from different sources,
CloudWatch will treat them as a single metric. If the data is coming with the same timezone within a
minute, CloudWatch will aggregate the data. It treats these as a single metric, allowing the user to
get the statistics, such as minimum, maximum, average, and the sum of all across all servers.