Add the oil, vinegar, salt, and pepper to a mason jar. Seal tightly with a lid and shake until emulsified. Alternatively, you can blend in a small blender or whisk them together in a small bowl.
Put the cabbage and carrots in a large bowl. Drizzle the dressing over them. Stir until well combined. Serve immediately.