An organization has a web server that needs to be reachable via both 'www.example.com' and 'example.com'. Which DNS record type should be used to make 'example.com' an alias for 'www.example.com'?
A CNAME record maps one DNS name to another canonical name, so querying example.com returns www.example.com's records. This satisfies the stem's requirement for an alias rather than a duplicate A record, letting both hostnames resolve to the same web server without maintaining separate IP entries.
Why this answer
A CNAME record creates an alias that points to the canonical name. The A record points to an IP address, not another domain.