Prepare the pasta according to the package instructions for al dente. Halfway through cooking, reserve 6 ounces of pasta water.
While the macaroni is cooking, add the extra virgin olive oil to a large skillet or pot and bring to high heat. Next, add the garlic and onion and sauté for 3 minutes, mixing occasionally.
Next, add the peas and sauté for 5 minutes, mixing occasionally. Next, add the mushrooms, salt, and ground black pepper and sauté for 5 minutes, mixing occasionally.
Finally, add the pasta water and cooked pasta and cook for 2 minutes, mixing occasionally.
Place the peas and mushrooms pasta in a large serving bowl and sprinkle with grated cheese (optional).
