Zach Galifianakis landed the interview of his life for his online mock talk show, "Between Two Ferns" -- President Barack Obama.

The U.S. leader appeared on the program, which was filmed at the White House, to promote the new health insurance law, the Affordable Care Act, also dubbed "Obamacare." The six-and-a-half-minute video was posted on the website of Funny or Die on Tuesday, March 11. "Between Two Ferns" showcases the "Hangover" actor and alternative comedian's notorious dry sense of humor and sees him baiting guests with seemingly candid questions and quips.

"Sorry I had to cancel a few times -- my mouse pad broke last week and I had to get my great-aunt some diabetes shoes," Galifianakis deadpanned.

"You know what, Zach, it's no problem," Obama replies, firing back: "I mean, I have to say when I heard that like people actually watch this show I was actually pretty surprised."

Galifianakis asks him hard-hitting questions about topics such as pardoning turkeys on Thanksgiving and former NBA star Dennis Rodman's trip to North Korea.

"What's it like to be the last black president?" Galifianakis asked.

"Seriously? What's it like for this to be that last time you ever talk to a president?" Obama replied.

The two continue bantering playfully -- the president makes fun of Galifianakis being seemingly overshadowed by Bradley Cooper in the "Hangover" movies, Galifianakis jokingly asks if he will have his presidential library built in Hawaii or his "home country of Kenya" -- before Obama starts talking about the Affordable Care Act.

"Yeah, I heard about that. That's the thing that doesn't work?" Galifianakis says, referring to the problems affecting government websites that allow people to sign up for healthcare plans.

Obama says the system works and starts listing different ways to acquire healthcare before Galifianakis shows him what he says are spider bites.

They shake hands in the end.

"Seriously, watch the spider bite," Galifianakis says.

"That's the other hand," Obama replies.

"No, it's everywhere," the actor says.

UPDATES: White House, GOP respond

The interview actually took place in the Diplomatic Reception Room of the White House on Feb. 24, according to the White House website.

In a press briefing on Tuesday, White House Press Secretary Jay Carney said the "Between Two Ferns" interview was a creative and effective way to promote ObamaCare to young adults, adding that the clip was the "number one referral" to HealthCare.gov that morning, according to Fox News.

The Associated Press reported that when asked whether some presidential dignity was compromised, Carney told reporters: "We obviously assess opportunities that we have and, you know, look at whether they're going to be successful and wise ... And I think we made the right call here."