Which task can a user complete by using AWS Identity and Access Management (IAM)?
Validate JSON syntax from an application configuration file.
Analyze logs from an Amazon API Gateway call.
Filter traffic to or from an Amazon EC2 instance.
Grant permissions to applications that run on Amazon EC2 instances.
Explanations:
AWS IAM does not validate JSON syntax; it is a service focused on managing access and permissions.
Analyzing logs from Amazon API Gateway involves monitoring and logging services, not IAM, which does not handle log analysis.
Filtering traffic to/from EC2 instances is managed through security groups and network access control lists, not IAM.
IAM allows users to grant permissions to applications running on EC2 instances through IAM roles, which control access to AWS resources.