Rep. Alexandria Ocasio-Cortez credited her time as a bartender for sharpening her “BS detector” after she was praised for her probing questions to President Trump’s former lawyer Michael Cohen at a congressional hearing Wednesday.

“Bartending + waitressing (especially in NYC) means you talk to 1000s of people over the years. Forces you to get great at reading people + hones a razor-sharp BS detector,” the freshman lawmaker wrote on her Twitter account hours after the hearing ended. “Just goes to show that what some consider to be ‘unskilled labor’ can actually be anything but.”

Ocasio-Cortez, a self-described Democratic socialist, was responding to a tweet that wondered if she was a former prosecutor because of her focused line of questioning at the House Oversight Committee hearing.

“I always entertained law school, but couldn’t afford it. So now I’m learning in the job :),” she said in another posting.

Ocasio-Cortez also thanked the people who worked “tirelessly” behind the scenes to help prepare her.

In a tweet Thursday morning, she took a shot at conservatives who criticized her for paying her staff a starting salary of $52,000.

“I wonder if after yesterday’s hearing conservatives still think my staff is ‘overpaid,'” she wrote.

During her five-minute questioning of Cohen at the panel, she focused on Trump’s finances and how he allegedly manipulated his income to reduce his taxes and about the millions in taxpayer money that went into the construction of his golf course in the Bronx.

Ocasio-Cortez, 29, worked as a bartender and waitress at Flats Fix, a Mexican restaurant in Union Square.

She defeated longtime pol Joe Crowley in last June’s Democratic primary election to win a seat in the House.