Exam Code: A00-420
Exam Questions: 291
SAS Viya Intermediate Programming
Updated: 24 Jul, 2026
Viewing Page : 1 - 30
Practicing : 1 - 5 of 291 Questions
Question 1

When setting up a data step in a SAS Viya environment, your code needs to read a database table hosted on a remote server, which is registered as a library in SAS Viya's library manager. What would be the appropriate LIBNAME statement to ensure that your data step can access this table?

Options :
Answer: B

Question 2

Assume that you are working with a large dataset in CAS, and you have a need to create a flag variable that indicates whether certain criteria are met. This flag is based on a calculation that you do not want to repeat in multiple places throughout your DATA step code. How can the `computedVarsProgram=` parameter be utilized to optimize performance and maintainability?


Options :
Answer: A

Question 3

You are working on a project with a dataset named `sales` in the SAS Viya environment. You have been tasked to create a new dataset `luxury_sales` that includes records of luxury items with a price greater than $10,000. You decide to use the `WHERE=` subparameter in your code to filter the dataset. What is the correct way to apply the `WHERE=` subparameter to achieve this?

Options :
Answer: B

Question 4

You have a dataset that includes a character column named 'char_income' which contains numeric values formatted as strings, such as "34500", "29800", etc. You need to convert this to a numeric column 'num_income' to perform calculations. Which code snippet would correctly perform this conversion?


Options :
Answer: A

Question 5

When using SAS Viya, you want to perform a linear regression analysis on a dataset stored in the cloud. You decide to use an action from the 'regression' action set. Which of the following actions should you invoke to perform this task using a CAS session?


Options :
Answer: C

Viewing Page : 1 - 30
Practicing : 1 - 5 of 291 Questions

© Copyrights FreePDFQuestions 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.