What is the maximum size limit of user data that you can pass to an EC2 instances?

User data is limited to 16 KB.

What is cron and how it works?

Cron is a time-based job scheduler in linux platform and It is used to automatically run scripts or commands at specified times and intervals.
One job is created, It constantly checks a list of scheduled tasks (cron jobs) and When the system time matches the time defined in a job, cron executes it automatically.

* * * * * command_to_run
│ │ │ │ │
│ │ │ │ └── Day of the week (0 - 7) (Sunday is 0 or 7)
│ │ │ └───── Month (1 - 12)
│ │ └──────── Day of the month (1 - 31)
│ └─────────── Hour (0 - 23)
└────────────── Minute (0 - 59)

Can you define Retension rule in life cycle manager?

A retention rule tells Lifecycle Manager how many backups to retain, or for how long, based on your policy.

what resources does AWS life cycle manager manage?

1. Amazon EBS Snapshots
2. Amazon Machine Images (AMIs)
3. Cross account copy

What is AWS life cycle manager?

It's a policy that automates the creation, retention, and deletion of EBS snapshots and EBS-backed AMIs.