Apple Interview Question

how would u automate an infra