ですか」「はい、そうです

Are you ...? / Is it ...? — Yes, that’s right.

→ だ
phrase Rare #38,504
Are you ...? / Is it ...? — Yes, that’s right. A common question-and-answer pattern. Replace the part before ですか with the person or thing being asked about.
JA: 「あなたは教師ですか」「はい、そうです」
EN: “Are you a teacher?” “Yes, that’s right.”

「もしもし、ブラウンさんですか」「はい、そうです」

“Hello, is this Mr. Brown?” “Yes, speaking.”

「あなた達は学生ですか」「はい、そうです」

“Are you students?” “Yes, we are.”

「あなたは教師ですか」「はい、そうです」

“Are you a teacher?” “Yes, I am.”

「これらはあなたの車ですか」「はい、そうです」

“Are these your cars?” “Yes, they are.”

「君は日本人の学生ですか」「はい、そうです」

“Are you a Japanese student?” “Yes, I am.”