AWS Certified SysOps Administrator – Associate (legacy) — Question 161
An organization is measuring the latency of an application every minute and storing data inside a file in the JSON format. The organization wants to send all latency data to AWS CloudWatch. How can the organization achieve this?
Answer options
- A. The user has to parse the file before uploading data to CloudWatch
- B. It is not possible to upload the custom data to CloudWatch
- C. The user can supply the file as an input to the CloudWatch command
- D. The user can use the CloudWatch Import command to import data from the file to CloudWatch
Correct answer: C
Explanation
The correct answer is C, as it allows the user to directly supply the file containing the latency data to the CloudWatch command for processing. Option A is incorrect because parsing is not necessary if the file is formatted correctly for input. Option B is also wrong since AWS CloudWatch does support custom data uploads. Option D is incorrect because there isn't a specific 'CloudWatch Import' command available for such tasks.