An AWS Glue Spark batch job has widely varying parallelism across stages and runs with enough scheduling slack to tolerate delayed starts and interruptions. The job supports both Flex execution and Auto Scaling; which configuration BEST reduces compute costs without changing its transformations?
Show the answer
Correct answerB. Flex execution with Auto Scaling enabled
AWhy not this: Auto Scaling addresses changing demand, but Standard execution misses the savings available through Flex.
BWhy this is right: Flex suits delay-tolerant processing, and Auto Scaling reduces excess workers during lower-demand stages.
CWhy not this: Standard pricing and a fixed worker allocation miss both available cost optimizations.
DWhy not this: Flex reduces the compute rate, but a fixed worker allocation retains excess capacity during lower-demand stages.
Flex execution offers lower-cost compute for time-flexible jobs, while Auto Scaling adjusts workers as demand changes. Standard execution with Auto Scaling addresses variable demand but does not provide Flex execution's pricing benefit.