Which action do you perform using an activity task? Connect a step in your workflow to a…
- User
Which action do you perform using an activity task?
Connect a step in your workflow to a supported Amazon Web Services (AWS) service.
Assign a specific step in your workflow to code running somewhere else.
Filter the JavaScript Object Notation (JSON) code passed between states.
Limit the permissions on who can access the AWS Step Functions console.
- Assistant
The correct answer is:
Assign a specific step in your workflow to code running somewhere else.
Explanation:
In AWS Step Functions, an activity task is used to assign a step in your workflow to be performed by a worker (code running outside of Step Functions, such as on an Amazon EC2 instance, AWS Lambda function, or on-premises server). The worker polls Step Functions for tasks, performs the work, and then returns the result.
Other options explained:
- Connect a step in your workflow to a supported AWS service: This is done using service integrations, not activity tasks.
- Filter the JavaScript Object Notation (JSON) code passed between states: This is done using InputPath, OutputPath, and ResultPath.
- Limit the permissions on who can access the AWS Step Functions console: This is managed using AWS Identity and Access Management (IAM) policies.
So, the best choice is:
Assign a specific step in your workflow to code running somewhere else.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.