Blockchain & Web3

DeFi Protocols

6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.

  • What is a flash-loan-driven oracle manipulation attack on a DeFi protocol, and how would you design the price feed to resist it? Mid level
  • What makes a flash loan possible, what is it legitimately used for, and why does it turn a thin on-chain price feed into a critical vulnerability?Go Pro Senior level
  • How does an automated market maker like Uniswap set the price of a token, and why might a liquidity provider end up with less value than if they'd just held the two tokens?Go Pro Junior level
  • On a lending protocol like Aave, why do you have to deposit collateral worth more than what you borrow, and what is the health factor protecting against?Go Pro Junior level
  • How does a constant-product AMM like Uniswap set its price, and why do liquidity providers face impermanent loss?Go Pro Mid level
  • How does an automated market maker price a swap, and how does concentrated liquidity change the impermanent-loss trade-off a liquidity provider faces?Go Pro Senior level
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.