Pegasystems interview question

No Pseudo code/ All working code. (Interview duration was 1 hr) 1. Write an express server code in codepen from the start which takes url as a param of its header and returns the responses. 2. Write native promise polyfill using javascript. 3. Write custom hooks. (Started writing in the right direction and he stopped immediately) 4. I will disable all the storage of the browser and destroy the JWT token each time and I do not want anyone to login each time. How would you architect to protect it? 5. Upcoming features of Webpack5 7. Write state management tool in Angular (like redux for react) 8. Write Okta based security system. 9. Do you know SQL. (Told no , scaring he will ask me to write mysql itself) 10. How Node server works. 11. Why did u use Sitecore why not AWS-S3 as content management system.