D-ECS-DS-23 · Question #172
Which two HTTP methods does S3 API use on ECS? (Select 2)
The correct answer is A. OPTIONS C. HEAD. OPTIONS and HEAD are both legitimate HTTP methods supported by the S3 API on ECS. OPTIONS is used for CORS preflight requests, allowing clients to check what methods and headers are permitted before sending actual requests. HEAD retrieves an object's metadata (headers) without…
Question
Which two HTTP methods does S3 API use on ECS? (Select 2)
Options
- AOPTIONS
- BUPLOAD
- CHEAD
- DUPDATE
How the community answered
(21 responses)- A90% (19)
- B5% (1)
- D5% (1)
Explanation
OPTIONS and HEAD are both legitimate HTTP methods supported by the S3 API on ECS. OPTIONS is used for CORS preflight requests, allowing clients to check what methods and headers are permitted before sending actual requests. HEAD retrieves an object's metadata (headers) without downloading the object body - useful for checking existence, size, or content type efficiently.
UPLOAD (B) is not a real HTTP method; uploading objects to S3 uses PUT instead. UPDATE (D) is also not a valid HTTP method - modifications in S3 are handled by replacing objects via PUT, since S3 object storage is not transactionally updatable like a database.
Memory tip: Stick to the standard HTTP method vocabulary - GET, PUT, POST, DELETE, HEAD, OPTIONS, PATCH. Any exam choice that sounds like an action but isn't on that list (UPLOAD, UPDATE, DOWNLOAD, FETCH) is almost certainly a distractor.
Topics
Community Discussion
No community discussion yet for this question.