A SAS developer automates CI/CD for model retraining by using the SAS Viya REST API to submit a job when new data arrives. Which SAS Viya service endpoint is used to submit a SAS program as a batch job?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — b is correct because the SAS Job Execution Service accepts job submissions via POST /jobExecution/jobs, which reference a job definition (the SAS program to execute) and run it as a batch job asynchronously. A is wrong; POST /cas/sessions creates a CAS session, not a batch job.
Full explanation below image
Full Explanation
B is correct because the SAS Job Execution Service accepts job submissions via POST /jobExecution/jobs, which reference a job definition (the SAS program to execute) and run it as a batch job asynchronously. A is wrong; POST /cas/sessions creates a CAS session, not a batch job. C is wrong; POST /compute/sessions creates an interactive compute session. D is wrong; PUT /modelRepository/models/{id} updates model metadata, not a retraining job.