Which of the following best describes the capabilities of a vector in a programming environment?
Allows only sequential access to its elements
Has a fixed capacity that cannot be exceeded
Stores elements based on a key and allows for element retrieval by key
Dynamically resizes to accommodate new elements