
Ultimate access to all questions.
In the process of configuring redirection rules for an Application Load Balancer, a developer has encountered a code snippet related to this task. To proceed efficiently using the AWS Command Line Interface (CLI), the developer needs to implement a specific type of condition.
Which of the following represents a valid query string condition that the developer can implement using the AWS CLI?
A
[ { "Field": "query-string", "QueryStringConfig": { "Values": [ { "Key": "version", "Value": "v1" }, { "Value": "example" } ] } } ]
B
[ { "Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "Host": "#{host}", "Path": "/#{path}", "Query": "#{query}", "StatusCode": "HTTP_301" } } ]_
C
[ { "Field": "query-string", "PathPatternConfig": { "Values": ["/img/"] } } ]
D
[ { "Field": "query-string", "StringHeaderConfig": { "Values": [".example.com"] } } ]