Bird
0
0

Which of the following is the correct JSON syntax to specify the STANDARD_IA storage class when uploading an object using AWS SDK?

easy📝 Syntax Q3 of 15
AWS - S3 Fundamentals
Which of the following is the correct JSON syntax to specify the STANDARD_IA storage class when uploading an object using AWS SDK?
A{ "StorageClass": "STANDARD_IA" }
B{ StorageClass: 'STANDARD_IA' }
C{ 'StorageClass': 'STANDARD_IA' }
D{ 'storage_class': 'STANDARD_IA' }
Step-by-Step Solution
Solution:
  1. Step 1: Recall JSON syntax rules

    JSON keys and string values must be double-quoted.
  2. Step 2: Check options for valid JSON

    { "StorageClass": "STANDARD_IA" } uses double quotes correctly for key and value.
  3. Final Answer:

    { "StorageClass": "STANDARD_IA" } -> Option A
  4. Quick Check:

    Valid JSON requires double quotes [OK]
Quick Trick: JSON keys and strings need double quotes [OK]
Common Mistakes:
MISTAKES
  • Using single quotes in JSON
  • Using incorrect key names
  • Omitting quotes around keys or values

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes