Data Engineering

Python ขั้นสูงสำหรับ Data Engineering

OOP, decorators, generators, context managers, typing, async/await, modules, virtual environments

25 คำถามสัมภาษณ์·
Junior
1

Class ใน Python คืออะไร?

คำตอบ

Class คือพิมพ์เขียว (blueprint) ที่กำหนดโครงสร้างและพฤติกรรมของ object โดยจะห่อหุ้มข้อมูล (attributes) และฟังก์ชัน (methods) ที่ทำงานกับข้อมูลนั้น Class ช่วยให้สร้าง instance หลายตัวที่มีโครงสร้างเดียวกันแต่มีค่าต่างกันได้ ซึ่งเป็นพื้นฐานของการเขียนโปรแกรมเชิงวัตถุ

2

บทบาทของ method __init__ ใน Python class คืออะไร?

คำตอบ

Method __init__ คือ constructor ของ Python class จะถูกเรียกอัตโนมัติเมื่อสร้าง instance ใหม่ และช่วยให้เริ่มต้น attributes ของ object ด้วยค่าที่กำหนด method นี้จะรับ self เป็นพารามิเตอร์แรกเสมอ ซึ่งอ้างอิงถึง instance ที่กำลังถูกสร้าง

3

ความแตกต่างระหว่าง instance method และ class method ใน Python คืออะไร?

คำตอบ

Instance method รับ self และทำงานบน instance เฉพาะ ในขณะที่ class method (decorate ด้วย @classmethod) รับ cls และทำงานบน class นั้นเอง class method มีประโยชน์สำหรับการสร้าง factory methods หรือแก้ไข class attributes ที่ใช้ร่วมกันโดยทุก instance

4

Decorator ใน Python คืออะไร?

5

วิธีสร้าง decorator ที่รับ arguments ทำอย่างไร?

+22 คำถามสัมภาษณ์

หัวข้อสัมภาษณ์ Data Engineering อื่นๆ

Linux & Shell - พื้นฐาน

Junior
20 คำถาม

Git & GitHub - พื้นฐาน

Junior
20 คำถาม

Docker - พื้นฐาน

Junior
25 คำถาม

Google Cloud Platform - พื้นฐาน

Junior
20 คำถาม

CI/CD และคุณภาพโค้ด

Mid-Level
20 คำถาม

Docker Compose

Mid-Level
20 คำถาม

FastAPI - Data API

Mid-Level
20 คำถาม

SQL ขั้นสูงสำหรับ Data Engineering

Mid-Level
20 คำถาม

Data Lake - สถาปัตยกรรมและการนำเข้าข้อมูล

Mid-Level
20 คำถาม

BigQuery สำหรับ Data Engineering

Mid-Level
20 คำถาม

PostgreSQL - การดูแลระบบ

Mid-Level
20 คำถาม

Data Modeling สำหรับ Data Engineering

Mid-Level
20 คำถาม

Fivetran & Airbyte - การนำเข้าข้อมูล

Mid-Level
20 คำถาม

dbt - พื้นฐาน

Mid-Level
20 คำถาม

Apache Airflow - พื้นฐาน

Mid-Level
20 คำถาม

Kubernetes - พื้นฐาน

Mid-Level
20 คำถาม

dbt - ฟีเจอร์ขั้นสูง

Senior
20 คำถาม

รูปแบบ ETL / ELT / ETLT

Senior
20 คำถาม

Apache Airflow - ขั้นสูง

Senior
20 คำถาม

Airflow + dbt - การจัดการ Pipeline

Senior
20 คำถาม

PySpark - การประมวลผลขนาดใหญ่

Senior
20 คำถาม

Google Pub/Sub - การสตรีมข้อมูล

Senior
20 คำถาม

Apache Beam & Dataflow

Senior
20 คำถาม

Kubernetes - Production และ Scaling

Senior
20 คำถาม

Terraform - Infrastructure as Code

Senior
20 คำถาม

ฐานข้อมูล NoSQL

Senior
20 คำถาม

Data Architecture สมัยใหม่

Senior
20 คำถาม

การมอนิเตอร์และการสังเกตการณ์

Senior
20 คำถาม

IAM และความปลอดภัยของข้อมูล

Senior
20 คำถาม

เชี่ยวชาญ Data Engineering สำหรับการสัมภาษณ์ครั้งถัดไป

เข้าถึงคำถามทั้งหมด flashcards แบบทดสอบเทคนิค แบบฝึกหัด code review และตัวจำลองสัมภาษณ์

เริ่มใช้ฟรี