Effects on AMPK and mTOR: Fasting vs Keto

I read from premier 52 that fasting has good effect on ampk and extending life span but …does keto have the same effect? Or fasting is enough ?just trying to find the difference between fasting and keto !on the brain and health