A lot of it is luck and executing on the roadmap and pivot if the feature fails.
My question to the startup experience HN crowd is: What would be the right questions to ask before joining a startup to gauge the success and failure possibilities in the future?