Bird
0
0

Which JSON field is required to define a task state in an AWS Step Functions state machine?

easy📝 Configuration Q12 of 15
AWS - Serverless Architecture
Which JSON field is required to define a task state in an AWS Step Functions state machine?
A"Timeout" specifying the maximum execution time
B"Retry" specifying the retry policy
C"InputPath" specifying the input data format
D"Resource" specifying the ARN of the task to run
Step-by-Step Solution
Solution:
  1. Step 1: Identify the key field for task execution

    The "Resource" field is mandatory in a task state to specify which AWS service or Lambda function to invoke.
  2. Step 2: Understand other fields

    "Timeout", "InputPath", and "Retry" are optional fields that control behavior but are not required to define a task.
  3. Final Answer:

    "Resource" specifying the ARN of the task to run -> Option D
  4. Quick Check:

    Task state needs "Resource" [OK]
Quick Trick: "Resource" points to the task to run [OK]
Common Mistakes:
  • Confusing optional fields with required ones
  • Using "Timeout" as a required field
  • Forgetting to specify the task ARN

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes