Complete the command to create a resource from a file.
kubectl [1] -f resource.yamlThe kubectl create command creates a new resource from the file.
Complete the command to update or create a resource from a file.
kubectl [1] -f resource.yamlThe kubectl apply command updates the resource if it exists or creates it if it does not.
Fix the error in the command to update a resource using a file.
kubectl [1] -f resource.yamlTo update a resource from a file, kubectl apply is the correct command.
Fill both blanks to create a resource and then update it.
kubectl [1] -f resource.yaml kubectl [2] -f resource.yaml
First, use create to make the resource. Then use apply to update it.
Fill all three blanks to explain the difference between create and apply.
kubectl [1] creates a resource and fails if it [2]. kubectl [3] updates or creates the resource.
kubectl create makes a resource but fails if it exists. kubectl apply updates or creates the resource.
