As a developer, you need to create a custom action written in Python. Which action type should you choose?
As a developer, you need to create a custom action written in Python. Which action type should you choose?
Suggested Answer: D
Get Premium GH-200 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
A Docker container action is ideal for custom actions that require specific environments or dependencies, such as Python. By creating a Docker container, you can define the environment with the necessary Python version and dependencies, and your Python code can run inside that container.
30 comments · newest first
JO
Joaquin
8 months ago
C) Python action is straightforward. Less overhead!
MI
Mike
8 months ago
I feel like B) composite run step could work too, but Python is easier.
SU
Sueann
8 months ago
True, but it complicates things. Keep it simple with Python.
RO
Rodney
8 months ago
But what about D) Docker container action? It offers flexibility.
JE
Jenifer
8 months ago
I think C) Python action is the best choice.
CE
Ceola
8 months ago
Hmm, Docker container action sounds interesting, but is it really necessary?
AN
Antonio
9 months ago
C) is the obvious choice, no doubt about it!
NI
Nichelle
9 months ago
Wait, why would anyone choose A) JavaScript action for Python?
TA
Tammi
9 months ago
C) Python action is the correct answer. Duh!
CA
Carma
10 months ago
Haha, A) JavaScript action? Really? C) Python action is the only option.
AS
Ashton
10 months ago
I'm going with C) Python action. Can't go wrong with that.
EL
Elina
10 months ago
Definitely C) Python action. That's the obvious choice here.
PA
Paul
10 months ago
I’m leaning towards C) Python action too, but I wonder if D) Docker container action could also be a valid choice depending on the context.
CA
Carma
10 months ago
I feel like I’ve seen a similar question before, and it was about choosing the right action type based on the programming language.
RI
Rikki
10 months ago
I'm not entirely sure, but I remember something about composite run steps being used for combining actions.
ME
Melissia
11 months ago
I think the answer might be C) Python action since it specifically mentions Python.
CA
Carli
11 months ago
Based on the question, I think C is the way to go. Python actions are made for custom Python code, so that should be the best fit for this scenario.
FL
Florinda
11 months ago
I'm a little confused by the options. Are the other action types, like Docker container, also able to run Python code? I want to make sure I pick the most appropriate one.
TE
Tesha
11 months ago
I think B) composite run step could work too.
PE
Penney
11 months ago
Definitely go with C) Python action.
LA
Lavera
11 months ago
C) Python action is the way to go!
TA
Tammy
12 months ago
Option C looks good to me. Python actions are designed specifically for custom code written in Python, so that seems like the logical choice.
MA
Margret
12 months ago
Agreed! Python is perfect for custom actions.
SA
Salena
1 year ago
Hmm, I'm a bit unsure here. I'll need to double-check the differences between the action types to make sure I select the right one for a Python-based custom action.
FI
Filiberto
1 year ago
I think I'll go with option C. Python actions seem like the most straightforward choice for a custom Python-based action.
AN
Annmarie
7 months ago
Plus, you can leverage all Python libraries!
EL
Eladia
7 months ago
I like how straightforward they are.
TA
Tammi
7 months ago
Python actions are so easy to implement.
TY
Tyra
7 months ago
Definitely! It's designed for that purpose.
AN
Annmarie
7 months ago
I agree, Python action is the way to go!