An account-vending workflow calls AWS Organizations CreateAccount and immediately deploys baseline resources, causing intermittent failures because account creation is still underway. How should the workflow determine when to proceed?
Show the answer
Correct answerA. Poll DescribeCreateAccountStatus until the request state is SUCCEEDED.
AWhy this is right: The status API reports whether the specific account-creation request has completed successfully.
BWhy not this: The initial API event records submission of the asynchronous request, not successful account creation.
CWhy not this: Account names are not unique, and a listing is not the completion signal for the specific creation request.
DWhy not this: OU policy attachments do not indicate whether an asynchronous account-creation request has completed.
CreateAccount is asynchronous. Use its request ID with DescribeCreateAccountStatus and wait for SUCCEEDED before continuing; a CloudTrail record of the initial API request confirms submission, not completion.