Cka exam preapration

Hi,
I created one deployment with recorded and verify the rollout command that would error thrown .
$kubectl run webapp --image=nginx:1.17.1 --record
Created
$kubectl rollout history deploy webapp
Error fro the server (Not Found): deployments.apps “webapp” not found.
please helpme.

My concern
I used create a pod imperative method
$kubectl run --image=

also I used created the deployment
$kubectl create deployment --image=

kubectl run is no longer create a deployment it creates a pod,
check the updated command below :

kubectl create deployment nginx --image=nginx