You can also get triangles from the bevel tool, but when it comes to n-gons, it’s quite common when beveling a single edge:

I believe the bevel tool video is the only one out of the options that warns about creating n-gons, so the question should match up with the lessons.